diff options
author | John Crispin <john@phrozen.org> | 2017-01-20 06:39:35 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-01-20 06:43:13 +0100 |
commit | 236fcedc51d0b43701081ddde7af39e6a6cce0e7 (patch) | |
tree | 183844ddde7f45f7757bca455a48cd108eb75dce /target/linux/ar71xx/image/legacy.mk | |
parent | 54e980aa36522de91ba8c4a187cbaef8be6c710a (diff) | |
download | upstream-236fcedc51d0b43701081ddde7af39e6a6cce0e7.tar.gz upstream-236fcedc51d0b43701081ddde7af39e6a6cce0e7.tar.bz2 upstream-236fcedc51d0b43701081ddde7af39e6a6cce0e7.zip |
Revert "ar71xx: wrt400n: lift size limit on kernel and rootfs part"
This reverts commit 78c2ec0f477bab5b5c2622b5a18c14e51dea7249.
The builders were failing with a segfault when generating the image
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ar71xx/image/legacy.mk')
-rw-r--r-- | target/linux/ar71xx/image/legacy.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/legacy.mk b/target/linux/ar71xx/image/legacy.mk index c73f65bbb7..f80b700be8 100644 --- a/target/linux/ar71xx/image/legacy.mk +++ b/target/linux/ar71xx/image/legacy.mk @@ -307,6 +307,15 @@ define Image/BuildKernel/Initramfs $(call Image/Build/Initramfs) endef +Image/Build/WRT400N/buildkernel=$(call MkuImageLzma,$(2),$(3)) + +define Image/Build/WRT400N + $(call Sysupgrade/KRuImage,$(1),$(2),1310720,6488064) + if [ -e "$(call sysupname,$(1),$(2))" ]; then \ + wrt400n $(KDIR_TMP)/vmlinux-$(2).uImage $(KDIR)/root.$(1) $(call factoryname,$(1),$(2)); \ + fi +endef + define Image/Build/CameoAP94/buildkernel $(call MkuImageLzma,$(2),$(3) $(4)) @@ -1000,6 +1009,8 @@ $(eval $(call SingleProfile,WHRHPG300N,64kraw,WHRHPG300N,whr-hp-g300n,WHR-HP-G30 $(eval $(call SingleProfile,WHRHPG300N,64kraw,WHRHPGN,whr-hp-gn,WHR-HP-GN,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-HP-GN)) $(eval $(call SingleProfile,WHRHPG300N,64kraw,WLAEAG300N,wlae-ag300n,WLAE-AG300N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WLAE-AG300N)) +$(eval $(call SingleProfile,WRT400N,64k,WRT400N,wrt400n,WRT400N,ttyS0,115200)) + $(eval $(call SingleProfile,WZRHP128K,128kraw,WZRHPG300NH,wzr-hp-g300nh,WZR-HP-G300NH,ttyS0,115200,WZR-HP-G300NH)) $(eval $(call SingleProfile,WZRHP64K,64kraw,WZRHPG300NH2,wzr-hp-g300nh2,WZR-HP-G300NH2,ttyS0,115200,WZR-HP-G300NH2)) $(eval $(call SingleProfile,WZRHP64K,64kraw,WZRHPAG300H,wzr-hp-ag300h,WZR-HP-AG300H,ttyS0,115200,WZR-HP-AG300H)) |