mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
@@ -79,8 +79,6 @@ package_update_index_ipk () {
|
||||
packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/$arch ${DEPLOY_DIR_IPK}/$sdkarch-nativesdk"
|
||||
done
|
||||
|
||||
packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian"
|
||||
|
||||
for pkgdir in $packagedirs; do
|
||||
if [ -e $pkgdir/ ]; then
|
||||
touch $pkgdir/Packages
|
||||
@@ -112,9 +110,6 @@ package_generate_ipkg_conf () {
|
||||
echo "src oe-$sdkarch$extension file:${DEPLOY_DIR_IPK}/$sdkarch$extension" >> ${IPKGCONF_SDK}
|
||||
fi
|
||||
done
|
||||
if [ -e ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian/Packages ] ; then
|
||||
echo "src oe-${SDK_ARCH}-${TARGET_ARCH}-canadian file:${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian" >> ${IPKGCONF_SDK}
|
||||
fi
|
||||
}
|
||||
|
||||
package_generate_archlist () {
|
||||
@@ -130,7 +125,6 @@ package_generate_archlist () {
|
||||
echo "arch $sdkarch$extension $priority" >> ${IPKGCONF_SDK}
|
||||
priority=$(expr $priority + 5)
|
||||
done
|
||||
echo "arch ${SDK_ARCH}-${TARGET_ARCH}-canadian $priority" >> ${IPKGCONF_SDK}
|
||||
}
|
||||
|
||||
python do_package_ipk () {
|
||||
|
||||
Reference in New Issue
Block a user