[U-Boot] [PATCH] Fix compile error in .depend not being generated correctly

Kumar Gala galak at kernel.crashing.org
Fri Dec 11 03:00:31 CET 2009


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
In file included from biosemu.c:50:
biosemui.h:47:21: error: biosemu.h: No such file or directory
In file included from besys.c:51:
biosemui.h:47:21: error: biosemu.h: No such file or directory
In file included from bios.c:45:
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
x86emu/ops2.c:45:28: error: x86emu/x86emui.h: No such file or directory
x86emu/ops.c:76:28: error: x86emu/x86emui.h: No such file or directory
x86emu/prim_ops.c:103:28: error: x86emu/x86emui.h: No such file or
directory
x86emu/sys.c:43:28: error: x86emu/x86emui.h: No such file or directory
x86emu/debug.c:42: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 at kernel.crashing.org>
---
 drivers/bios_emulator/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile
index dd9c102..feba4da 100644
--- a/drivers/bios_emulator/Makefile
+++ b/drivers/bios_emulator/Makefile
@@ -23,6 +23,7 @@ EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
 
 CFLAGS += $(EXTRA_CFLAGS)
 HOSTCFLAGS += $(EXTRA_CFLAGS)
+CPPFLAGS += $(EXTRA_CFLAGS)
 
 all:	$(LIB)
 
-- 
1.6.0.6



More information about the U-Boot mailing list