mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 08:12:06 +02:00
Makefile: move some flags to examples makefiles
This commit moves some flags which are used under examples/ directory only. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
committed by
Tom Rini
parent
e0d5d9f888
commit
d958002589
@@ -102,14 +102,6 @@ CFLAGS := $(KBUILD_CFLAGS) $(CPPFLAGS)
|
||||
|
||||
BCURDIR = $(subst $(SRCTREE)/,,$(CURDIR:$(obj)%=%))
|
||||
|
||||
ifeq ($(findstring examples/,$(BCURDIR)),)
|
||||
ifeq ($(CONFIG_SPL_BUILD),)
|
||||
ifdef FTRACE
|
||||
CFLAGS += -finstrument-functions -DFTRACE
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
AFLAGS := $(KBUILD_AFLAGS) $(CPPFLAGS)
|
||||
|
||||
LDFLAGS += $(PLATFORM_LDFLAGS)
|
||||
|
Reference in New Issue
Block a user