]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: image: reset COMPILE between devices 23226/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 30 Apr 2026 10:55:36 +0000 (10:55 +0000)
committerRobert Marko <robimarko@gmail.com>
Thu, 7 May 2026 09:08:33 +0000 (11:08 +0200)
commite079f109ffa206f9463fbe5ec4c468b7d62d6411
treed3903e0353d12b5851170ef3bbb8b45b851efebf
parenta988e20ab0502303a19e1405a761da892344dc8a
realtek: image: reset COMPILE between devices

Device/zyxel_zynos sets COMPILE := loader-$(1).bin to drive the
standalone rt-loader build, but include/image.mk's Device/Init does
not reset COMPILE between TARGET_DEVICES iterations. When a non-zynos
device follows a zynos device, the stale COMPILE entry survives and
Device/Build/compile registers a second recipe for the previous
device's loader-*.bin target. Make warns about the override and the
second (wrong) recipe wins.

Reset COMPILE in Device/Default so each device starts with a clean
slate.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23226
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/image/Makefile