mirror of
https://gitlab.com/prpl-foundation/prplOS/feed-qca.git
synced 2025-12-20 01:21:55 +08:00
ipq95xx: Copy FIT images in the target directory
In addition of copying the SWUpdate image, also copy the FIT images of U-Boot, the Linux kernel and the rootfs generated during the build. FIT images can be useful for upgrades in U-Boot. Also rename images using `DEVICE_IMG_PREFIX` variable as a prefix. Implements: PCF-1875 Tracked-by: FEAT-29 Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
This commit is contained in:
@@ -26,7 +26,11 @@ define Build/swuimage
|
||||
fi
|
||||
cd $(STAGING_DIR_HOST)/imagegenerator && ./scripts/gen_binman.sh
|
||||
cd $(STAGING_DIR_HOST)/imagegenerator && ./scripts/gen_swu.sh
|
||||
cp $(STAGING_DIR_HOST)/imagegenerator/build/image.swu $(BIN_DIR)/prplos-$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET)-image.swu
|
||||
for image in u-boot.itb kernel.itb rootfs.itb image.swu ; do \
|
||||
if [ -f $(STAGING_DIR_HOST)/imagegenerator/build/$${image} ] ; then \
|
||||
cp $(STAGING_DIR_HOST)/imagegenerator/build/$${image} $(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$${image} ; \
|
||||
fi ; \
|
||||
done
|
||||
endef
|
||||
|
||||
define Device/SwuImage
|
||||
|
||||
Reference in New Issue
Block a user