xref: /rk3399_rockchip-uboot/examples/Makefile (revision f93178ae1e66403ffee11e75d56a89659c32e108)
1#
2# SPDX-License-Identifier:	GPL-2.0+
3#
4
5ifndef CONFIG_SANDBOX
6
7ifdef FTRACE
8subdir-ccflags-y += -finstrument-functions -DFTRACE
9endif
10
11# Here is an compile issue: "undefined reference to `__aeabi_unwind_cpp_pr0'..."
12# when -funwind-tables is enabled, so make it compile depends on -funwind-tables.
13ifeq (,$(findstring -funwind-tables,$(PLATFORM_CPPFLAGS)))
14subdir-y += standalone
15subdir-$(CONFIG_API) += api
16endif
17endif
18