flash-images: u-boot dtb folder work around.

u-boot cannot find folders that are created later...
This commit is contained in:
Arne Fitzenreiter
2014-12-21 12:17:04 +01:00
parent 56e211f66e
commit 15094e71e6

View File

@@ -121,6 +121,9 @@ ifeq "$(MACHINE_TYPE)" "arm"
cp -v /boot/MLO $(MNThdd)/boot/
cp -v /boot/u-boot.img $(MNThdd)/boot/
cp -v /boot/zImage-ipfire-multi $(MNThdd)/boot/
# work around a u-boot bug not find the folders sometimes
mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-multi
mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-kirkwood
sync
umount $(MNThdd)/boot
mount $(PART_BOOT) $(MNThdd)/boot