aboutsummaryrefslogtreecommitdiff
path: root/sim/common/defs.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-26 23:20:46 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-10 01:15:26 -0500
commitbc438b3e5931e7af87bf51b1365d9401cd69d519 (patch)
tree97a671822dee0e75c31038258f8fd84815a059b1 /sim/common/defs.h
parent54e26255ca9e1e39b1c5d091809c3afe350c3d01 (diff)
downloadgdb-bc438b3e5931e7af87bf51b1365d9401cd69d519.zip
gdb-bc438b3e5931e7af87bf51b1365d9401cd69d519.tar.gz
gdb-bc438b3e5931e7af87bf51b1365d9401cd69d519.tar.bz2
sim: build: add basic framework for compiling arch objects in top-level
The code so far has been assuming that we only compile common/ objects. Now that we're ready to compile arch-specific objects, refactor some of the flags & checks a bit to support both.
Diffstat (limited to 'sim/common/defs.h')
-rw-r--r--sim/common/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/defs.h b/sim/common/defs.h
index bbaee4e..0f4062c 100644
--- a/sim/common/defs.h
+++ b/sim/common/defs.h
@@ -35,7 +35,7 @@
#undef PACKAGE_VERSION
/* Include common sim's various configure tests. */
-#ifndef SIM_COMMON_BUILD
+#ifndef SIM_TOPDIR_BUILD
#include "../config.h"
#else
#include "config.h"