bcm4908: rename bootfs dummy file to the 1-openwrt

The purpose of that dummy file is to make CFE work properly with OpenWrt
bootfs. CFE for some reason ignores JFFS2 files with ino 0.

Rename it to 1-openwrt so:
1. It's consistent with bcm63xx
2. It's OpenWrt specific so sysupgrade can distinguish it from vendor
   images

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Rafał Miłecki 2021-04-06 00:03:31 +02:00 committed by maurerr
parent 1704279cac
commit 695b05b296

View File

@ -15,7 +15,7 @@ define Build/bcm4908img
rm -fr $@-bootfs rm -fr $@-bootfs
mkdir -p $@-bootfs mkdir -p $@-bootfs
cp -r $(DEVICE_NAME)/* $@-bootfs/ cp -r $(DEVICE_NAME)/* $@-bootfs/
touch $@-bootfs/1-dummy touch $@-bootfs/1-openwrt
cp $(DTS_DIR)/$(firstword $(DEVICE_DTS)).dtb $@-bootfs/94908.dtb cp $(DTS_DIR)/$(firstword $(DEVICE_DTS)).dtb $@-bootfs/94908.dtb
cp $(KDIR)/bcm63xx-cfe/$(subst _,$(comma),$(DEVICE_NAME))/cferam.000 $@-bootfs/ cp $(KDIR)/bcm63xx-cfe/$(subst _,$(comma),$(DEVICE_NAME))/cferam.000 $@-bootfs/
cp $(IMAGE_KERNEL) $@-bootfs/vmlinux.lz cp $(IMAGE_KERNEL) $@-bootfs/vmlinux.lz