summaryrefslogtreecommitdiffstats
path: root/examples/standalone/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-04 17:24:23 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:07:50 -0500
commitd958002589cb724907e8d4360d546403d1e6b7d8 (patch)
tree9c9098186384c86c90e80c3db0f64e9c4b191080 /examples/standalone/Makefile
parente0d5d9f8887e5f80f6df4ff20bb1816a7edefd39 (diff)
downloadblackbird-obmc-uboot-d958002589cb724907e8d4360d546403d1e6b7d8.tar.gz
blackbird-obmc-uboot-d958002589cb724907e8d4360d546403d1e6b7d8.zip
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>
Diffstat (limited to 'examples/standalone/Makefile')
-rw-r--r--examples/standalone/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index cad440954e..1f8d70ce8a 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -5,6 +5,10 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef FTRACE
+CFLAGS += -finstrument-functions -DFTRACE
+endif
+
extra-y := hello_world
extra-$(CONFIG_SMC91111) += smc91111_eeprom
extra-$(CONFIG_SMC911X) += smc911x_eeprom
OpenPOWER on IntegriCloud