aboutsummaryrefslogtreecommitdiffstats
path: root/config/x86_32.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/x86_32.mk')
-rw-r--r--config/x86_32.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/x86_32.mk b/config/x86_32.mk
index 2d460a720a..4a0490afa8 100644
--- a/config/x86_32.mk
+++ b/config/x86_32.mk
@@ -1,9 +1,17 @@
CONFIG_X86 := y
+CONFIG_X86_$(XEN_OS) := y
+
CONFIG_HVM := y
CONFIG_MIGRATE := y
CONFIG_XCUTILS := y
CONFIG_IOEMU := y
-CONFIG_MBOOTPACK := y
CFLAGS += -m32 -march=i686
LIBDIR := lib
+
+# Use only if calling $(LD) directly.
+ifeq ($(XEN_OS),OpenBSD)
+LDFLAGS_DIRECT += -melf_i386_obsd
+else
+LDFLAGS_DIRECT += -melf_i386
+endif