aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta
AgeCommit message (Collapse)Author
2011-05-20package-index.bb: add support for deb and rpm.Dexuan Cui
[YOCTO #1024] Currently package-index.bb only supports ipk. This commit adds the support for rpm and deb, too. ------------------------------ How to generate and use repos: 1) run "bitbake package-index" after building some target, e.g., core-image-sato-sdk; 2) export ${DEPLOY_DIR_RPM}, ${DEPLOY_DIR_IPK} and ${DEPLOY_DIR_DEB} by a webserver on the host, assuming the host IP is 192.168.7.1, at http://192.168.7.1/rpm http://192.168.7.1/ipk http://192.168.7.1/deb 3) inside the target, according to the packaging system (rpm, ipk or deb) used when we generate the target image, we can use different ways to manage packages: 3.1) RPM run "zypper addrepo http://192.168.7.1/rpm main; zypper refresh" to retrieve info about the repo; next, we can use "zypper install/remove" to manage packages. 3.2) IPK add the repo info into opkg config file, i.e., in /etc/opkg/arch.conf, we can add something like "src i586 http://192.168.7.1/ipk/i586", and next, we run "opkg update" to make opkg update the list of available packages. And later, we can use "opkg install/remove" to manage packages. 3.3) DEB Currently in target, some important config files, like /var/lib/dpkg/status and /etc/apt/sources.list, for deb/apt are missing. So we can't install/remove package in target at present. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-04qemuimagetest: Enable toolchain automation tests in qemuimagetestJiajun Xu
Enable toolchain automation tests in qemuimagetest framework. 3 C/C++ test projects are added to test toolchain - cvs, iptables and sudoku-savant. User needs to set TEST_SCEN to "toolchain" in local.conf to enable tests. Test case will check if toolchain tarball exists under "${DEPLOY_DIR}/sdk". And it will extract toolchain tarball into /opt. It requires user to chown /opt to non-root user, who will run qemuimagetest. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2011-04-20Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Replace POKYBASE with COREBASERichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-10external-python-tarball: Drop FAKEROOT usage in favour of explicit options ↵Richard Purdie
to tar Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.Lianhao Lu
[YOCTO #908] Added CPPFLAGS into the environment file and added --sysroot to it. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-03-15package-index.bb: Added missing dependencies.Lianhao Lu
[YOCTO #871] Added missing dependencies to opkg-utils-native and opkg-native. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-03-05toolchain-script.bbclass: Added --sysroot to LDFLAGS.Lianhao Lu
[YOCTO #808] Added --sysroot to LDFALGS in environment files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-02-22Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-17recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.Lianhao Lu
Set the value of CONFIG_SITE for correct autoconf config site files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-17toolchain-script/populate_sdk/meta-toolchain: moving common code.Lianhao Lu
moving common code between populate_sdk.bbclass and meta-environment.bb into toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-01populate_sdk.bbclass/meta-toolchain: Made populate_sdk task more genericLianhao Lu
Move the populate_sdk task out of meta-toolchain. Made it more generic to support rpm/deb package format. This commit is dependant on a series of commit: 2ea0406e4516fc59dff86cb4adc35c82cb774c2f 7ffa45b7cfea24dae1b51f40cfc807bf78b21b66 bf201a74c243942af3fcae6f174496bdd819dbc0 3d29933f2925efe8a84f10efdf50396031c33ae4 3d29933f2925efe8a84f10efdf50396031c33ae4 9c724dbf57e610a9e06bbdce38383dee3ac49281 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-01-27external-python-tarball: include multiprocessing moduleJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-01-26meta-toolchain: Fix tar commandRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26meta-toolchain: Use --owner and --group options instead of using pseudo's ↵Richard Purdie
overhead for a simple task Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25util-linux.inc: Fix DEPENDS on gettext for native caseRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25meta-toolchain-sdk: Rename meta-toolchain-sdk to meta-toolchain-gmaeJessica Zhang
Change the name from toolchain-sdk to toolchain-gmae, which is more accurate to what meta-toolchain-sdk generates Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-20meta-environment: Remove the recursive dependency on do_compileDongxiao Xu
It is not needed to have dependency on each do_compile of its recursive depend tasks. This problem is triggered by building meta-toolchain-sdk from prebuilt result. Some packages like quilt-native, which is already been populated and packaged by do_populate_sysroot_setscene and do_package_write_xxx_setscene, however this recursive dependency of do_compile triggers the tasks flow of "do_setscene --> do_fetch --> do_unpack --> ..." again and do_setscene removes all the quilt-native files, making the other recipes failed while do_patch. Thanks for Kevin's help in root causing this issue. CC: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-01-18meta-environment.bb: fix comments typosOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-14external-python-tarball: add LIC_FILES_CHKSUMKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-12meta-environment: Remove c++ include dir from CXXFLAGS.Lianhao Lu
[BUGID #651]. c++ include dir is no longer needed in the environment files due to commit f13cb20. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-25meta-toolchain Add LIC_FILES_CHKSUMRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-24rootfs_ipk: The most recent opkg errors upon file overwrite. Until we fix ↵Richard Purdie
package conflicts, disable this for now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-21meta-environment: Added package of meta-environment-${TARGET_ARCH} forLianhao Lu
environment files. [BUGID #565] Fixing bug #565, added package of meta-environment-${TARGET_ARCH} for environment files used by cross-canadian toolchain. Also corrected the situation of empty config site file for target. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-16external-python-tarball: add chrpath to the tarballJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-12-14libsoup: Add LIC_FILES_CHKSUMSaul Wold
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-12-13meta-ide-suppport: Add LIC_FILES_CHKSUMSaul Wold
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-12-10Drop variables that do nothingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-10task-cross-canadian: Ensure it reflects TARGET_ARCH in PNRichard Purdie
If this recipe doesn't reflect TARGET_ARCH in its name, only one flavour of cross toolchain can be installed at once. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-10cross-canadian: pkg name includes target archLianhao Lu
This commit fixes Bug #528. 1. Added the target arch name to the pkg name of gcc-cross-canadian, gdb-cross-candian and bintuils-cross-candian. 2. Move the cross-canadian pkgs out of task-sdk-host into a new task task-cross-canadian. 3. Added the RDEPENDS of task-cross-canadian into meta-toolchain. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-11-28package-index: Fix after noexec changesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-22Meta: Recipe ReogranizationSaul Wold
This is the next stage of recipe reorganization, in this stage many recipes where moved to a new meta-demoapps layer since this is more appropriate for demo usage then the core. Additional some recipes were moved to meta-extras to indicate they may be depercated at a future time. A number of recipes were modified since dependencies need to be corrected. Signed-off-by: Saul Wold <Saul.Wold@intel.com>