immortalwrt/target/linux/ar71xx/image
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
..
lzma-loader switch ar71xx to kernel 4.14 (including K2T 2018-06-13 10:39:07 +08:00
common-tp-link.mk add kernel 4.14 support for ar71xx 2018-09-08 16:01:41 +08:00
generic-legacy-devices.mk ar71xx: add support for Lute ZK400 2020-11-01 11:50:37 +08:00
generic-senao.mk mac80211: make ath10k the default ath10k-ct 2018-09-28 11:00:40 +08:00
generic-tp-link.mk ar71xx: fix splitting firmware partition for TL-WR902AC v1 2020-05-30 11:30:59 +08:00
generic-ubnt.mk mac80211: make ath10k the default ath10k-ct 2018-09-28 11:00:40 +08:00
generic.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
legacy.mk ar71xx: add support for Lute ZK400 2020-11-01 11:50:37 +08:00
Makefile build: image: move IMAGE_SIZE to image.mk 2020-09-21 20:00:35 +08:00
mikrotik.mk mac80211: make ath10k the default ath10k-ct 2018-09-28 11:00:40 +08:00
nand.mk ar71xx: fix ARRIS SBR-AC1750 web upgrade support 2019-02-14 01:29:51 +08:00
tiny-legacy-devices.mk mac80211: make ath10k the default ath10k-ct 2018-09-28 11:00:40 +08:00
tiny-tp-link.mk ar71xx: Add support for TL-WR702N (#3469) 2020-03-02 21:58:19 +08:00
tiny.mk add kernel 4.14 support for ar71xx 2018-09-08 16:01:41 +08:00
ubinize-nbg6716.ini update source 2017-09-06 19:19:45 +08:00
ubinize-wndr4300.ini update source 2017-09-06 19:19:45 +08:00