summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* gdb: Replace struct siginfo with proper siginfo_tKhem Raj2012-07-173-1/+405
| | | | | | | | | | | | | Fixes errors like /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdb-7.4.1-r0.0/gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type (From OE-Core rev: 6e5b37403dd4d0a9a249535d07b36bbae98cadd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: Add debian archive snapshot mirrors to search listKhem Raj2012-07-171-1/+3
| | | | | | | | | | | | | I ran across this problem when apt 0.7.14 was not fetchable from regular debian mirrors and existing snapshot mirror did not have it either since we did not use proper syntax so it was not hitting that. (From OE-Core rev: 5a5f67e5486837b4d7e5a89cc27a5c8f8c8598ef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsof: define linux C library type when using eglibcTing Liu2012-07-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lsof tries to compile a temp c source file and execute the binary to determine linux C library type (file Configure, line 2689-2717). It is inpracticable for cross-compilation and may have build issue on some distros since it depends on host settings. Fix below error when building for 64bit target on 64bit host: [...] | dsock.c:481:44: error: 'TCP_LISTEN' undeclared (first use in this function) | dsock.c:482:45: error: 'TCP_CLOSING' undeclared (first use in this function) [...] | make: *** [dsock.o] Error 1 The actual issue exists in do_configure: [...] Testing C library type with cc ... done Cannot determine C library type; assuming it is not glibc. Which is in turn caused by missing 'gnu/stubs-32.h" when compiling the temp c source file on host: [...] fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. file gnu/stubs-32.h is provided by 32bit glibc. (From OE-Core rev: fbf22dfe1a0dca3fc7ac56e4fd274c0145efbc70) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: add GNUmakefile to the list of possible makefile namesRoss Burton2012-07-171-1/+1
| | | | | | | | (From OE-Core rev: b753eab1028ba48dfdcdeefa07f3f30743f3ee45) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unsetRichard Purdie2012-07-174-2/+6
| | | | | | | | | | | | | | | | If EXTRA_OECONF_FPU is left set, certain ARM variables related to hard-float can get pulled in and trigger rebuilds of the crosssdk code. The best solution is to simply force the variable to a known correct value for the SDK targets currently supported in the same way as TARGET_FPU. There is some slight rearrangement of the gcc code to ensure the variable is always used to call the fpu function. (From OE-Core rev: 410990445ada8cdcfaec4e6fa5791cee9a5b8983) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Fix python-nativesdk variable contamination issueRichard Purdie2012-07-171-0/+1
| | | | | | | | | | Without this, python-nativesdk-crypt can depend on openssl which is incorrect. (From OE-Core rev: 5740696c81a9143504c1cb93e94c54add27896e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Move crosssdk before cross to ensure correct variables are setRichard Purdie2012-07-171-2/+2
| | | | | | | | | | | | | | | | There was a bug showing up where the crosssdk recipes were being installed as machine specific in the sstate-control directory. This turned out to be due to the architecture fields used by sstate being set incorrectly. The problem is that the crosssdk inherits the cross class. It therefore needs to be listed in this if statement block before the cross check, not after. This should resolve some package architecture issue of crosssdk sstate files. (From OE-Core rev: 79fe28e6033273f9632ca7549d1599d3fd1463ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: upgrade to 5.0.5Bogdan Marinescu2012-07-171-3/+2
| | | | | | | | (From OE-Core rev: 9c8000fdf696e234301a67d51dfeccc9bd1fcace) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be definedMatthew McClintock2012-07-171-2/+20
| | | | | | | | | | | | | | | | | | Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if you need to check for the presence of the serial consoles you can also define SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This will prevent error message that pop up when the serial port is not present. SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" The above lines in machine.conf or elsewhere will have the effect of having two serial consoles and removing any that are not present at boot (From OE-Core rev: eecd65f188ba2c924626b7e1bf5c8e2eb51e9b59) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6Andrei Gherzan2012-07-171-1/+1
| | | | | | | | | | | | | Having XZ_COMPRESSION_LEVEL on -e -9 and -T 0 will make xz eat more than 6Gb memory. Reduce this to -6 to make xz to use about 471Mb on the tested machine. (From OE-Core rev: cfd201ecda95d00bc5d70aa5045c649b98ffe8b8) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: Add XZ variable to set number of threads to be used ↵Andrei Gherzan2012-07-171-1/+2
| | | | | | | | | | | | | | while compressing Default this variable to 0. This will make xz use as many threads as there are CPU cores on the system. (From OE-Core rev: 81c8e8a81e90ce95042e9fff8bac6fa011c416d1) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: Fix COMPRESS_CMD for xz to redirect compressed data to fileAndrei Gherzan2012-07-171-1/+1
| | | | | | | | | | | | Having -c modifier makes xz to output the compressed data to stdout. In this way the needed data will be in the do_rootfs log. Redirect data to ${IMAGE_NAME}.rootfs.${type}.xz . (From OE-Core rev: 7ceea61636d6a6f886002e3c29941da3356157ac) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpan.bbclass: Fix CCFLAGS.Xin Ouyang2012-07-171-1/+2
| | | | | | | | | | | | | | | | | | | We should not just replace CCFLAGS with CFLAGS while compiling, because this may cause run-time errors with perl's DynaLoader.pm. Tested on qemux86 with new libnet-libidn-perl bb recipe: root@qemux86:~# perl -e "use Net::LibIDN" Not a CODE reference at /usr/lib/perl/5.14.2//DynaLoader.pm line 213. END failed--call queue aborted at /usr/lib/perl/vendor_perl/5.14.2//Net/LibIDN.pm line 213. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. (From OE-Core rev: 855211ae7a224f96663862d4a0e58a90d945dd48) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* puzzles: convert to use SVNSaul Wold2012-07-171-6/+6
| | | | | | | | | | | Recently the tarball has been changing due the fact it gets rebuilt nightly and timestamps are getting updated and changed internal to the tarball. Moving back to SVN to try and address this. (From OE-Core rev: 8f30d41ede28a86564c402ce5b467e51aec6b15d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update proto -> protocol for recipesSaul Wold2012-07-179-11/+11
| | | | | | | (From OE-Core rev: 247fbed5a93800c44dc36e403f13bdc8dd704553) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xz: update to 5.1.2alphaKoen Kooi2012-07-171-5/+2
| | | | | | | | | | This contains bugfixes from the 5.0.3 and 5.0.4 releases (From OE-Core rev: bbdbb70192e16fe351f9cf8f781110faf839be51) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-sdk.bb: add libgomp and libgomp-dev by RECOMMENDSZhenhua Luo2012-07-171-1/+5
| | | | | | | | (From OE-Core rev: b2b682331cc1ec54448b5002ff94672d09fe9e7c) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-dbus: upgrade to 1.1.0Bogdan Marinescu2012-07-171-3/+3
| | | | | | | | | | Tested by compiling core-image-basic (From OE-Core rev: 39b2a455ab6b7c38b782e1b3e2811c3d9e4de7af) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/rootfs_deb: use more reliable check for package existencePaul Eggleton2012-07-171-1/+1
| | | | | | | | | | | | | It turns out "apt-cache showpkg" does return some information when a package does not exist but another package recommends it, which can occur for empty *-dev packages; so use "apt-cache policy" with a different line count instead. (From OE-Core rev: ac62761a9cacdfd0225d2db5a75584e6c85469a8) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: updated to 3.4.3Bogdan Marinescu2012-07-173-7/+7
| | | | | | | | | | Tested by building core-image-sato-sdk. (From OE-Core rev: d67e47bd457de90b19428245644dc64ecf4ba11a) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Allow overriding of debugedit starting pathPeter Seebach2012-07-171-1/+1
| | | | | | | | | | | | | | | In the usual case, the computed path used for debugedit to fix up path references for the target filesystem is correct. However, prebuilt binary components, such as prebuilt toolchains, can have debug paths that do not reflect paths within the local build directory. Providing an override lets us continue to use the standard debugedit logic in package.bbclass. (From OE-Core rev: 32b1fde106bf423873a4a56e1111f230494e2d4a) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* slang: change char type to signed char in macrosRoy.Li2012-07-172-1/+204
| | | | | | | | | | | | | | | | | | | | | | Fix [YOCTO 2726] C language has 3 distinct char types: char unsigned char signed char A char has the same range of values as signed char on X86, but same as unsigned char on ARM which made Slang's typecast() and array_sort() unable to work for char value on ARM, since Slang is assuming "char" as "signed char". Now we change "char" as "signed char" explicitly in util/mkslarith2.sl, and use it to regenerate src/slarith2.inc (From OE-Core rev: 0a1d842e2db63265a6a6708b1101e1f52f223fc9) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: Disable gtk supportRichard Purdie2012-07-171-5/+3
| | | | | | | | | | | | | There are only a couple of helper utilities within gconf that need gtk+ as a dependency and those are unused and pretty useless. We might as well drop the dependency on gtk and allow more parallel builds by reducing dependency bottlenecks. (From OE-Core rev: 6facee8443966b646cd1e72f14ae13e58a13f621) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4.9.bb: fix builds on systems with older libcMatthew McClintock2012-07-172-1/+29
| | | | | | | | | | | | | | | | dbconvert.o: In function `rpmdb_convert': | /local/jenkins/jobs/yocto-upstream/workspace/label/master/machine/p4080ds/poky/master/tmp/work/x86_64-linux/rpm-native-5.4.9-r45/rpm-5.4.9/tools/dbconvert.c:126: warning: the use of `tempnam' is dangerous, better use `mkstemp' | dbconvert.o: In function `main': | dbconvert.c:(.text+0x923): undefined reference to `htobe32' | dbconvert.c:(.text+0xaa4): undefined reference to `htole32' | dbconvert.c:(.text+0xac9): undefined reference to `htole32' (From OE-Core rev: add2c772cd404e8bea4828959fcb5ee33c35c048) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkelfimage: Upstream fixed packaging issue so upgrade to e1e6a91Raymond Danks2012-07-171-1/+1
| | | | | | | | | | | | | | Address QA issue: Files/directories were installed but not shipped. New revision contains patch to mkelfimage removing /usr/share/mkelfImage/elf32-i386 directory from Makefile install target. http://review.coreboot.org/#/c/1195/ (From OE-Core rev: 7dd161816ccbb03db4f86902f96d3e86e09ccb64) Signed-off-by: Raymond Danks <ray.danks@se-eng.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package install failure on systems without /sbin/ldconfigAmy Fong2012-07-171-2/+2
| | | | | | | | | | | | | | | | | | Package install failures due to issues in post install rules. package_do_shlibs only looks for libraries in a directory "lib", this should be modified to the variable baselib. ldconfig_postinst_fragment failure observed on systems without /sbin/ldconfig [ -x /sbin/ldconfig ] && /sbin/ldconfig results in the post install rule returning a failure. Modify to if [ -x /sbin/ldconfig ]; then /sbin/ldconfig; fi (From OE-Core rev: 3f85ab6d0d05a4e34fe73fa343d2b3b942fc69b7) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: replace TUNE_CONFLICTS with TUNECONFLICTSMartin Jansa2012-07-175-5/+5
| | | | | | | | | | | | * it wasn't consistent with other machine configs * reported 2 months ago.. http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022154.html (From OE-Core rev: 3fec966531059b4b21f40be3b22a60edf88c5190) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perl, python to DEPENDS1.3_M2.rc1Tom Zanussi2012-07-121-1/+3
| | | | | | | | | perf has perl and python compile-time dependendencies, add them. (From OE-Core rev: 1b40dac2c501ae8c8d812cf2866fe7917f144a19) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.0: perf scripting supportBruce Ashfield2012-07-112-8/+8
| | | | | | | | | | | | | | | | Updating the 3.0 SRCREVs to pickup the recent perf scripting fixes. cef17a1 perf: add sgidefs.h to for mips builds 3258da3 perf: change --root to --prefix for python install 1f9c25b perf: add 'libperl not found' warning f2b1bf1 perf: use pkg-config instead of python-config 568e05f perf tools: Add support to install perf python extension 7e47f81 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" (From OE-Core rev: 20405bdab18b7a2b101f818e72863d289d5945e4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: remove unused patches, they were all merged upstreamRoss Burton2012-07-117-2242/+0
| | | | | | | (From OE-Core rev: bf134eaf752cd5db6cce79ad4c1ae0f25d46b08e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgomp: add libgomp (openmp) library, and build for powerpc targets by defaultMatthew McClintock2012-07-113-2/+21
| | | | | | | (From OE-Core rev: b76a7bc8dcb7aed7d6f026e77a226837004c50af) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: gcc-cross-canadian: use correct location for libraries for powerpc64Matthew McClintock2012-07-112-3/+3
| | | | | | | | | | | This fixes the issue where gcc invokes the linker with an incorrect -L library location and gives up because it can't find libraries. It was looking in a /lib folder instead of /lib64 (From OE-Core rev: 1b428f0151a5b86332b501871bf4a925b43580a5) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply ↵Matthew McClintock2012-07-112-1/+5
| | | | | | | | | with ABI (From OE-Core rev: 243539efec94e79dade2525d0ab3586eea48c529) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct varMatthew McClintock2012-07-111-1/+1
| | | | | | | (From OE-Core rev: 4be17f018f8dd0ed576498badc03ee13095b2263) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc.inc: fix for libdir == /usr/lib64Matthew McClintock2012-07-111-2/+2
| | | | | | | | | | On 64bit systems dtc will still install libaries in /usr/lib unless we havet this override (From OE-Core rev: b60579e66601ba60669a9e1194409fcd8b80530e) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix default.supp missing issueZhenhua Luo2012-07-111-1/+5
| | | | | | | | | | When run valgrind, following error appears: ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp" (From OE-Core rev: 0b3261d513cdad80174a9b9e804981c50bcb7ca2) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* directfb: disable imlib2 explicitlyDennis Lan2012-07-111-1/+2
| | | | | | | | | | | | | | | | | | | | When HOST machine installed imlib2, compiling directfb in OE will direct this library, and try to use it. This is wrong, since there is no imlib in OE, so we should disable it explicitly here. Error as following: | idirectfbimageprovider_imlib2.c:64:20: fatal error: Imlib2.h: No such file or directory Config.log as following (which is wrong): configure:19602: checking for imlib2-config configure:19620: found /usr/bin/imlib2-config configure:19633: result: /usr/bin/imlib2-config (From OE-Core rev: fbdee213465f38791f3dd6c2663f2fe295be3596) Signed-off-by: Dennis Lan <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: do_install failed (parallel issue)Robert Yang2012-07-103-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | install-neon-lib needs libsvn_delta-1.la which will be regenerated during libsvn_delta-1.la's installation, if libsvn_delta-1.la is in regenerating and at the same time install-neon-lib links it, the error willl happen. The error message is: /bin/ld: cannot find -lsvn_delta-1 collect2: error: ld returned 1 exit status This is a parallel issue, so it doesn't happen often. Note: The autoreconf doesn't generate build-outputs.mk, it would be generated by autogen.sh (use build.conf as the input), but autogen.sh isn't suitable for cross compiling, so both modified build-outputs.mk and build.conf. [YOCTO #2727] (From OE-Core rev: ce37c45abb4cf43e5009867f695982de2eb33450) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: ensure deterministic build by disabling libcurlSaul Wold2012-07-101-1/+2
| | | | | | | | | | gnupg has it's own fake curl, since we use gnupg with zypper, there does not seem to be a strong reason to add curl to the depends list. (From OE-Core rev: 44ea2cf548ca20488449d347f8f3b7d49f7e7493) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perf-tui featureTom Zanussi2012-07-101-2/+6
| | | | | | | | | | | | | | | Add a new feature named 'perf-tui'. Adding this into the PERF_FEATURES variable in perf.inc will enable the perf TUI (Text-base UI) user interface on a target, which adds libnewt and turns on the perf text UI options in perf, if perf is included in an image. If 'perf-tui' isn't named as a feature (the default), the perf TUI will be disabled and unavailable. (From OE-Core rev: 4fd8a550886f02189e4ed127d0a2f16e92f8474c) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perf-scripting featureTom Zanussi2012-07-101-3/+9
| | | | | | | | | | | | | | | Add a new feature named 'perf-scripting'. Adding this into the PERF_FEATURES variable in perf.inc will enable perf scripting on a target, which will turn on all the language bindings currently available in perf (Perl and Python), if perf is included in an image. If 'perf-scripting' isn't named as a feature (the default), all perf language bindings will be disabled and unavailable. (From OE-Core rev: fc0661041436013b9099dbd659994a2b8b292c19) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: add perf.incTom Zanussi2012-07-102-0/+24
| | | | | | | | | | Add a perf.inc to contain utility functions and definitions and to avoid cluttering up the main recipe. (From OE-Core rev: 414d00be5b350ea84fc7e1ff690f78b3396cfcd0) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: perf, unionfs and yaffs2 fixesBruce Ashfield2012-07-102-8/+8
| | | | | | | | | | | | | | Updating the 3.4 SRCREVs to pickup the following changes: 6297e4c perf: add sgidefs.h to for mips builds 69b7817 yaffs: add leading underscore to mtd_info function names 160f1ac yaffs: change type for mode to umode_t 2d875e8 Unionfs: use mode_t (From OE-Core rev: 9d75c34948f5d961cff9d72fbaa628ff58821cc7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: perf: fix mips buildBruce Ashfield2012-07-103-9/+9
| | | | | | | | | | | | | | | | | | | Updating SRCREVs for the following fix: Author: Tom Zanussi <tom.zanussi@intel.com> Date: Tue Jul 10 09:38:40 2012 -0500 perf: add sgidefs.h to for mips builds Allow Python.h to find the definitions it needs on mips i.e. get rid of the error: "_ABIN32" is not defined. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> (From OE-Core rev: 04396899dc7973261404d5fbec3f85aa03a32e03) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: fix installation of dev / dbg packagesPaul Eggleton2012-07-102-1/+93
| | | | | | | | | | | | | | | | | | | | | | OE-Core revision ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7 moved opkg's configuration file into /etc/opkg, and opkg always reads all files under this directory even if -f is specified (as it is during do_rootfs in order to specify our own generated config file), and this means that after opkg-collateral is installed into the rootfs, this version of the config is used, resulting in opkg ignoring the list of packages it has already downloaded (since it now sees list_dir as /var/lib/opkg instead of the default /var/lib/opkg/lists) and thus it fails to install any of the "attemptonly" packages (including *-dev, *-dbg, etc.). If we change the -f option to ignore configuration files in /etc/opkg then we no longer have this problem. Fixes [YOCTO #2595]. (From OE-Core rev: 37df134557802ba116f001597b7cd5e9bc39e188) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Ensure CCACHE_DIR is cleaned by do_clean taskRichard Purdie2012-07-101-0/+2
| | | | | | | | | | This ensures a rebuild does really build from scratch when ccache is in use. [YOCTO #2696] (From OE-Core rev: ddf52d0161096b089fad8f3ace69b6515d7b7226) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Fix libzypp ansidecl related build failuresRichard Purdie2012-07-103-2/+28
| | | | | | | | | | | | | | | cmake looks at all include statements, even if they're not used. To make builds deterministic and avoid needing to add binutils as a dependency for libzypp, completely remove the include from the header file, even if it is never used. This avoids issues where you'd build binutils, then libzypp, then remove binutils (and hence ansidecl.h) and then recompile libzypp which would still have the dependency and hence fail. (From OE-Core rev: bfaaeb44c5023e2d2a9414c07694c75fa527283b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Drop the remainder for the FETCH/CHECK/RESUMECOMMAND variablesRichard Purdie2012-07-101-6/+0
| | | | | | | | | This completes the removal of these older variables and their replacement with FETCHCMD. This change requires the latest bitbake to operate optimally. (From OE-Core rev: 7dd2a12ebe49865720dcea60cd2ed13205c0c4fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add passive-ftp option to the default FETCHCMD_wgetRichard Purdie2012-07-101-1/+1
| | | | | | | | | This brings it into sync with the wget FETCHCOMMAND and RESUMECOMMAND variables. (From OE-Core rev: 0f8290ff1c9bc86c744f67ce6194dd6911533012) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Drop the old svn FETCH/UPDATE/RESUMECOMMAND variablesRichard Purdie2012-07-101-5/+1
| | | | | | | | | The svn fetcher converted to use FETCHCMD a long time ago. This drops several variables which are effectively useless. (From OE-Core rev: 34a8cdafee145d04f8b526b094341c34cf36ba1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>