diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-01-04 20:55:38 +0000 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-03-24 23:51:57 +0000 |
commit | 8c8496435a9d6a89eeb1b91b9d600362a0b24b16 (patch) | |
tree | 861bd0aab6aeb16551c7ced982f88d68027fae71 /include | |
parent | af22991e03cae55f96b06996df2ff16752cec5d5 (diff) | |
download | upstream-8c8496435a9d6a89eeb1b91b9d600362a0b24b16.tar.gz upstream-8c8496435a9d6a89eeb1b91b9d600362a0b24b16.tar.bz2 upstream-8c8496435a9d6a89eeb1b91b9d600362a0b24b16.zip |
build: add GNU install to prerequisites
The recent removal of usbutils from core and replacement by hwdata in
packages has exposed hwdata's requirement for certain GNU options on
'install' (-T) Other packages (sqm-scripts) have openwrt specific
makefile sections to avoid GNU options but I suspect this is going to
get harder in the future.
Add GNU install as a prerequisite and link into
$STAGING_DIR/host/etc/bin as per similar GNU utils
This resolves an issue building under MacOS which would otherwise use a
non-GNU options aware version of 'install'
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/prereq-build.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk index b2526a1ec1..0375ef6861 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -136,6 +136,10 @@ $(eval $(call SetupHostCommand,bzip2,Please install 'bzip2', \ $(eval $(call SetupHostCommand,wget,Please install GNU 'wget', \ wget --version | grep GNU)) +$(eval $(call SetupHostCommand,install,Please install GNU 'install', \ + install --version | grep GNU, \ + ginstall --version | grep GNU)) + $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ perl --version | grep "perl.*v5")) |