oxnas: install kernel binaries into bin/ for use with external storage
authorFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 12:37:23 +0000 (14:37 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 7 Jun 2016 06:58:41 +0000 (08:58 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/oxnas/image/Makefile

index 1d075cfb3244fffa93b48c89cdc3e3b42e7d460c..42bbbc826e953fba72ce1cdfd11453084de58959 100644 (file)
@@ -25,8 +25,11 @@ define Device/Default
   KERNEL_DEPENDS = $$(wildcard $$(DTS_DIR)/ox820-$$(DTS).dts)
   KERNEL = kernel-bin | lzma | fit lzma $$(DTS_DIR)/ox820-$$(DTS).dtb
   KERNEL_NAME := zImage
+  KERNEL_SUFFIX := -uImage
+  KERNEL_INSTALL := 1
   KERNEL_INITRAMFS = kernel-bin | lzma | fit lzma $$(DTS_DIR)/ox820-$$(DTS).dtb | ubootable
   KERNEL_INITRAMFS_PREFIX = $$(IMAGE_PREFIX)-u-boot-initramfs
+  KERNEL_INITRAMFS_SUFFIX := .bin
   BLOCKSIZE := 128KiB
   PAGESIZE := 2048
   SUBPAGESIZE := 512