Skip to contentSkip to conversation

fix build error

PATCH New Robert Millan 1 participant 1 message Jul 17, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix build error

This appears to be a remnant of when kqemu was non-free. It broke build for me (not sure under which conditions it can be reproduced, but the fix is obvious, see the patch).

Signature · 4 lines
Robert Millan

My spam trap is [email protected].  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
Makefile +3 -3
diff -ur kqemu-1.3.0~pre11.old/Makefile kqemu-1.3.0~pre11/Makefile
@@ -90,9 +90,9 @@
 # called from 2.6 kernel kbuild
 
 obj-m:= kqemu.o
-kqemu-objs:= kqemu-linux.o kqemu-mod.o
+kqemu-objs:= kqemu-linux.o kqemu-mod-$(ARCH).o
 
-$(obj)/kqemu-mod.o: $(src)/kqemu-mod-$(ARCH).o
-	cp $< $@
+$(obj)/kqemu-mod-$(ARCH).o:
+	$(MAKE) -C $(obj)/common
 endif
 endif # PATCHLEVEL