openwrt/package
Mario Andrés Pérez dc80e69801
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
uboot-envtools: set nonshared flag correctly per-subpackage
Currently, uboot-envtools is being built for a (shared) instruction
set (phase2 in buildbots) instead of target-specific (phase1 in builbots).
So the package does not contain the uci-defaults file specific for each
target_subtarget. (Only the fortunate target with coincidentally the same
instruction set and target as the SDK chosen by the buildbot will have the
uci-defaults file.)

This commit sets the nonshared flag correctly in the Makefile so that
uboot-envtools is built for the target-specific (phase 1).

This is done by using the PKGFLAGS variable which is intended for
per-binary flags (instead of PKG_FLAGS which has a global scope), as
stated in some old commits 349e7b635e[1], 2d7eaf2e15[2], 064e7c8f00[3] and
2cb75cd8b9[4].

While at here, use PKG_URL, instead of URL, which is intended for global
scope. As stated in commit e32edf712b[5].

[1] 349e7b635e
[2] 2d7eaf2e15
[3] 064e7c8f00
[4] 2cb75cd8b9
[5] e32edf712b

Fixes: #19040
Fixes: 46e376c ("uboot-tools: migrate uboot-envtools to uboot-tools")

Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19180
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-25 20:51:47 +02:00
..
base-files base-files: handle packages alternatives when apk removes packages 2025-06-23 09:39:12 +02:00
boot uboot-envtools: set nonshared flag correctly per-subpackage 2025-06-25 20:51:47 +02:00
devel perf: disable slang support 2025-06-16 23:22:59 +02:00
firmware qualcommbe: ipq95xx: add 8devices Kiwi-DVK support 2025-06-25 10:20:38 +02:00
kernel qualcommbe: package PPE and PCS drivers as kmods 2025-06-25 10:20:37 +02:00
libs libcrypt-compat: introduce package 2025-06-23 11:19:08 +02:00
network wifi-scripts: fix another regression in the ucode auth_type changes 2025-06-25 13:26:59 +02:00
system rpcd: update to Git HEAD (2025-06-22) 2025-06-23 09:36:32 +02:00
utils omnia-eeprom: simplify Makefile 2025-06-22 18:58:49 +02:00
Makefile package: rework contents of package index.json 2025-06-11 16:55:31 +02:00