diff options
-rw-r--r-- | meta/recipes-extended/tar/tar-replacement-native_1.28.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/tar/tar.inc | 11 |
2 files changed, 5 insertions, 12 deletions
diff --git a/meta/recipes-extended/tar/tar-replacement-native_1.28.bb b/meta/recipes-extended/tar/tar-replacement-native_1.28.bb deleted file mode 100644 index 071ede765b..0000000000 --- a/meta/recipes-extended/tar/tar-replacement-native_1.28.bb +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | require tar_${PV}.bb | ||
2 | |||
3 | inherit native | ||
4 | |||
5 | BPN = "tar" | ||
6 | EXTRAINSTALL = "" | ||
diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc index 74169274f4..b339c43385 100644 --- a/meta/recipes-extended/tar/tar.inc +++ b/meta/recipes-extended/tar/tar.inc | |||
@@ -16,16 +16,12 @@ EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}" | |||
16 | # directory. | 16 | # directory. |
17 | acpaths = "-I ./m4" | 17 | acpaths = "-I ./m4" |
18 | 18 | ||
19 | EXTRAINSTALL = "do_install_extra" | ||
20 | EXTRAINSTALL_class-nativesdk = "" | ||
21 | |||
22 | do_install () { | 19 | do_install () { |
23 | autotools_do_install | 20 | autotools_do_install |
24 | ln -s tar ${D}${bindir}/gtar | 21 | ln -s tar ${D}${bindir}/gtar |
25 | ${EXTRAINSTALL} | ||
26 | } | 22 | } |
27 | 23 | ||
28 | do_install_extra () { | 24 | do_install_append_class-target() { |
29 | install -d ${D}${base_bindir} | 25 | install -d ${D}${base_bindir} |
30 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar | 26 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar |
31 | mv ${D}${bindir}/gtar ${D}${base_bindir}/gtar | 27 | mv ${D}${bindir}/gtar ${D}${base_bindir}/gtar |
@@ -48,4 +44,7 @@ ALTERNATIVE_${PN}-rmt_class-nativesdk = "" | |||
48 | ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar" | 44 | ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar" |
49 | ALTERNATIVE_LINK_NAME[rmt] = "${base_sbindir}/rmt" | 45 | ALTERNATIVE_LINK_NAME[rmt] = "${base_sbindir}/rmt" |
50 | 46 | ||
51 | BBCLASSEXTEND = "nativesdk" | 47 | PROVIDES_append_class-native = " tar-replacement-native" |
48 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | ||
49 | |||
50 | BBCLASSEXTEND = "native nativesdk" | ||