blob: 8919463b349ff3bd2ebcc48a85417e29350385da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File containing rootfs related tasks
# Create links to match Xilinx uboot default names
# Do this silently as they may not exist depending on configuration
# When booting with sd card, Xilinx u-boot by default expects
# the rootfs as a u-boot-mkimage wrapped file called uramdisk.image.gz,
# so for convenience symlink the ext2.gz.u-boot file.
# Confirm if all bsps need this?
SRC_MKIMAGE_ROOTFS ?= "${IMAGE_NAME}.rootfs.ext2.gz.u-boot"
SYMLINK_URAMDISK ?= "uramdisk.image.gz"
do_rootfs_append() {
cd ${DEPLOY_DIR_IMAGE}
rm -f ${SYMLINK_URAMDISK}
ln -sf ${SRC_MKIMAGE_ROOTFS} ${SYMLINK_URAMDISK}
}
|