mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-26 16:42:47 +00:00
kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images
depending on KERNEL_IN_UBI, the image.mk will create a ubi volume for the kernel Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49009
This commit is contained in:
parent
ef75442989
commit
1b9c171f88
@ -10,7 +10,7 @@ NAND_BLOCKSIZE := 2048-128k
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/image.mk
|
||||
|
||||
DEVICE_VARS += DEVICE_DTS KERNEL_SIZE PAGESIZE BLOCKSIZE SUBPAGESIZE
|
||||
DEVICE_VARS += DEVICE_DTS KERNEL_SIZE PAGESIZE BLOCKSIZE SUBPAGESIZE KERNEL_IN_UBI
|
||||
KERNEL_LOADADDR:=0x8000
|
||||
TARGET_DEVICES = linksys-audi linksys-viper
|
||||
|
||||
@ -18,6 +18,21 @@ define Device/Default
|
||||
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
|
||||
KERNEL := kernel-bin | append-dtb | uImage none
|
||||
KERNEL_NAME := zImage
|
||||
KERNEL_IN_UBI :=
|
||||
endef
|
||||
|
||||
define Device/dockstar
|
||||
DEVICE_DTS := kirkwood-dockstar
|
||||
PAGESIZE := 2048
|
||||
SUBPAGESIZE := 512
|
||||
BLOCKSIZE := 128KiB
|
||||
FILESYSTEMS := squashfs
|
||||
PROFILES := Generic DOCKSTAR
|
||||
IMAGES := factory.bin sysupgrade.tar
|
||||
IMAGE/factory.bin := append-ubi
|
||||
IMAGE/sysupgrade.tar := sysupgrade-nand
|
||||
KERNEL_IN_UBI := 1
|
||||
KERNEL := kernel-bin | append-dtb
|
||||
endef
|
||||
|
||||
define Device/linksys-audi
|
||||
|
Loading…
Reference in New Issue
Block a user