kernel build cleanup
[openwrt/svn-archive/archive.git] / include / image.mk
index 9c170af11bc64f34b8f2427e3c18cd90d50d8370..78e1a2fdc80562cc20f0efbb72d4376b21301b09 100644 (file)
@@ -61,8 +61,10 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
                tar -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
     endef
   endif
-  
-  
+else
+  define Image/BuildKernel
+       cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux.elf
+  endef
 endif