]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/Makefile
kbuild: improve Kbuild speed
[karo-tx-uboot.git] / examples / standalone / Makefile
index 5b227cd898e88bebd4969a560c42a3061f094800..7e0e5b71b60885fc85e896f635ebb51a151e2a82 100644 (file)
@@ -44,9 +44,8 @@ gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`)
 # relocatable executable.  The relocation data is not needed, and
 # also causes the entry point of the standalone application to be
 # inconsistent.
-ifeq ($(ARCH),powerpc)
-# FIX ME
-CPPFLAGS := $(filter-out $(RELFLAGS), $(CPPFLAGS))
+ifeq ($(CONFIG_PPC),y)
+PLATFORM_CPPFLAGS := $(filter-out $(RELFLAGS),$(PLATFORM_CPPFLAGS))
 endif
 
 # We don't want gcc reordering functions if possible.  This ensures that an