diff options
author | Stacey Son <sson@FreeBSD.org> | 2014-06-08 09:57:22 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-11 00:25:06 +0100 |
commit | adfc3e91e2e2293ae667f606d3449b855940fe41 (patch) | |
tree | 1b1c0f6d83b9464eaac0def4812891d5e2644036 /Makefile.target | |
parent | 7224f66ec3c5a51bdfa96a6686efba917b289fc7 (diff) |
bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code
This change adds HOST_VARIANT_DIR so the various BSD OS dependent
code can be separated into its own directories rather than
using #ifdef's.
This may also allow an BSD variant OS to host another BSD variant's
executable as a target.
Signed-off-by: Sean Bruno <sbruno@freebsd.org>
Message-id: 1402246651-71099-2-git-send-email-sbruno@freebsd.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target index 8155496eaa..422328314a 100644 --- a/Makefile.target +++ b/Makefile.target @@ -102,7 +102,8 @@ endif #CONFIG_LINUX_USER ifdef CONFIG_BSD_USER -QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ABI_DIR) +QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ABI_DIR) \ + -I$(SRC_PATH)/bsd-user/$(HOST_VARIANT_DIR) obj-y += bsd-user/ obj-y += gdbstub.o user-exec.o |