diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-10 16:57:21 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-10 16:57:21 +0000 |
commit | 05053efa86e457fd08785d1401365bd763342477 (patch) | |
tree | 2edeee0081b42a34b13dffce6ed4678d2f11ec3f /meta/classes/package_ipk.bbclass | |
parent | 88ee037741b7e21ff50976a6c5b85278499655ca (diff) | |
download | poky-05053efa86e457fd08785d1401365bd763342477.tar.gz |
cross-canadian: Update after PN changes to include TARGET_ARCH
This patch massively simplifies the canadian packaging and allows
multiple toolchain targets to be parallel installed into the same
nativesdk sysroot without package name conflits. Since we now do
this, we can simplify cross-canadian to become more like nativesdk.
This is a first pass over this task, similar changes would be
desireable to cross and the whole MULTIMACH_ARCH mess can then
probably be similified much further.
Signed-off-by: Richgard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index c1393fa764..5ddd6c66ea 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -79,8 +79,6 @@ package_update_index_ipk () { | |||
79 | packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/$arch ${DEPLOY_DIR_IPK}/$sdkarch-nativesdk" | 79 | packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/$arch ${DEPLOY_DIR_IPK}/$sdkarch-nativesdk" |
80 | done | 80 | done |
81 | 81 | ||
82 | packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian" | ||
83 | |||
84 | for pkgdir in $packagedirs; do | 82 | for pkgdir in $packagedirs; do |
85 | if [ -e $pkgdir/ ]; then | 83 | if [ -e $pkgdir/ ]; then |
86 | touch $pkgdir/Packages | 84 | touch $pkgdir/Packages |
@@ -112,9 +110,6 @@ package_generate_ipkg_conf () { | |||
112 | echo "src oe-$sdkarch$extension file:${DEPLOY_DIR_IPK}/$sdkarch$extension" >> ${IPKGCONF_SDK} | 110 | echo "src oe-$sdkarch$extension file:${DEPLOY_DIR_IPK}/$sdkarch$extension" >> ${IPKGCONF_SDK} |
113 | fi | 111 | fi |
114 | done | 112 | done |
115 | if [ -e ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian/Packages ] ; then | ||
116 | echo "src oe-${SDK_ARCH}-${TARGET_ARCH}-canadian file:${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian" >> ${IPKGCONF_SDK} | ||
117 | fi | ||
118 | } | 113 | } |
119 | 114 | ||
120 | package_generate_archlist () { | 115 | package_generate_archlist () { |
@@ -130,7 +125,6 @@ package_generate_archlist () { | |||
130 | echo "arch $sdkarch$extension $priority" >> ${IPKGCONF_SDK} | 125 | echo "arch $sdkarch$extension $priority" >> ${IPKGCONF_SDK} |
131 | priority=$(expr $priority + 5) | 126 | priority=$(expr $priority + 5) |
132 | done | 127 | done |
133 | echo "arch ${SDK_ARCH}-${TARGET_ARCH}-canadian $priority" >> ${IPKGCONF_SDK} | ||
134 | } | 128 | } |
135 | 129 | ||
136 | python do_package_ipk () { | 130 | python do_package_ipk () { |