[U-Boot] [PATCH 05/13] fix "depend" target in npe directory
Michael Schwingen
rincewind at discworld.dascon.de
Thu Jan 27 00:22:46 CET 2011
Am 01/25/2011 09:42 PM, schrieb Wolfgang Denk:
> Dear Michael Schwingen,
>
> In message <1294062338-21084-6-git-send-email-michael at schwingen.org> you wrote:
>> Signed-off-by: Michael Schwingen <michael at schwingen.org>
>> ---
>> arch/arm/cpu/ixp/npe/Makefile | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/cpu/ixp/npe/Makefile b/arch/arm/cpu/ixp/npe/Makefile
>> index c756a1d..14ab3c7 100644
>> --- a/arch/arm/cpu/ixp/npe/Makefile
>> +++ b/arch/arm/cpu/ixp/npe/Makefile
>> @@ -27,6 +27,7 @@ LIB := $(obj)libnpe.o
>>
>> LOCAL_CFLAGS += -I$(TOPDIR)/arch/arm/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux
>> CFLAGS += $(LOCAL_CFLAGS)
>> +CPPFLAGS += $(LOCAL_CFLAGS) # needed for depend
>> HOSTCFLAGS += $(LOCAL_CFLAGS)
> It should then be possible to remove the CFLAGS line, right?
That does not seem to work - I need both. I do not have a full
understanding of the Makefile structures, but I guess the inclusion of
CPPFLAGS into CFLAGS happens before I can add to CPPFLAGS.
cu
Michael
More information about the U-Boot
mailing list