immortalwrt/package
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
..
base-files build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
boot sunxi: nanopi-r1s-h5: remove non-existent usb node 2021-05-02 23:22:02 +08:00
ctcgfw phicomm-k3screenctrl: move to packages feed 2021-03-31 23:56:27 +08:00
devel valgrind: Fix compile problem with MIPS soft float 2021-04-12 20:21:28 +08:00
firmware cypress-firmware:remove outdate firmwares 2021-04-25 23:18:21 +08:00
kernel build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
lean luci-app-cpufreq: fix tweak for ipq40xx/ipq806x 2021-05-12 21:26:55 +08:00
libs build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
network build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
system build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
utils build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
Makefile build: fix opkg install step for large package selection 2021-05-12 23:27:23 +08:00