xref: /rk3399_rockchip-uboot/examples/Makefile (revision 6aa65bb1ee0951865e27da81dde1de76c6d4687e)
1da58dec8STom Rini#
2da58dec8STom Rini# SPDX-License-Identifier:	GPL-2.0+
3da58dec8STom Rini#
4da58dec8STom Rini
5cbce795eSMasahiro Yamadaifndef CONFIG_SANDBOX
6cbce795eSMasahiro Yamada
7cbce795eSMasahiro Yamadaifdef FTRACE
8cbce795eSMasahiro Yamadasubdir-ccflags-y += -finstrument-functions -DFTRACE
9cbce795eSMasahiro Yamadaendif
10cbce795eSMasahiro Yamada
11*6aa65bb1SJoseph Chen# Here is an compile issue: "undefined reference to `__aeabi_unwind_cpp_pr0'..."
12*6aa65bb1SJoseph Chen# when -funwind-tables is enabled, so make it compile depends on -funwind-tables.
13*6aa65bb1SJoseph Chenifeq (,$(findstring -funwind-tables,$(PLATFORM_CPPFLAGS)))
14cbce795eSMasahiro Yamadasubdir-y += standalone
15cbce795eSMasahiro Yamadasubdir-$(CONFIG_API) += api
16cbce795eSMasahiro Yamadaendif
17*6aa65bb1SJoseph Chenendif
18