aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-02 17:24:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-02 17:24:20 +0000
commit91e5dba2c76d9185cc06c32feb51b8b0d1c310ca (patch)
tree33c544be12c7aaaaff28f785b5ae40263645fe9a /target/linux
parent983544f859e946494b3029a41bb7880b93c46037 (diff)
downloadupstream-91e5dba2c76d9185cc06c32feb51b8b0d1c310ca.tar.gz
upstream-91e5dba2c76d9185cc06c32feb51b8b0d1c310ca.tar.bz2
upstream-91e5dba2c76d9185cc06c32feb51b8b0d1c310ca.zip
kernel build cleanup
SVN-Revision: 6464
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/atheros-2.6/image/Makefile4
-rw-r--r--target/linux/rb532-2.6/image/Makefile1
2 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/atheros-2.6/image/Makefile b/target/linux/atheros-2.6/image/Makefile
index dfd1746fd3..1d32a4bd46 100644
--- a/target/linux/atheros-2.6/image/Makefile
+++ b/target/linux/atheros-2.6/image/Makefile
@@ -7,10 +7,6 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
-define Image/Prepare
- cp $(KDIR)/linux-*/vmlinux $(KDIR)/vmlinux.elf
-endef
-
define Image/BuildKernel
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux.elf
gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
diff --git a/target/linux/rb532-2.6/image/Makefile b/target/linux/rb532-2.6/image/Makefile
index b35b0b1e7b..e6794c036d 100644
--- a/target/linux/rb532-2.6/image/Makefile
+++ b/target/linux/rb532-2.6/image/Makefile
@@ -31,7 +31,6 @@ endef
define Image/Prepare
cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile
- $(KERNEL_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.elf
endef
define Image/BuildKernel