diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-11-13 09:54:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-20 14:08:14 +0000 |
commit | 0f5d0e98f6b77a768ee6b77646d0351401d49f0d (patch) | |
tree | a6b30bdf351ba90fbc390d069de12c337c4ac785 /meta/recipes-devtools/postinst-intercept | |
parent | 9ca077710f95da8a85f343525a2a44d3b3e4001d (diff) | |
download | poky-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" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
4 | 4 | ||
5 | FILES_${PN}_append_class-nativesdk = " ${datadir}/postinst-intercepts/*" | 5 | FILES_${PN}_append = " ${datadir}/postinst-intercepts/*" |
6 | 6 | ||
7 | do_configure[noexec] = "1" | 7 | do_configure[noexec] = "1" |
8 | do_compile[noexec] = "1" | 8 | do_compile[noexec] = "1" |
9 | 9 | ||
10 | do_install_append_class-nativesdk() { | 10 | do_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 | ||
18 | BBCLASSEXTEND = "nativesdk" | 18 | inherit nativesdk |
19 | INHIBIT_DEFAULT_DEPS = "1" | 19 | INHIBIT_DEFAULT_DEPS = "1" |