From 4423b2753f27cdb4d5daf3d1fa91ec79a7724ba1 Mon Sep 17 00:00:00 2001 From: Tomasz Maciej Nowak Date: Wed, 25 Nov 2020 17:10:05 +0100 Subject: tegra: image: remove unnecessary assumptions from bootscript 'bootz' expects gziped kernel image anyway, so hard-code it to zImage, and remove root path from 'load' commands, by default the files are searched in root directory. This will make the bootscript static, so the command which modified it when image was created can now be removed. Signed-off-by: Tomasz Maciej Nowak --- target/linux/tegra/image/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/tegra/image/Makefile') diff --git a/target/linux/tegra/image/Makefile b/target/linux/tegra/image/Makefile index fbff1cf6e8..71a5fc581d 100644 --- a/target/linux/tegra/image/Makefile +++ b/target/linux/tegra/image/Makefile @@ -14,10 +14,9 @@ define Build/tegra-sdcard $(if $(DEVICE_DTS),\ $(foreach dtb,$(DEVICE_DTS),$(CP) $(DTS_DIR)/$(dtb).dtb $@.boot), \ $(CP) $(DTS_DIR)/*.dtb $@.boot) - sed -e 's#@KERNEL@#$(KERNEL_NAME)#g' $(BOOT_SCRIPT) > $@-boot.scr mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ -n '$(DEVICE_TITLE) OpenWrt bootscript' \ - -d $@-boot.scr \ + -d $(BOOT_SCRIPT) \ $@.boot/boot.scr SIGNATURE="$(IMG_PART_SIGNATURE)" \ -- cgit v1.2.3