openwrt/scripts
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
..
config scripts: update SPDX license names 2020-09-22 20:36:04 +02:00
flashing
arm-magic.sh
brcmImage.pl
bundle-libraries.sh scripts: bundle-libraries.sh: fix broken SDK compiler 2020-11-02 08:39:49 +01:00
cfe-bin-header.py
cfe-partition-tag.py
cfe-wfi-tag.py
checkpatch.pl scripts: fix checkpatch.pl for changed license dir 2021-02-14 19:21:38 +01:00
clean-package.sh
cleanfile
cleanpatch
combined-ext-image.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
combined-image.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
config.guess
config.rpath
config.sub
const_structs.checkpatch scripts: add const_structs.checkpatch for checkpatch.pl 2020-11-18 21:50:58 +01:00
deptest.sh
diffconfig.sh
dl_cleanup.py
dl_github_archive.py
download.pl build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
dump-target-info.pl scripts: Add Buildbot dump-target-info.pl script 2020-08-04 09:28:39 +02:00
env
ext-toolchain.sh
feeds scripts/feed: no warn on toolchain/linux overwrite 2021-01-06 14:04:34 -10:00
fixup-makefile.pl
functions.sh images: Fix sysupgrade.tar for devices with NOR flash 2020-12-22 19:11:50 +01:00
gen-dependencies.sh
gen_image_generic.sh
get_source_date_epoch.sh build: get_source_date_epoch allow external repos 2020-08-31 11:18:06 +01:00
getver.sh scripts/getver.sh: silence rev-list errors 2020-11-02 08:39:49 +01:00
ipkg-build scripts,ipkg-build: use realpath for pkg_dir 2021-03-14 19:32:30 -10:00
ipkg-make-index.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
ipkg-remove
json_add_image_info.py treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_* 2021-02-25 18:11:06 +01:00
json_overview_image_info.py build,json: 3rd fixup of default_packages 2021-03-25 10:25:54 -10:00
kconfig.pl scripts/kconfig.pl: allow regex syntax in filtering out config entries 2020-11-13 13:17:53 +01:00
linksys-image.sh
make-ipkg-dir.sh
md5sum
metadata.pm build: drop ABI version from metadata 2021-02-14 19:41:52 +01:00
mkhash.c scripts: add -N option to mkhash for printing without newline 2020-12-22 19:11:50 +01:00
mkits-qsdk-ipq-image.sh
mkits.sh scripts/mkits.sh: add support for adding DT overlay blobs to image 2021-03-17 17:41:24 +00:00
om-fwupgradecfg-gen.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
package-metadata.pl build: drop ABI version from metadata 2021-02-14 19:41:52 +01:00
pad_image
patch-kernel.sh
patch-specs.sh
portable_date.sh
qemustart scripts/qemustart: use squashfs instead of ext4 2021-01-01 17:49:05 -10:00
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh
sercomm-crypto.py
sercomm-partition-tag.py
sercomm-payload.py
sign_images.sh
size_compare.sh scripts: add size_compare.sh 2020-11-24 18:18:48 -10:00
slugimage.pl
spelling.txt scripts: add spelling.txt for checkpatch.pl 2020-11-12 18:21:55 +01:00
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl include/image*: add support for device-tree overlays 2021-03-17 17:45:34 +00:00
time.pl
timestamp.pl
ubinize-image.sh