summaryrefslogtreecommitdiff
path: root/meta/meta-sdk.oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/meta-sdk.oe')
-rw-r--r--meta/meta-sdk.oe36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/meta-sdk.oe b/meta/meta-sdk.oe
deleted file mode 100644
index edbe19697b..0000000000
--- a/meta/meta-sdk.oe
+++ /dev/null
@@ -1,36 +0,0 @@
-DEPENDS = "ipkg-native ipkg-utils-native binutils-cross-sdk gcc-cross-sdk gdb-cross"
-
-inherit sdk
-
-SDK_DIR = "${TMPDIR}/sdk"
-SDK_OUTPUT = "${SDK_DIR}/image"
-
-IPKG_HOST = "ipkg-cl -f ${SDK_DIR}/ipkg-host.conf -o ${SDK_OUTPUT}"
-IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}"
-
-HOST_INSTALL = "binutils-cross-sdk gcc-cross-sdk gdb-cross"
-TARGET_INSTALL = "libc6 glibc-dev"
-
-do_populate_sdk() {
- touch ${DEPLOY_DIR_IPK}/Packages
- ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
-
- rm -rf ${SDK_OUTPUT}
- mkdir -p ${SDK_OUTPUT}
-
- cat <<EOF >${SDK_DIR}/ipkg-host.conf
-src oe file:${DEPLOY_DIR_IPK}
-arch ${BUILD_ARCH} 1
-EOF
- cat <<EOF >${SDK_DIR}/ipkg-target.conf
-src oe file:${DEPLOY_DIR_IPK}
-arch ${TARGET_ARCH} 1
-EOF
- ${IPKG_HOST} update
- ${IPKG_HOST} --nodeps install ${HOST_INSTALL}
- ${IPKG_TARGET} update
- ${IPKG_TARGET} install ${TARGET_INSTALL}
-}
-
-do_populate_sdk[nostamp] = 1
-addtask populate_sdk before do_build after do_install