vmlinux is not an object file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ti-omap4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Mac OS X, building the source for version linux-ti-omap4 3.2.0-1433.44, results in the following error:
$ make ARCH=arm CROSS_COMPILE=
CHK include/
CHK include/
make[1]: `include/
CALL scripts/
CHK include/
CHK kernel/
Kernel: arch/arm/boot/Image is ready
size: file: arch/arm/
size: file: arch/arm/
size: file: arch/arm/
size: file: arch/arm/
LD arch/arm/
arch/arm/
make[2]: *** [arch/arm/
make[1]: *** [arch/arm/
make: *** [uImage] Error 2
This is due to modification of the file "arch/arm/
The problem is fixed by a 1-line revert in the makefile (see below).
diff --git a/arch/
index 21f56ff..efb0172 100644
--- a/arch/
+++ b/arch/
@@ -126,7 +126,7 @@ ccflags-y := -fpic -fno-builtin -I$(obj)
asflags-y := -Wa,-march=all
# Supply kernel BSS size to the decompressor via a linker symbol.
-KBSS_SZ = $(shell size $(obj)/
+KBSS_SZ = $(shell $(CROSS_
LDFLAGS_vmlinux = --defsym _kernel_
# Supply ZRELADDR to the decompressor via a linker symbol.
ifneq ($(CONFIG_
tags: | added: patch |