drivers/bios_emulator: Fix compile error in .depend not being generated
authorKumar Gala <galak@kernel.crashing.org>
Wed, 16 Dec 2009 20:12:11 +0000 (14:12 -0600)
committerWolfgang Denk <wd@denx.de>
Thu, 17 Dec 2009 21:24:36 +0000 (22:24 +0100)
make -C drivers/bios_emulator/
make[2]: Entering directory
`drivers/bios_emulator'
In file included from atibios.c:49:
biosemui.h:47:21: error: biosemu.h: No such file or directory
...
x86emu/decode.c:40:28: error: x86emu/x86emui.h: No such file or directory
...

Due to lack of proper CPPFLAGS being passed to .depend generation rule

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/bios_emulator/Makefile

index dd9c102ba85bba37f6a1b8ca5cb9bab106d28698..feba4da758975086a52a1fe2ca317e00f726b80c 100644 (file)
@@ -23,6 +23,7 @@ EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
 
 CFLAGS += $(EXTRA_CFLAGS)
 HOSTCFLAGS += $(EXTRA_CFLAGS)
+CPPFLAGS += $(EXTRA_CFLAGS)
 
 all:   $(LIB)