mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images
Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45855owl
parent
64b789db56
commit
677741ef95
|
@ -1495,14 +1495,10 @@ define Image/Build/TPLINK-LZMA/initramfs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
Image/Build/TPLINK-SAFELOADER/buildkernel=$(call PatchKernelLzma,$(2),$(3) $(4))
|
Image/Build/TPLINK-SAFELOADER/loader = $(call Image/BuildLoaderPatched,$(1),elf,$(2) $(3))
|
||||||
|
|
||||||
define Image/Build/TPLINK-SAFELOADER
|
define Image/Build/TPLINK-SAFELOADER
|
||||||
-rm -rf $(KDIR)/lzma-loader
|
[ -e "$(KDIR)/loader-$(2).elf" ]
|
||||||
$(LOADER_MAKE) LOADER=loader-$(2).elf\
|
|
||||||
LZMA_TEXT_START=0x80a00000 LOADADDR=0x80060000 \
|
|
||||||
LOADER_DATA="$(KDIR_TMP)/vmlinux-$(2).bin.lzma" BOARD="$(2)" \
|
|
||||||
compile loader.elf
|
|
||||||
|
|
||||||
-$(STAGING_DIR_HOST)/bin/tplink-safeloader \
|
-$(STAGING_DIR_HOST)/bin/tplink-safeloader \
|
||||||
-B $(5) \
|
-B $(5) \
|
||||||
|
|
Loading…
Reference in New Issue