aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/synopsys/nsim/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/synopsys/nsim/config.mk')
-rw-r--r--roms/u-boot/board/synopsys/nsim/config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/roms/u-boot/board/synopsys/nsim/config.mk b/roms/u-boot/board/synopsys/nsim/config.mk
new file mode 100644
index 000000000..40f9578a2
--- /dev/null
+++ b/roms/u-boot/board/synopsys/nsim/config.mk
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2020 Synopsys, Inc. All rights reserved.
+
+# CONFIG_NSIM_BOARD_CPPFLAGS is a string variable which comes from defconfig
+# with double quotes. We use echo to remove them so CONFIG_NSIM_BOARD_CPPFLAGS
+# won't be treated by compiler as a single option.
+PLATFORM_CPPFLAGS += $(shell echo $(CONFIG_NSIM_BOARD_CPPFLAGS))