Skip to contentSkip to conversation

Fix compile error in .depend not being generated correctly

PATCH New Kumar Gala 2 participants 2 messages Dec 11, 2009

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 Fix compile error in .depend not being generated correctly

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

---
 drivers/bios_emulator/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/bios_emulator/Makefile +1 -0
index dd9c102..feba4da 100644
@@ -23,6 +23,7 @@ EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
 
 CFLAGS += $(EXTRA_CFLAGS)
 HOSTCFLAGS += $(EXTRA_CFLAGS)
+CPPFLAGS += $(EXTRA_CFLAGS)
 
 all:	$(LIB)
 
Signature · 1 line
1.6.0.6
#1 lore raw

PATCH 1/1 Fix compile error in .depend not being generated correctly

drivers/bios_emulator/Makefile

Quoted 2 lines · On Thursday 10 December 2009 21:00:31 Kumar Gala wrote:
drivers/bios_emulator/Makefile +0 -0

patch summary (subject) really should mention the specific region you're fixing (bios_emulator) since this isnt a tree-wide issue
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091211/807d6746/attachment.pgp