Messages in this thread Patch in this message | | | Date | Wed, 16 Jun 2004 21:49:19 +0200 | From | Sam Ravnborg <> | Subject | Re: [PATCH 0/5] kbuild |
| |
What about this much simpler approach?
One extra assignment for each architecture added to get access to the kernel image (at least the default one) for that architecture.
The sole purpose for this is to pass info what kernel image should be included in a deb, rpm or tar.gz package.
Sam
===== arch/arm/Makefile 1.66 vs edited ===== --- 1.66/arch/arm/Makefile 2004-05-12 23:55:05 +02:00 +++ edited/arch/arm/Makefile 2004-06-16 21:47:11 +02:00 @@ -130,6 +130,7 @@ all: zImage boot := arch/arm/boot +KERNEL_IMAGE := $(boot)/zImage # Update machine arch and proc symlinks if something which affects # them changed. We use .arch to indicate when they were updated ===== arch/i386/Makefile 1.68 vs edited ===== --- 1.68/arch/i386/Makefile 2004-06-01 00:18:41 +02:00 +++ edited/arch/i386/Makefile 2004-06-16 21:43:50 +02:00 @@ -120,6 +120,7 @@ zdisk bzdisk fdimage fdimage144 fdimage288 install all: bzImage +KERNEL_IMAGE := $(boot)/bzImage BOOTIMAGE=arch/i386/boot/bzImage zImage zlilo zdisk: BOOTIMAGE=arch/i386/boot/zImage ===== arch/ppc/Makefile 1.50 vs edited ===== --- 1.50/arch/ppc/Makefile 2004-06-09 10:52:22 +02:00 +++ edited/arch/ppc/Makefile 2004-06-16 21:44:01 +02:00 @@ -49,6 +49,7 @@ .PHONY: $(BOOT_TARGETS) all: zImage +KERNEL_IMAGE := arch/ppc/boot/images/zImage AFLAGS_vmlinux.lds.o := -Upowerpc - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |