This fixes a build race (make -j2):

make: *** No rule to make target 
`/home/rmh/hacking/linuxbios/LinuxBIOSv3/build/stage0-prefixed.o', \
  needed by `/home/rmh/hacking/linuxbios/LinuxBIOSv3/build/linuxbios.initram'.  
Stop.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Signed-off-by: Robert Millan <[EMAIL PROTECTED]>

Index: arch/x86/Makefile
===================================================================
--- arch/x86/Makefile	(revision 551)
+++ arch/x86/Makefile	(working copy)
@@ -135,7 +135,7 @@
 	      $(patsubst %,$(obj)/arch/x86/%,$(STAGE0_CAR_OBJ)) \
 	      $(STAGE0_MAINBOARD_OBJ) $(STAGE0_CHIPSET_OBJ)
 
-$(obj)/stage0.o $(obj)/stage0.init: $(STAGE0_OBJ)
+$(obj)/stage0.o $(obj)/stage0.init $(obj)/stage0-prefixed.o: $(STAGE0_OBJ)
 	$(Q)# We need to be careful. If stage0.o gets bigger than
 	$(Q)# 0x4000 - 0x100, we will end up with a 4 gig file.
 	$(Q)# I wonder if that behavior is on purpose.
-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to