diff options
-rw-r--r-- | meta/classes/gzipnative.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-core/expat/expat.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/gzip/gzip_1.4.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/pigz/pigz_2.2.4.bb | 4 |
6 files changed, 13 insertions, 4 deletions
diff --git a/meta/classes/gzipnative.bbclass b/meta/classes/gzipnative.bbclass new file mode 100644 index 0000000000..4a411434a4 --- /dev/null +++ b/meta/classes/gzipnative.bbclass | |||
@@ -0,0 +1,3 @@ | |||
1 | PATH_prepend = "${STAGING_BINDIR_NATIVE}/pigz-native:${STAGING_BINDIR_NATIVE}/gzip-native:" | ||
2 | DEPENDS += "gzip-native" | ||
3 | |||
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index ccfcaba40e..907c59ba0f 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -3,6 +3,8 @@ inherit rootfs_${IMAGE_PKGTYPE} | |||
3 | IMAGETEST ?= "dummy" | 3 | IMAGETEST ?= "dummy" |
4 | inherit imagetest-${IMAGETEST} | 4 | inherit imagetest-${IMAGETEST} |
5 | 5 | ||
6 | inherit gzipnative | ||
7 | |||
6 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
7 | PACKAGES = "" | 9 | PACKAGES = "" |
8 | RDEPENDS += "${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL}" | 10 | RDEPENDS += "${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL}" |
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 871dda0426..ffab971cbb 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -77,7 +77,7 @@ baselib = "lib" | |||
77 | # Libtool's default paths are correct for the native machine | 77 | # Libtool's default paths are correct for the native machine |
78 | lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1" | 78 | lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1" |
79 | 79 | ||
80 | NATIVE_PACKAGE_PATH_SUFFIX = "" | 80 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" |
81 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 81 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
82 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 82 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
83 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 83 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
diff --git a/meta/recipes-core/expat/expat.inc b/meta/recipes-core/expat/expat.inc index d902b7afdf..459ccb3b5b 100644 --- a/meta/recipes-core/expat/expat.inc +++ b/meta/recipes-core/expat/expat.inc | |||
@@ -7,7 +7,7 @@ LICENSE = "MIT" | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ |
8 | file://autotools.patch" | 8 | file://autotools.patch" |
9 | 9 | ||
10 | inherit autotools lib_package | 10 | inherit autotools lib_package gzipnative |
11 | 11 | ||
12 | # This package uses an archive format known to have issue with some | 12 | # This package uses an archive format known to have issue with some |
13 | # versions of gzip | 13 | # versions of gzip |
diff --git a/meta/recipes-extended/gzip/gzip_1.4.bb b/meta/recipes-extended/gzip/gzip_1.4.bb index ab8a744327..8f4a237ec3 100644 --- a/meta/recipes-extended/gzip/gzip_1.4.bb +++ b/meta/recipes-extended/gzip/gzip_1.4.bb | |||
@@ -1,6 +1,8 @@ | |||
1 | require gzip.inc | 1 | require gzip.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | |||
5 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | ||
4 | 6 | ||
5 | BBCLASSEXTEND = "native" | 7 | BBCLASSEXTEND = "native" |
6 | 8 | ||
diff --git a/meta/recipes-extended/pigz/pigz_2.2.4.bb b/meta/recipes-extended/pigz/pigz_2.2.4.bb index 598bbe35ba..eaf00c6705 100644 --- a/meta/recipes-extended/pigz/pigz_2.2.4.bb +++ b/meta/recipes-extended/pigz/pigz_2.2.4.bb | |||
@@ -1,6 +1,8 @@ | |||
1 | require pigz.inc | 1 | require pigz.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | |||
5 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | ||
4 | 6 | ||
5 | BBCLASSEXTEND = "native" | 7 | BBCLASSEXTEND = "native" |
6 | 8 | ||