aboutsummaryrefslogtreecommitdiff
path: root/release/arm/WANDBOARD-DUAL.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm/WANDBOARD-DUAL.conf')
-rw-r--r--release/arm/WANDBOARD-DUAL.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/arm/WANDBOARD-DUAL.conf b/release/arm/WANDBOARD-DUAL.conf
index c20a4a96635f..614a142edd3f 100644
--- a/release/arm/WANDBOARD-DUAL.conf
+++ b/release/arm/WANDBOARD-DUAL.conf
@@ -19,8 +19,8 @@ NODOC=1
arm_install_uboot() {
UBOOT_DIR="${CHROOTDIR}/usr/local/share/u-boot/u-boot-wandboard"
UBOOT_FILES="u-boot.imx"
- FATMOUNT="${DESTDIR}/fat"
- UFSMOUNT="${DESTDIR}/ufs"
+ FATMOUNT="${DESTDIR##${KERNEL}}/fat"
+ UFSMOUNT="${DESTDIR##${KERNEL}}/ufs"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR##${CHROOTDIR}}/${UBOOT_FILES} \
of=/dev/${mddev} bs=512 seek=2
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"