openwrt/package
Petr Štetiar 617431685e
build: package: fix missing host apk dependency
Currently the build with USE_APK=y fails in package/libs/toolchain:

 staging_dir/host/bin/fakeroot: line 182: staging_dir/host/bin/apk: No such file or directory
 make[2]: *** [Makefile:758: bin/targets/mediatek/filogic/packages/libgcc1-13.2.0-r4.apk] Error 127

as commit d788ab376f ("build: add APK package build capabilities") added
dependency on apk in packaging step, but there is no host build
dependency defined, thus apk binary is missing when libgcc1 apk package is being
created. So lets fix it by adding explicit apk/host dependency to all
targets in the subdirectories.

Fixes: d788ab376f ("build: add APK package build capabilities")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
[ rework logic to be more self contained ]
Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-11 23:58:14 +02:00
..
base-files Revert "base-files: Ignore exit code of uci.sh inclusion" 2024-06-08 12:57:18 +02:00
boot kexec-tools: fix multiple compile errors 2024-06-08 14:08:38 +02:00
devel ply: add dynamic tracing package using BPF 2024-05-31 11:51:45 +02:00
firmware linux-firmware: Update to version 20240513 2024-05-28 22:04:34 +02:00
kernel mt76: mt7996: select required kernel and hostap options 2024-06-11 00:10:21 +01:00
libs openssl: update to 3.0.14 2024-06-08 23:29:31 +02:00
network Revert "hostapd: add support for authenticating with multiple PSKs via ubus helper" 2024-06-06 21:34:20 +02:00
system apk: bump to 2024-05-23 2024-06-06 19:20:59 +02:00
utils yafut: update to fix basename() issue 2024-06-11 14:27:47 +02:00
Makefile build: package: fix missing host apk dependency 2024-06-11 23:58:14 +02:00