xref: /rk3399_rockchip-uboot/examples/Makefile (revision 6aa65bb1ee0951865e27da81dde1de76c6d4687e)
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