aboutsummaryrefslogtreecommitdiff
path: root/release/arm/RPI2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm/RPI2.conf')
-rw-r--r--release/arm/RPI2.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/arm/RPI2.conf b/release/arm/RPI2.conf
index 7de718835c6d..aadd4582a9c3 100644
--- a/release/arm/RPI2.conf
+++ b/release/arm/RPI2.conf
@@ -20,8 +20,8 @@ arm_install_uboot() {
UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-rpi2"
UBOOT_FILES="bootcode.bin config.txt fixup.dat fixup_cd.dat \
fixup_x.dat start.elf start_cd.elf start_x.elf u-boot.bin"
- FATMOUNT="${DESTDIR}/fat"
- UFSMOUNT="${DESTDIR}/ufs"
+ FATMOUNT="${DESTDIR##${KERNEL}}/fat"
+ UFSMOUNT="${DESTDIR##${KERNEL}}/ufs"
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT}