]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: imagebuilder: add guard around loader generation 21556/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Thu, 15 Jan 2026 21:48:11 +0000 (13:48 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 16 Jan 2026 18:45:45 +0000 (19:45 +0100)
The imagebuilder cannot compile source, so we must guard against
generation of artifact targets that require this.  Without this
guard we see an error when building the zyxel,gs1920-24hp-v1 profile.

  Create standalone rt-loader, loading uimage from address 0xb40c0000
  mips-openwrt-linux-musl-gcc -fpic -msoft-float -Iinclude -c -o ... src/startup.S
  make[4]: mips-openwrt-linux-musl-gcc: No such file or directory

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21556
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/image/rtl839x.mk

index 2e399fd0612f90b863a3a1a5163f75658ca86182..c07252eb489ebef5bd4bfcc26531bf519fc7799e 100644 (file)
@@ -100,10 +100,12 @@ TARGET_DEVICES += zyxel_gs1900-48-a1
 
 define Device/zyxel_gs1920-24hp-v1
   FLASH_ADDR := 0xb40c0000
+ifeq ($(IB),)
   ARTIFACTS := loader.bin
   ARTIFACT/loader.bin := \
     rt-loader-standalone | \
     zynsig
+endif
   SOC := rtl8392
   IMAGE_SIZE := 12144k
   DEVICE_VENDOR := Zyxel