make -j12 all fails in uImage target
Olaf Hering
olh at suse.de
Mon Feb 7 19:29:48 EST 2005
On Sun, Feb 06, Sam Ravnborg wrote:
> Something like this may do the trick:
>
> $(obj)/images: $(addprefix $(obj)/,$(subdir-y) $(bootdir-y))
> $(Q)$(MAKE) $(build)=$@
>
> And then delete the assignment of images to subdir-y
That still doesnt work right, I touched one .c file which lead to a new
vmlinux, now zImage.rs6k is too small:
diff -purNx tags ../linux-2.6.11-rc3.orig/arch/ppc/boot/Makefile ./arch/ppc/boot/Makefile
--- ../linux-2.6.11-rc3.orig/arch/ppc/boot/Makefile 2005-02-03 02:56:10.000000000 +0100
+++ ./arch/ppc/boot/Makefile 2005-02-07 09:24:38.713179331 +0100
@@ -17,8 +17,10 @@ BOOT_TARGETS = zImage zImage.initrd znet
bootdir-y := simple
bootdir-$(CONFIG_PPC_OF) += openfirmware
-subdir-y := lib common images
+subdir-y := lib common
subdir-$(CONFIG_PPC_OF) += of1275
+$(obj)/images: $(addprefix $(obj)/,$(subdir-y) $(bootdir-y))
+ $(Q)$(MAKE) $(build)=$@
# for cleaning
subdir- += simple openfirmware
CHK include/linux/version.h
make[2]: `arch/ppc/kernel/asm-offsets.s' is up to date.
CHK include/asm-ppc/offsets.h
CHK usr/initramfs_list
CHK include/linux/compile.h
CC arch/ppc/platforms/chrp_nvram.o
LD arch/ppc/platforms/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/ppc/boot/images/vmlinux.bin
GZIP arch/ppc/boot/images/vmlinux.gz
AS arch/ppc/boot/simple/head.o
AS arch/ppc/boot/simple/relocate.o
CC arch/ppc/boot/simple/prepmap.o
GEN arch/ppc/boot/openfirmware/image.o
CC arch/ppc/boot/simple/misc.o
GEN arch/ppc/boot/images/miboot.image
COFF arch/ppc/boot/openfirmware/coffboot
ELF arch/ppc/boot/images/vmlinux.elf-pmac
CHRP arch/ppc/boot/images/zImage.chrp
CC arch/ppc/boot/simple/misc-prep.o
CC arch/ppc/boot/simple/mpc10x_memory.o
COFF arch/ppc/boot/images/vmlinux.coff
ADDNOTE arch/ppc/boot/images/zImage.chrp-rs6k
kernel: zImage is ready (arch/ppc/boot/images/vmlinux.coff)
...
../O-2.6.11-rc3-b50/arch/ppc/boot/images/:
total 6.2M
drwxr-xr-x 2 olaf users 496 2005-02-07 09:26 ./
drwxr-xr-x 9 olaf users 224 2005-02-07 09:25 ../
-rw-r--r-- 1 olaf users 256 2005-02-07 09:26 .uImage.cmd
-rw-r--r-- 1 olaf users 100 2005-02-07 09:26 .vmlinux.bin.cmd
-rw-r--r-- 1 olaf users 119 2005-02-07 09:26 .vmlinux.gz.cmd
-rw-r--r-- 1 olaf users 49K 2005-02-07 09:26 miboot.image
-rwxr-xr-x 1 olaf users 2.8M 2005-02-07 09:26 vmlinux.bin*
-rwxr-xr-x 1 olaf users 79K 2005-02-07 09:26 vmlinux.coff*
-rwxr-xr-x 1 olaf users 146K 2005-02-07 09:26 vmlinux.elf-pmac*
-rw-r--r-- 1 olaf users 1.3M 2005-02-07 09:26 vmlinux.gz
-rwxr-xr-x 1 olaf users 575K 2005-02-07 09:26 zImage.bugboot*
-rwxr-xr-x 1 olaf users 146K 2005-02-07 09:26 zImage.chrp*
-rw-r--r-- 1 olaf users 146K 2005-02-07 09:26 zImage.chrp-rs6k
-rwxr-xr-x 1 olaf users 639K 2005-02-07 09:26 zImage.elf*
lrwxrwxrwx 1 olaf users 12 2005-02-07 09:26 zImage.pmac -> vmlinux.coff*
-rwxr-xr-x 1 olaf users 576K 2005-02-07 09:26 zImage.prep*
More information about the Linuxppc-dev
mailing list