diff options
author | Michael Pratt <mcpratt@pm.me> | 2023-03-14 05:10:50 -0400 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-03-27 00:41:50 +0200 |
commit | 2bb8e4a88149e09389b409517219b4ade4e7578e (patch) | |
tree | 12d0d1e0ec2b83d3157059c4ecf58ade93853407 /rules.mk | |
parent | 7c0727c26330d12253ec98463279a564ae0f9efa (diff) | |
download | upstream-2bb8e4a88149e09389b409517219b4ade4e7578e.tar.gz upstream-2bb8e4a88149e09389b409517219b4ade4e7578e.tar.bz2 upstream-2bb8e4a88149e09389b409517219b4ade4e7578e.zip |
rules.mk: add FILECMD variable
Some packages using Libtool have the possibility
of using this environment variable if set,
instead of the direct command for "file" using PATH,
or the need to patch a hard-coded path.
This is a new feature of Libtool 2.4.7
Ref: bf261073d ("tools/libtool: bump to 2.4.7")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -252,6 +252,7 @@ TARGET_NM:=$(TARGET_CROSS)gcc-nm TARGET_CC:=$(TARGET_CROSS)gcc TARGET_CXX:=$(TARGET_CROSS)g++ KPATCH:=$(SCRIPT_DIR)/patch-kernel.sh +FILECMD:=$(STAGING_DIR_HOST)/bin/file SED:=$(STAGING_DIR_HOST)/bin/sed -i -e ESED:=$(STAGING_DIR_HOST)/bin/sed -E -i -e MKHASH:=$(STAGING_DIR_HOST)/bin/mkhash |