immortalwrt/target/linux/ath79/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
..
bin ath79: update upsteam 2019-12-02 05:55:49 -08:00
lzma-loader ath79: sync and fix wireless (#2919) 2020-02-03 23:45:16 +08:00
common-buffalo.mk ath79: update upsteam 2019-12-02 05:55:49 -08:00
common-mikrotik.mk ath79: sync and fix wireless (#2919) 2020-02-03 23:45:16 +08:00
common-netgear.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
common-tp-link.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
common-yuncore.mk ath79: update upsteam 2019-12-02 05:55:49 -08:00
generic-tp-link.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
generic-ubnt.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
generic.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
Makefile treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
nand.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
tiny-netgear.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
tiny-tp-link.mk kernel: bump to 4.9.214, 4.14.171, 4.19.106 2020-02-29 01:23:18 +08:00
tiny.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00