diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-02 17:24:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-02 17:24:20 +0000 |
commit | 4dd22e79dbd45667b38357a18003ce3b4f2a7664 (patch) | |
tree | 401e681e44ccf666f77fde83c6a4ecfc33b6767e /include/image.mk | |
parent | 6f956457868896c619b1b2e789a3d7c67743e30f (diff) |
kernel build cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/image.mk b/include/image.mk index 9c170af11..78e1a2fdc 100644 --- a/include/image.mk +++ b/include/image.mk @@ -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 |