immortalwrt/include
Leonardo Mörlein 2a821d862c
build: introduce $(MKHASH)
Before this commit, it was assumed that mkhash is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. In most of the cases, I just saw warnings like this:

    make: Entering directory '/home/.../package/gluon-status-page'
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    [...]

While these were only warnings and the package still compiled sucessfully,
I also observed that some package even fail to build because of this.

After applying this commit, the variable $(MKHASH) is introduced. This
variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the
correct path.

Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-13 22:49:42 +08:00
..
site Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" 2021-03-02 22:02:38 +08:00
autotools.mk build: prevent dupes in autotools.mk 2021-03-02 12:06:12 +08:00
cmake.mk Revert "build: replace which with Bash command built-in" 2021-03-04 12:10:58 +08:00
debug.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
depends.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
device_table.txt fix permission 2019-09-30 13:52:50 +08:00
download.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
feeds.mk build: fix getting ABI version for binary packages from the same source package 2021-02-16 12:15:02 +08:00
hardened-ld-pie.specs fix permission 2019-09-30 13:52:50 +08:00
hardening.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
host-build.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
image-commands.mk build: kernel2minor: work around path length limit 2021-05-12 23:28:46 +08:00
image-legacy.mk fix permisson 2019-08-16 15:09:42 +08:00
image.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
kernel-build.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
kernel-defaults.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
kernel-version.mk kernel: bump to 4.9.267, 4.14.231, 4.19.188 2021-04-26 21:31:32 +08:00
kernel.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
netfilter.mk netfilter: drop kmod-ipt-cgroup 2021-03-22 17:05:47 +08:00
nls.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
package-bin.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
package-defaults.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
package-dumpinfo.mk build: drop ABI version from metadata 2021-02-15 12:17:04 +08:00
package-ipkg.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
package-seccomp.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
package.mk Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" 2021-03-02 22:02:38 +08:00
prereq-build.mk Extend checks on build prerequisites for building OpenWRT core 2021-05-09 00:38:09 +08:00
prereq.mk Revert "build: replace which with Bash command built-in" 2021-03-04 12:10:58 +08:00
quilt.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-08 11:31:45 +08:00
scan.awk fix permisson 2019-08-16 15:09:42 +08:00
scan.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
shell.sh add luci-app-haproxy & luci-app-udpspeederv2 2019-05-25 21:05:51 +08:00
subdir.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
target.mk target: update wget pkg name 2021-05-07 17:24:17 +08:00
toolchain-build.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
toplevel.mk toplevel.mk: remove legacy packages feed from 'make distclean' 2021-02-21 12:09:37 +08:00
u-boot.mk u-boot.mk: switch download to https 2020-04-27 08:55:20 +08:00
uclibc++.mk libcxx[abi]: remove 2020-12-12 11:33:11 +08:00
unpack.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
verbose.mk build: use SPDX license tags 2021-02-06 12:07:10 +08:00
version.mk include: adjust VERSION_NUMBER for 18.06 2021-02-21 15:47:21 +08:00