diff options
-rw-r--r-- | packages/meta/meta-sdk-gpe.bb | 13 | ||||
-rw-r--r-- | packages/meta/meta-sdk-sbox-gpe.bb | 7 | ||||
-rw-r--r-- | packages/meta/meta-sdk-sbox.bb | 7 | ||||
-rw-r--r-- | packages/meta/meta-sdk.bb | 12 |
4 files changed, 14 insertions, 25 deletions
diff --git a/packages/meta/meta-sdk-gpe.bb b/packages/meta/meta-sdk-gpe.bb index 7b5ac70f48..a91f3192c7 100644 --- a/packages/meta/meta-sdk-gpe.bb +++ b/packages/meta/meta-sdk-gpe.bb @@ -26,16 +26,11 @@ TARGET_INSTALL = "\ RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}" -sdk_do_indexes () { - set -ex - rootfs_ipk_do_indexes - sdk_ipk_do_indexes - set +ex -} - do_populate_sdk() { - sdk_do_indexes - + set -ex + package_update_index_ipk + set +ex + rm -rf ${SDK_OUTPUT} mkdir -p ${SDK_OUTPUT} diff --git a/packages/meta/meta-sdk-sbox-gpe.bb b/packages/meta/meta-sdk-sbox-gpe.bb index c9b7737af2..28317c03fe 100644 --- a/packages/meta/meta-sdk-sbox-gpe.bb +++ b/packages/meta/meta-sdk-sbox-gpe.bb @@ -29,10 +29,9 @@ RDEPENDS = "${TARGET_INSTALL}" IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}" do_populate_sdk() { - - set -ex - rootfs_ipk_do_indexes - set +ex + set -ex + package_update_index_ipk + set +ex rm -rf ${SDK_OUTPUT} mkdir -p ${SDK_OUTPUT} diff --git a/packages/meta/meta-sdk-sbox.bb b/packages/meta/meta-sdk-sbox.bb index c0cb27d404..13c9612a74 100644 --- a/packages/meta/meta-sdk-sbox.bb +++ b/packages/meta/meta-sdk-sbox.bb @@ -25,10 +25,9 @@ RDEPENDS = "${TARGET_INSTALL}" IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}" do_populate_sdk() { - - set -ex - rootfs_ipk_do_indexes - set +ex + set -ex + package_update_index_ipk + set +ex rm -rf ${SDK_OUTPUT} mkdir -p ${SDK_OUTPUT} diff --git a/packages/meta/meta-sdk.bb b/packages/meta/meta-sdk.bb index cc163448ea..47796603db 100644 --- a/packages/meta/meta-sdk.bb +++ b/packages/meta/meta-sdk.bb @@ -23,15 +23,11 @@ TARGET_INSTALL = "\ RDEPENDS = "${TARGET_INSTALL} ${HOST_INSTALL}" -sdk_do_indexes () { - set -ex - rootfs_ipk_do_indexes - sdk_ipk_do_indexes - set +ex -} - do_populate_sdk() { - sdk_do_indexes + set -ex + package_update_index_ipk + set +ex + echo "Creating host.conf..." rm -rf ${SDK_OUTPUT} |