examples: move api/ and standalone/ entry to examples/Makefile
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
433b2f1e5a
commit
cbce795e5e
5
Makefile
5
Makefile
@ -570,11 +570,8 @@ SUBDIRS = $(SUBDIR_TOOLS)
|
|||||||
|
|
||||||
.PHONY : $(SUBDIRS) $(VERSION_FILE) $(TIMESTAMP_FILE)
|
.PHONY : $(SUBDIRS) $(VERSION_FILE) $(TIMESTAMP_FILE)
|
||||||
|
|
||||||
SUBDIR_EXAMPLES-y := examples/standalone
|
SUBDIR_EXAMPLES-y := examples
|
||||||
SUBDIR_EXAMPLES-$(CONFIG_API) += examples/api
|
|
||||||
ifndef CONFIG_SANDBOX
|
|
||||||
SUBDIRS += $(SUBDIR_EXAMPLES-y)
|
SUBDIRS += $(SUBDIR_EXAMPLES-y)
|
||||||
endif
|
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# U-Boot objects....order is important (i.e. start must be first)
|
# U-Boot objects....order is important (i.e. start must be first)
|
||||||
|
9
examples/Makefile
Normal file
9
examples/Makefile
Normal 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
|
@ -4,10 +4,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
ifdef FTRACE
|
|
||||||
ccflags-y += -finstrument-functions -DFTRACE
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(ARCH),powerpc)
|
ifeq ($(ARCH),powerpc)
|
||||||
LOAD_ADDR = 0x40000
|
LOAD_ADDR = 0x40000
|
||||||
endif
|
endif
|
||||||
|
@ -5,10 +5,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
ifdef FTRACE
|
|
||||||
ccflags-y += -finstrument-functions -DFTRACE
|
|
||||||
endif
|
|
||||||
|
|
||||||
extra-y := hello_world
|
extra-y := hello_world
|
||||||
extra-$(CONFIG_SMC91111) += smc91111_eeprom
|
extra-$(CONFIG_SMC91111) += smc91111_eeprom
|
||||||
extra-$(CONFIG_SMC911X) += smc911x_eeprom
|
extra-$(CONFIG_SMC911X) += smc911x_eeprom
|
||||||
|
Loading…
Reference in New Issue
Block a user