aboutsummaryrefslogtreecommitdiff
path: root/sim/common/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/local.mk')
-rw-r--r--sim/common/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/local.mk b/sim/common/local.mk
index debb55d..32b5db6 100644
--- a/sim/common/local.mk
+++ b/sim/common/local.mk
@@ -20,7 +20,8 @@
AM_CPPFLAGS += \
-I$(srcdir)/%D% \
- -DSIM_COMMON_BUILD
+ -DSIM_TOPDIR_BUILD
+AM_CPPFLAGS_%C% = -DSIM_COMMON_BUILD
AM_CPPFLAGS_FOR_BUILD += -I$(srcdir)/%D%
## This makes sure common parts are available before building the arch-subdirs