immortalwrt/package/system
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
..
ca-certificates download: add mirror alias for Debian 2021-02-27 12:11:33 +08:00
fstools fstools: backport: fix ntfs uuid 2020-09-30 19:28:40 +08:00
fwtool Revert "fwtool: update to latest Git head" 2019-11-16 23:26:27 +08:00
iucode-tool fix & merge 2019-09-30 13:21:19 +08:00
mtd mtd: fix imagetag compilation 2021-03-17 23:25:41 +08:00
openwrt-keyring fix & merge 2019-09-30 13:21:19 +08:00
opkg opkg: update to git HEAD 2021-03-11 23:10:42 +08:00
procd build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-24 23:18:44 +08:00
rpcd Revert "rpcd: update to latest snapshot version" 2020-07-07 11:50:16 +08:00
selinux-policy selinux-policy: update to version v0.8 2021-03-16 11:12:13 +08:00
ubox rpcd/ubox/procd: sync with upstream source 2020-07-07 10:08:43 +08:00
ubus Revert "ubus: prepare to run ubusd as non-root user" 2020-11-14 23:08:55 +08:00
ucert ubox/ubus/uci: bump version 2020-07-05 21:21:00 +08:00
uci build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 19:30:48 +08:00
urandom-seed treewide: drop shebang from non-executable lib files 2021-01-29 22:36:07 +08:00
urngd import urandom-seed and urngd for v19.07 2020-02-01 18:35:27 +08:00
usign usign: update to latest git HEAD 2020-05-24 20:43:42 +08:00
zram-swap zram-swap: bail out early if the kernel doesn't support swap 2021-04-04 12:18:54 +08:00