summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/file
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2018-10-17 15:22:33 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-18 23:26:35 +0100
commit82cd4da67fdeff59ccac1e868cca313e1082f08f (patch)
tree75bcf81a14d5a204ddf8413717317f0b145d9d9f /meta/recipes-devtools/file
parent06aa8ccadee6e191f3154a2afd8e4182c32ef211 (diff)
downloadpoky-82cd4da67fdeff59ccac1e868cca313e1082f08f.tar.gz
file: alternatify file
file is also provided by toybox. (From OE-Core rev: e9a34c0753bb772f26d3ddd7fed3fc234635b172) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/file')
-rw-r--r--meta/recipes-devtools/file/file_5.34.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/file/file_5.34.bb b/meta/recipes-devtools/file/file_5.34.bb
index 6612b71000..5d92913cb0 100644
--- a/meta/recipes-devtools/file/file_5.34.bb
+++ b/meta/recipes-devtools/file/file_5.34.bb
@@ -21,7 +21,10 @@ SRC_URI = "git://github.com/file/file.git \
21SRCREV = "315cef2f699da3c31a54bd3c6c6070680fbaf1f5" 21SRCREV = "315cef2f699da3c31a54bd3c6c6070680fbaf1f5"
22S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
23 23
24inherit autotools 24inherit autotools update-alternatives
25
26ALTERNATIVE_${PN} = "file"
27ALTERNATIVE_LINK_NAME[file] = "${bindir}/file"
25 28
26EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file" 29EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
27EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file" 30EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"