aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-23 14:37:23 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-07 08:58:41 +0200
commitf6c3f830a0a5ff16bb2bb6831a6b82ad73f95c20 (patch)
tree6fba764bd20bddf36c1243ac8ccc30fb07163379 /target/linux/oxnas/image/Makefile
parentdafda4b7f8852ba85d0235c180eb7790d5a1a531 (diff)
downloadupstream-f6c3f830a0a5ff16bb2bb6831a6b82ad73f95c20.tar.gz
upstream-f6c3f830a0a5ff16bb2bb6831a6b82ad73f95c20.tar.bz2
upstream-f6c3f830a0a5ff16bb2bb6831a6b82ad73f95c20.zip
oxnas: install kernel binaries into bin/ for use with external storage
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/oxnas/image/Makefile')
-rw-r--r--target/linux/oxnas/image/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile
index 1d075cfb32..42bbbc826e 100644
--- a/target/linux/oxnas/image/Makefile
+++ b/target/linux/oxnas/image/Makefile
@@ -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