openwrt-redmi-ax3000/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
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk
image.mk
kernel-5.10
kernel-5.15
kernel-build.mk
kernel-defaults.mk
kernel-version.mk
kernel.mk
logo.png
logo.svg
meson.mk
netfilter.mk
nls.mk
openssl-engine.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk
prereq-build.mk prereq-build: add extra check for elfutils required header 2023-01-09 21:25:06 +01:00
prereq.mk
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
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
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk