kernel build cleanup
[openwrt/svn-archive/archive.git] / target / linux / atheros-2.6 / image / Makefile
index dfd1746fd3db01404dd771de604831a446cf2a5b..1d32a4bd46e2482be08a620d26b9106a7927babc 100644 (file)
@@ -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