-
- Downloads
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>
Showing
- include/depends.mk 1 addition, 1 deletioninclude/depends.mk
- include/download.mk 1 addition, 1 deletioninclude/download.mk
- include/image-commands.mk 1 addition, 1 deletioninclude/image-commands.mk
- include/image.mk 3 additions, 3 deletionsinclude/image.mk
- include/kernel-defaults.mk 1 addition, 3 deletionsinclude/kernel-defaults.mk
- include/package-ipkg.mk 1 addition, 1 deletioninclude/package-ipkg.mk
- include/quilt.mk 1 addition, 1 deletioninclude/quilt.mk
- include/scan.mk 2 additions, 1 deletioninclude/scan.mk
- package/base-files/Makefile 1 addition, 1 deletionpackage/base-files/Makefile
- package/kernel/linux/Makefile 1 addition, 1 deletionpackage/kernel/linux/Makefile
- package/libs/openssl/Makefile 1 addition, 1 deletionpackage/libs/openssl/Makefile
- package/network/services/dropbear/Makefile 1 addition, 1 deletionpackage/network/services/dropbear/Makefile
- package/network/utils/iptables/Makefile 1 addition, 1 deletionpackage/network/utils/iptables/Makefile
- package/system/procd/Makefile 1 addition, 1 deletionpackage/system/procd/Makefile
- package/utils/busybox/Makefile 1 addition, 1 deletionpackage/utils/busybox/Makefile
- rules.mk 5 additions, 2 deletionsrules.mk
- scripts/combined-ext-image.sh 1 addition, 1 deletionscripts/combined-ext-image.sh
- scripts/combined-image.sh 1 addition, 1 deletionscripts/combined-image.sh
- scripts/download.pl 2 additions, 3 deletionsscripts/download.pl
- scripts/ipkg-make-index.sh 1 addition, 1 deletionscripts/ipkg-make-index.sh
Loading
Please register or sign in to comment