summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-31 10:21:27 +0000
committerPhil Blundell <philb@gnu.org>2004-07-31 10:21:27 +0000
commit2c0f6987f2912d1823e8a060008d4cae5fb8ed37 (patch)
tree5afca10a2143d79bf88f3ef8fc9a97f02ca4310b /meta
parent699eaf307c8c7639b2360376326618cc21ce8d1c (diff)
more sdk tweaking
BKrev: 410b72a7h2v5BStqtNEiHXuS0tckDg
Diffstat (limited to 'meta')
-rw-r--r--meta/meta-sdk.oe7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/meta-sdk.oe b/meta/meta-sdk.oe
index 26fc3f236c..edbe19697b 100644
--- a/meta/meta-sdk.oe
+++ b/meta/meta-sdk.oe
@@ -8,6 +8,9 @@ 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}
@@ -24,9 +27,9 @@ src oe file:${DEPLOY_DIR_IPK}
arch ${TARGET_ARCH} 1
EOF
${IPKG_HOST} update
- ${IPKG_HOST} --nodeps install binutils-cross-sdk gcc-cross-sdk gdb-cross-sdk
+ ${IPKG_HOST} --nodeps install ${HOST_INSTALL}
${IPKG_TARGET} update
- ${IPKG_TARGET} install glibc-dev
+ ${IPKG_TARGET} install ${TARGET_INSTALL}
}
do_populate_sdk[nostamp] = 1