diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-11-07 22:46:22 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-07 01:29:31 +0100 |
commit | 1cb82a9207a550557399eabc7fe47f21bbd9ddf8 (patch) | |
tree | 9df13dd30f69b13e8901a24ee2bbc8a6abf17703 /drivers/bios_emulator/Makefile | |
parent | bcdf1d2cf6b24fb905fd7da80da4b3c65a7995b5 (diff) | |
download | u-boot-imx-1cb82a9207a550557399eabc7fe47f21bbd9ddf8.zip u-boot-imx-1cb82a9207a550557399eabc7fe47f21bbd9ddf8.tar.gz u-boot-imx-1cb82a9207a550557399eabc7fe47f21bbd9ddf8.tar.bz2 |
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/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile index 90c64da..c73da97 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)) |