summaryrefslogtreecommitdiffstats
path: root/drivers/bios_emulator/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-11-07 22:46:22 +0100
committerWolfgang Denk <wd@denx.de>2008-12-07 01:29:31 +0100
commit1cb82a9207a550557399eabc7fe47f21bbd9ddf8 (patch)
tree9df13dd30f69b13e8901a24ee2bbc8a6abf17703 /drivers/bios_emulator/Makefile
parentbcdf1d2cf6b24fb905fd7da80da4b3c65a7995b5 (diff)
downloadblackbird-obmc-uboot-1cb82a9207a550557399eabc7fe47f21bbd9ddf8.tar.gz
blackbird-obmc-uboot-1cb82a9207a550557399eabc7fe47f21bbd9ddf8.zip
drivers/bios_emulator: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/bios_emulator/Makefile')
-rw-r--r--drivers/bios_emulator/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile
index 90c64dad60..c73da97b47 100644
--- a/drivers/bios_emulator/Makefile
+++ b/drivers/bios_emulator/Makefile
@@ -6,7 +6,7 @@ X86DIR = x86emu
$(shell mkdir -p $(obj)$(X86DIR))
-COBJS = atibios.o biosemu.o besys.o bios.o \
+COBJS-$(CONFIG_BIOSEMU) = atibios.o biosemu.o besys.o bios.o \
$(X86DIR)/decode.o \
$(X86DIR)/ops2.o \
$(X86DIR)/ops.o \
@@ -14,6 +14,7 @@ COBJS = atibios.o biosemu.o besys.o bios.o \
$(X86DIR)/sys.o \
$(X86DIR)/debug.o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
OpenPOWER on IntegriCloud