openwrt/package/system
Leonardo Mörlein b993b68b6c 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>
2021-05-13 15:13:15 +02:00
..
ca-certificates download: add mirror alias for Debian 2021-02-26 20:41:00 +01:00
fstools fstools: update to git HEAD 2021-03-19 13:35:55 +00:00
fwtool fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
iucode-tool tools: add iucode-tool 2018-02-11 14:39:16 +01:00
mtd mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
openwrt-keyring openwrt-keyring: add OpenWrt 21.02 GPG/usign keys 2021-02-20 15:59:47 +01:00
opkg opkg: update to git HEAD 2021-03-15 00:48:42 +00:00
procd build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-22 15:20:35 +00:00
rpcd rpcd: set correct PKG_SOURCE_DATE 2021-05-10 10:57:09 +01:00
selinux-policy selinux-policy: update to version v0.8 2021-03-14 12:56:46 +00:00
ubox ubox: run logd non-root as user logd 2020-10-25 12:36:22 +00:00
ubus libubox: update to the latest version, set ABI_VERSION dynamically 2021-02-15 19:41:13 +01:00
ucert ucert: update to latest git HEAD 2020-05-24 17:01:36 +02:00
uci uci: update to the latest master 2021-04-14 08:33:12 +02:00
urandom-seed treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
urngd urngd: avoid PKG_NAME in define lines 2020-02-23 22:42:51 +01:00
usign usign: update to latest git HEAD 2020-05-23 13:38:12 +02:00
zram-swap zram-swap: bail out early if the kernel doesn't support swap 2021-04-03 18:57:13 +02:00