[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: makefile vs. kernels



I intend to apply the following Makefile patch this afternoon if no 
one objects. This will revert the kernel installation behavior to 
r12246, which Thiemo suggests is correct, includes support for 
EXTRANAME, and which fixes m68k's build problem.

Thanks,

Stephen


Index: Makefile
===================================================================
--- Makefile	(revision 12496)
+++ Makefile	(working copy)
@@ -586,8 +588,8 @@
 	gzip -v9f $(TEMP)/initrd
 
 # raw kernel images
-$(KERNEL): $(TEMP)/$$(@F)
-	install -m 644 -D $< $@
+$(KERNEL): $(TEMP_KERNEL)
+	install -m 644 -D $(TEMP)/$(shell echo ./$@ |sed 's,$(SOME_DEST)/$(EXTRANAME),,') $@
 	./update-manifest $@ $(MANIFEST-KERNEL)
 
 $(TEMP_KERNEL): $(STAMPS)tree-unpack-$(targetstring)-stamp

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: