openwrt/include
Christian Marangi 2a3283643c
treewide: derive host and hostpkg path from STAGING_DIR
STAGING_DIR may be provided from command line. We currently hardcoded
STAGING_DIR_HOST and STAGING_DIR_HOSTPKG to the default location but we
currently have some relocatable patch that derive the path from
STAGING_DIR.

Fix this and correctly derive STAGING_DIR_HOST and STAGING_DIR_HOSTPKG
from STAGING_DIR.

The intention is to fix inconsistency from the relocatable patch and the
use of STAGING_DIR_HOST that is always hardcoded.
This with a wrong configuration may end up in broken state with some
host tools expecing a PATH from STAGING_DIR and others using library
from the default staging_dir/host path.

To save downstream project the original implementation is saved while
fixing the inconsistency between patch and .mk.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-01-09 21:33:20 +01:00
..
site
autotools.mk
bpf.mk bpf: check llvm version only when used 2022-10-31 00:46:55 +01:00
cmake.mk
debug.mk
depends.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
device_table.txt
download.mk scripts/download.pl: make the download tool configurable 2022-10-20 00:35:19 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
image-commands.mk image: add gzip-filename build recipe 2023-01-06 15:34:07 +01:00
image.mk image: add gzip-filename build recipe 2023-01-06 15:34:07 +01:00
kernel-5.10 kernel: bump 5.10 to 5.10.162 2023-01-06 12:13:49 +01:00
kernel-5.15 kernel: bump 5.15 to 5.15.86 2023-01-03 23:55:45 +01:00
kernel-build.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
kernel-defaults.mk uml: headers are not exportable 2022-09-24 23:52:14 +02:00
kernel-version.mk
kernel.mk kernel: Make KERNEL_MAKEOPTS recursively expanded 2022-12-17 20:12:31 +01:00
logo.png
logo.svg
meson.mk
netfilter.mk
nls.mk nls.mk: fixup cmake packages 2022-11-27 00:52:06 +01:00
openssl-engine.mk
package-bin.mk
package-defaults.mk tree-wide: Do not use package librt and libpthread 2022-12-29 18:50:24 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
prereq-build.mk prereq-build: add extra check for elfutils required header 2023-01-09 21:25:06 +01:00
prereq.mk include/prereq.mk: add RequireCHeader helper 2023-01-09 21:25:06 +01:00
quilt.mk
rootfs.mk
scan.awk
scan.mk treewide: derive host and hostpkg path from STAGING_DIR 2023-01-09 21:33:20 +01:00
shell.sh
subdir.mk
target.mk mpc85xx: add support for cpu type 8548 2022-12-29 16:49:08 +01:00
toolchain-build.mk
toplevel.mk treewide: derive host and hostpkg path from STAGING_DIR 2023-01-09 21:33:20 +01:00
trusted-firmware-a.mk trusted-firmware-a.mk: use correct CPE ID 2022-12-20 18:36:26 +00:00
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk