brcm47xx: image: use append-rootfs step for per-device rootfs support
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
027b2c5b83
commit
f20ba0f0d5
@ -41,7 +41,7 @@ define trxalign/jffs2-64k
|
|||||||
-a 0x10000 -f $(KDIR)/root.$(1)
|
-a 0x10000 -f $(KDIR)/root.$(1)
|
||||||
endef
|
endef
|
||||||
define trxalign/squashfs
|
define trxalign/squashfs
|
||||||
-a 1024 -f $(KDIR)/root.$(1) $(if $(2),-f $(2)) -a 0x10000 -A $(KDIR)/fs_mark
|
-a 1024 -f $(1) $(if $(2),-f $(2)) -a 0x10000 -A $(KDIR)/fs_mark
|
||||||
endef
|
endef
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
@ -54,7 +54,7 @@ define Build/trx-with-loader
|
|||||||
-o $@.new \
|
-o $@.new \
|
||||||
-f $(KDIR)/loader.gz \
|
-f $(KDIR)/loader.gz \
|
||||||
-f $(IMAGE_KERNEL) \
|
-f $(IMAGE_KERNEL) \
|
||||||
$(call trxalign/$(FILESYSTEM),$(FILESYSTEM))
|
$(call trxalign/$(FILESYSTEM),$@)
|
||||||
mv $@.new $@
|
mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ define Build/trx-v2-with-loader
|
|||||||
-o $@.new \
|
-o $@.new \
|
||||||
-f $(KDIR)/loader.gz \
|
-f $(KDIR)/loader.gz \
|
||||||
-f $(KDIR)/vmlinux.lzma \
|
-f $(KDIR)/vmlinux.lzma \
|
||||||
$(call trxalign/$(FILESYSTEM),$(FILESYSTEM),$@.pattern)
|
$(call trxalign/$(FILESYSTEM),$@,$@.pattern)
|
||||||
mv $@.new $@
|
mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ define Build/trx-without-loader
|
|||||||
-m 33554432 \
|
-m 33554432 \
|
||||||
-o $@.new \
|
-o $@.new \
|
||||||
-f $(IMAGE_KERNEL) \
|
-f $(IMAGE_KERNEL) \
|
||||||
$(call trxalign/$(FILESYSTEM),$(FILESYSTEM))
|
$(call trxalign/$(FILESYSTEM),$@)
|
||||||
mv $@.new $@
|
mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ define Device/Default
|
|||||||
KERNEL_NAME = vmlinux.lzma
|
KERNEL_NAME = vmlinux.lzma
|
||||||
FILESYSTEMS := $(FS_64K)
|
FILESYSTEMS := $(FS_64K)
|
||||||
IMAGES := trx
|
IMAGES := trx
|
||||||
IMAGE/trx := trx-with-loader
|
IMAGE/trx := append-rootfs | trx-with-loader
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/standard
|
define Device/standard
|
||||||
@ -150,33 +150,33 @@ endef
|
|||||||
define Device/standard-noloader-gz
|
define Device/standard-noloader-gz
|
||||||
DEVICE_TITLE := Image with gzipped kernel
|
DEVICE_TITLE := Image with gzipped kernel
|
||||||
KERNEL_NAME = vmlinux.gz
|
KERNEL_NAME = vmlinux.gz
|
||||||
IMAGE/trx := trx-without-loader
|
IMAGE/trx := append-rootfs | trx-without-loader
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/standard-noloader-nodictionarylzma
|
define Device/standard-noloader-nodictionarylzma
|
||||||
DEVICE_TITLE := Image with LZMA compressed kernel matching CFE decompressor
|
DEVICE_TITLE := Image with LZMA compressed kernel matching CFE decompressor
|
||||||
KERNEL_NAME = vmlinux-nodictionary.lzma
|
KERNEL_NAME = vmlinux-nodictionary.lzma
|
||||||
IMAGE/trx := trx-without-loader
|
IMAGE/trx := append-rootfs | trx-without-loader
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/asus
|
define Device/asus
|
||||||
IMAGES := trx
|
IMAGES := trx
|
||||||
IMAGE/trx := trx-with-loader | asus-trx
|
IMAGE/trx := append-rootfs | trx-with-loader | asus-trx
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/linksys
|
define Device/linksys
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-with-loader | linksys-bin
|
IMAGE/bin := append-rootfs | trx-with-loader | linksys-bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/motorola
|
define Device/motorola
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-with-loader | motorola-bin
|
IMAGE/bin := append-rootfs | trx-with-loader | motorola-bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/netgear
|
define Device/netgear
|
||||||
IMAGES := chk
|
IMAGES := chk
|
||||||
IMAGE/chk := trx-with-loader | netgear-chk
|
IMAGE/chk := append-rootfs | trx-with-loader | netgear-chk
|
||||||
endef
|
endef
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
@ -309,7 +309,7 @@ TARGET_DEVICES += asus-wl-hdd25
|
|||||||
define Device/dlink-dwl-3150
|
define Device/dlink-dwl-3150
|
||||||
DEVICE_TITLE := D-Link DWL-3150
|
DEVICE_TITLE := D-Link DWL-3150
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-with-loader | tailed-bin
|
IMAGE/bin := append-rootfs | trx-with-loader | tailed-bin
|
||||||
BIN_TAIL := BCM-5352-2050-0000000-01
|
BIN_TAIL := BCM-5352-2050-0000000-01
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += dlink-dwl-3150
|
TARGET_DEVICES += dlink-dwl-3150
|
||||||
@ -317,7 +317,7 @@ TARGET_DEVICES += dlink-dwl-3150
|
|||||||
define Device/edimax-ps1208-mfg
|
define Device/edimax-ps1208-mfg
|
||||||
DEVICE_TITLE := Edimax PS-1208MFg
|
DEVICE_TITLE := Edimax PS-1208MFg
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-with-loader | edimax-bin
|
IMAGE/bin := append-rootfs | trx-with-loader | edimax-bin
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += edimax-ps1208-mfg
|
TARGET_DEVICES += edimax-ps1208-mfg
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ define Device/huawei-e970
|
|||||||
DEVICE_TITLE := Huawei E970
|
DEVICE_TITLE := Huawei E970
|
||||||
KERNEL_NAME = vmlinux.gz
|
KERNEL_NAME = vmlinux.gz
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-without-loader | huawei-bin
|
IMAGE/bin := append-rootfs | trx-without-loader | huawei-bin
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += huawei-e970
|
TARGET_DEVICES += huawei-e970
|
||||||
|
|
||||||
@ -349,8 +349,8 @@ define Device/linksys-wrt54g3gv2-vf
|
|||||||
DEVICE_TITLE := Linksys WRT54G3GV2-VF
|
DEVICE_TITLE := Linksys WRT54G3GV2-VF
|
||||||
FILESYSTEMS := $(FS_128K)
|
FILESYSTEMS := $(FS_128K)
|
||||||
IMAGES := noheader.bin bin
|
IMAGES := noheader.bin bin
|
||||||
IMAGE/noheader.bin := linksys-pattern-partition | trx-v2-with-loader
|
IMAGE/noheader.bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader
|
||||||
IMAGE/bin := linksys-pattern-partition | trx-v2-with-loader | linksys-bin
|
IMAGE/bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader | linksys-bin
|
||||||
DEVICE_ID := 3G2V
|
DEVICE_ID := 3G2V
|
||||||
VERSION := 3.00.24
|
VERSION := 3.00.24
|
||||||
SERIAL := 6
|
SERIAL := 6
|
||||||
@ -449,7 +449,7 @@ define Device/netgear-wgt634u
|
|||||||
DEVICE_TITLE := Netgear WGT634U
|
DEVICE_TITLE := Netgear WGT634U
|
||||||
FILESYSTEMS := $(FS_128K)
|
FILESYSTEMS := $(FS_128K)
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-with-loader | prepend-with-elf
|
IMAGE/bin := append-rootfs | trx-with-loader | prepend-with-elf
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += netgear-wgt634u
|
TARGET_DEVICES += netgear-wgt634u
|
||||||
|
|
||||||
@ -472,7 +472,7 @@ TARGET_DEVICES += netgear-wnr834b-v2
|
|||||||
define Device/usrobotics-usr5461
|
define Device/usrobotics-usr5461
|
||||||
DEVICE_TITLE := USRobotics USR5461
|
DEVICE_TITLE := USRobotics USR5461
|
||||||
IMAGES := bin
|
IMAGES := bin
|
||||||
IMAGE/bin := trx-with-loader | usrobotics-bin
|
IMAGE/bin := append-rootfs | trx-with-loader | usrobotics-bin
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += usrobotics-usr5461
|
TARGET_DEVICES += usrobotics-usr5461
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user