immortalwrt/target
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
..
imagebuilder imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive 2021-05-09 00:35:59 +08:00
linux build: introduce $(MKHASH) 2021-05-13 22:49:42 +08:00
sdk sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives 2021-05-09 00:36:17 +08:00
toolchain build: improve ccache support 2021-01-02 12:08:17 +08:00
Config.in build: define PWM_SUPPORT arch feature flag 2020-09-26 11:34:00 +08:00
Makefile update target 2019-08-19 22:26:19 +08:00