summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/postinst-intercept
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-11-13 09:54:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-20 14:08:14 +0000
commit0f5d0e98f6b77a768ee6b77646d0351401d49f0d (patch)
treea6b30bdf351ba90fbc390d069de12c337c4ac785 /meta/recipes-devtools/postinst-intercept
parent9ca077710f95da8a85f343525a2a44d3b3e4001d (diff)
downloadpoky-0f5d0e98f6b77a768ee6b77646d0351401d49f0d.tar.gz
postinst-intercept: rename recipe for nativesdk only
The recipe postinst-intercept is only used for nativesdk, so we rename it from postinst-intercept to nativesdk-postinst-intercept. It avoids unnecessary build of postinst-intercept. [YOCTO #6937] (From OE-Core rev: 6a320d07e45d9c41a6b50b96ba7f910cc141a1dd) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/postinst-intercept')
-rw-r--r--meta/recipes-devtools/postinst-intercept/nativesdk-postinst-intercept_1.0.bb (renamed from meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb b/meta/recipes-devtools/postinst-intercept/nativesdk-postinst-intercept_1.0.bb
index 41b9a6e49e..7dc45c68f2 100644
--- a/meta/recipes-devtools/postinst-intercept/postinst-intercept_1.0.bb
+++ b/meta/recipes-devtools/postinst-intercept/nativesdk-postinst-intercept_1.0.bb
@@ -2,12 +2,12 @@ SUMMARY = "Postinstall scriptlets"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4 4
5FILES_${PN}_append_class-nativesdk = " ${datadir}/postinst-intercepts/*" 5FILES_${PN}_append = " ${datadir}/postinst-intercepts/*"
6 6
7do_configure[noexec] = "1" 7do_configure[noexec] = "1"
8do_compile[noexec] = "1" 8do_compile[noexec] = "1"
9 9
10do_install_append_class-nativesdk() { 10do_install() {
11 install -d ${D}${datadir}/postinst-intercepts 11 install -d ${D}${datadir}/postinst-intercepts
12 install -m 755 ${COREBASE}/scripts/postinst-intercepts/postinst_intercept ${D}${datadir}/postinst-intercepts/ 12 install -m 755 ${COREBASE}/scripts/postinst-intercepts/postinst_intercept ${D}${datadir}/postinst-intercepts/
13 install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_font_cache ${D}${datadir}/postinst-intercepts/ 13 install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_font_cache ${D}${datadir}/postinst-intercepts/
@@ -15,5 +15,5 @@ do_install_append_class-nativesdk() {
15 install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_pixbuf_cache ${D}${datadir}/postinst-intercepts/ 15 install -m 755 ${COREBASE}/scripts/postinst-intercepts/update_pixbuf_cache ${D}${datadir}/postinst-intercepts/
16} 16}
17 17
18BBCLASSEXTEND = "nativesdk" 18inherit nativesdk
19INHIBIT_DEFAULT_DEPS = "1" 19INHIBIT_DEFAULT_DEPS = "1"