examples: move api/ and standalone/ entry to examples/Makefile

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
Masahiro Yamada
2014-02-04 17:24:36 +09:00
committed by Tom Rini
parent 433b2f1e5a
commit cbce795e5e
4 changed files with 10 additions and 12 deletions

9
examples/Makefile Normal file
View File

@@ -0,0 +1,9 @@
ifndef CONFIG_SANDBOX
ifdef FTRACE
subdir-ccflags-y += -finstrument-functions -DFTRACE
endif
subdir-y += standalone
subdir-$(CONFIG_API) += api
endif

View File

@@ -4,10 +4,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
ifdef FTRACE
ccflags-y += -finstrument-functions -DFTRACE
endif
ifeq ($(ARCH),powerpc)
LOAD_ADDR = 0x40000
endif

View File

@@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
ifdef FTRACE
ccflags-y += -finstrument-functions -DFTRACE
endif
extra-y := hello_world
extra-$(CONFIG_SMC91111) += smc91111_eeprom
extra-$(CONFIG_SMC911X) += smc911x_eeprom