aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-05-29 11:28:54 +0000
committerJohn Crispin <john@openwrt.org>2015-05-29 11:28:54 +0000
commita5a935b49a088410f6b8a4967a005e863818d4f0 (patch)
treedad503313f3edacaf1845b5c2a2c6222044e03a4 /target
parent12772b66fe4d4aa802c1362d7e130a9db8061303 (diff)
downloadupstream-a5a935b49a088410f6b8a4967a005e863818d4f0.tar.gz
upstream-a5a935b49a088410f6b8a4967a005e863818d4f0.tar.bz2
upstream-a5a935b49a088410f6b8a4967a005e863818d4f0.zip
brcm2708: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45824
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm2708/image/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile
index cb5acde48c..e70bdd04d8 100644
--- a/target/linux/brcm2708/image/Makefile
+++ b/target/linux/brcm2708/image/Makefile
@@ -14,15 +14,15 @@ FAT32_BLOCKS=$(shell echo $$(($(CONFIG_BRCM2708_SD_BOOT_PARTSIZE)*1024*1024/$(FA
define Image/Build/RaspberryPi
rm -f $(KDIR)/boot.img
- mkdosfs -C $(KDIR)/boot.img $(FAT32_BLOCKS)
+ mkfs.fat -C $(KDIR)/boot.img $(FAT32_BLOCKS)
# Raspberry Pi has no bootloader, instead the GPU loads and starts the kernel
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/bootcode.bin ::
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/COPYING.linux ::
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/LICENCE.broadcom ::
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/start.elf ::
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/start_cd.elf ::
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/fixup.dat ::
- mcopy -i $(KDIR)/boot.img $(BUILD_DIR)/brcm2708-gpu-fw-boot/fixup_cd.dat ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/bootcode.bin ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/COPYING.linux ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/LICENCE.broadcom ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/start.elf ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/start_cd.elf ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/fixup.dat ::
+ mcopy -i $(KDIR)/boot.img $(KDIR)/fixup_cd.dat ::
mcopy -i $(KDIR)/boot.img cmdline.txt ::
mcopy -i $(KDIR)/boot.img config.txt ::
mcopy -i $(KDIR)/boot.img $(KDIR)/Image ::kernel.img # Copy OpenWrt built kernel