From: Dan McGregor Date: Wed, 17 Oct 2018 21:22:33 +0000 (-0600) Subject: file: alternatify file X-Git-Tag: uninative-2.3~23 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e9a34c0753bb772f26d3ddd7fed3fc234635b172;p=openembedded-core.git file: alternatify file file is also provided by toybox. Signed-off-by: Dan McGregor Signed-off-by: Richard Purdie --- 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 \ SRCREV = "315cef2f699da3c31a54bd3c6c6070680fbaf1f5" S = "${WORKDIR}/git" -inherit autotools +inherit autotools update-alternatives + +ALTERNATIVE_${PN} = "file" +ALTERNATIVE_LINK_NAME[file] = "${bindir}/file" EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file" EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"