From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Thu, 27 Jan 2011 00:22:46 +0100 Subject: [U-Boot] [PATCH 05/13] fix "depend" target in npe directory In-Reply-To: <20110125204233.D328AB187@gemini.denx.de> References: <1294062338-21084-1-git-send-email-michael@schwingen.org> <1294062338-21084-6-git-send-email-michael@schwingen.org> <20110125204233.D328AB187@gemini.denx.de> Message-ID: <4D40ACC6.5060806@discworld.dascon.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 01/25/2011 09:42 PM, schrieb Wolfgang Denk: > Dear Michael Schwingen, > > In message <1294062338-21084-6-git-send-email-michael@schwingen.org> you wrote: >> Signed-off-by: Michael Schwingen >> --- >> 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