summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-10 15:34:25 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-10 15:34:25 +0000
commit69fb780e143d6c30462b8739d5c8da28863135d6 (patch)
tree41221e9bf1d3ce66a4591e9caf5a8fab69725f45 /meta/packages
parentb618bcfeb94af391a5a9559efe75974c9661855e (diff)
downloadopenembedded-core-69fb780e143d6c30462b8739d5c8da28863135d6.tar.gz
openembedded-core-69fb780e143d6c30462b8739d5c8da28863135d6.tar.bz2
openembedded-core-69fb780e143d6c30462b8739d5c8da28863135d6.zip
meta-toolchain: Make sure the opkg config files are clean to start with when rebuilding them
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index 5cc5dde0fa..b9a417d6ea 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -24,6 +24,11 @@ do_populate_sdk() {
mkdir -p ${SDK_OUTPUT}${layout_libdir}/opkg/
mkdir -p ${SDK_OUTPUT}/${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}/opkg/
+ rm -f ${IPKGCONF_TARGET}
+ touch ${IPKGCONF_TARGET}
+ rm -f ${IPKGCONF_SDK}
+ touch ${IPKGCONF_SDK}
+
package_update_index_ipk
package_generate_ipkg_conf