aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-06-02 10:23:45 +0000
committerJonas Gorski <jogo@openwrt.org>2015-06-02 10:23:45 +0000
commit6d07290de39c8972920fa82b5d607e266cecf5b6 (patch)
treedb9806c41742b62a2fa2157fce0ad33566c93b06 /target/linux
parent913ca8200ac4ec8e642acfab1929c0946dab8be3 (diff)
downloadupstream-6d07290de39c8972920fa82b5d607e266cecf5b6.tar.gz
upstream-6d07290de39c8972920fa82b5d607e266cecf5b6.tar.bz2
upstream-6d07290de39c8972920fa82b5d607e266cecf5b6.zip
brcm63xx: fix livebox image generation
Livebox does need the uncompressed kernel, so just create it during image generation. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45875
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index cb9bf271dd..a4889c23f5 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -94,6 +94,7 @@ endef
define Image/Build/RedBootDTB
# Prepare kernel and rootfs
+ cat $(KDIR)/vmlinux $(DTS_DIR)/$(3).dtb > $(KDIR)/vmlinux-$(3)
gzip -9 -c $(KDIR)/vmlinux-$(3) > $(KDIR)/vmlinux-$(3).bin.gz
dd if=$(KDIR)/vmlinux-$(3).bin.gz of=$(BIN_DIR)/$(IMG_PREFIX)-$(2)-vmlinux.gz bs=65536 conv=sync
dd if=$(KDIR)/root.squashfs of="$(BIN_DIR)/$(IMG_PREFIX)-$(2)-root.squashfs" bs=64k conv=sync
@@ -121,6 +122,7 @@ define Image/Build/RedBootDTB
"$(BIN_DIR)/$(IMG_PREFIX)-$(2)-root.squashfs" \
> "$(BIN_DIR)/$(IMG_PREFIX)-$(2)-redboot.bin"
rm -f $(BIN_DIR)/redbootscript $(BIN_DIR)/redbootscript.padded
+ rm -f $(KDIR)/vmlinux-$(3)
endef
define Image/Build/HCSDTB