aboutsummaryrefslogtreecommitdiff
path: root/release/arm/BEAGLEBONE.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm/BEAGLEBONE.conf')
-rw-r--r--release/arm/BEAGLEBONE.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf
index f5d8189c63da..87d2ffe7a6da 100644
--- a/release/arm/BEAGLEBONE.conf
+++ b/release/arm/BEAGLEBONE.conf
@@ -18,8 +18,8 @@ NODOC=1
arm_install_uboot() {
UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-beaglebone"
- 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}