openwrt/include
Leonardo Mörlein b993b68b6c 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>
2021-05-13 15:13:15 +02:00
..
site Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" 2021-03-02 11:35:45 +00:00
autotools.mk build: prevent dupes in autotools.mk 2021-03-01 16:16:32 +00:00
cmake.mk Revert "build: replace which with Bash command built-in" 2021-03-03 22:51:39 +01:00
debug.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
depends.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
feeds.mk build: fix getting ABI version for binary packages from the same source package 2021-02-15 23:11:44 +01:00
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 2018-01-27 16:46:45 +01:00
hardening.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
host-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
image-commands.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
image.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
kernel-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
kernel-defaults.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
kernel-version.mk kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
kernel.mk build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules 2021-03-18 10:53:26 +01:00
logo.png include: update logo with better kerning 2021-01-18 09:31:39 -10:00
logo.svg include: update logo with better kerning 2021-01-18 09:31:39 -10:00
netfilter.mk netfilter: remove no-op kconfig symbols 2021-05-01 00:37:15 +02:00
nls.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-bin.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-defaults.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package-dumpinfo.mk build: drop ABI version from metadata 2021-02-14 19:41:52 +01:00
package-ipkg.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
package-seccomp.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
package.mk Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" 2021-03-02 11:35:45 +00:00
prereq-build.mk Extend checks on build prerequisites for building OpenWRT core 2021-05-08 12:43:45 +02:00
prereq.mk Revert "build: replace which with Bash command built-in" 2021-03-03 22:51:39 +01:00
quilt.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-05 22:07:00 -10:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
subdir.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
target.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
toolchain-build.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
toplevel.mk toplevel.mk: remove legacy packages feed from 'make distclean' 2021-02-20 13:11:10 -10:00
trusted-firmware-a.mk trusted-firmware-a: fix project name spelling 2021-02-13 20:11:57 +00:00
u-boot.mk u-boot.mk: switch download to https 2020-04-26 21:20:47 +02:00
uclibc++.mk libcxx[abi]: remove 2020-12-07 10:46:43 -10:00
unpack.mk include: use cpio from staging dir 2021-02-28 00:09:09 +00:00
verbose.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00
version.mk build: use SPDX license tags 2021-02-05 14:54:47 +01:00