immortalwrt/target/linux/ramips/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 target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
common-tp-link.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
Makefile build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
mt76x8.mk ramips: enable flashing WizFi630S via OEM firmware 2020-08-07 17:54:11 +08:00
mt7620.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
mt7621.mk build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
rt288x.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
rt305x.mk ramips: add kmod-usb-dwc2 to ZyXEL Keenetic image 2020-08-03 00:16:15 +08:00
rt3883.mk treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00