aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-11-29Self Hosted Image: Added Task and ImagesSaul Wold
This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-11-29intltool: remove XML::Parser checkSaul Wold
Add Patch to disable the XML::Parser check in the target intltool.m4, this check will find the host (not native) XML::Parser if it's installed possibly causing Host contamination, but will also fail configuration if XML::Parser is not installed on the host. Since we know that XML::Parser is installed on the image, we don't really need this check, so comment it out. From RP in mail thread: > If the recipe needs perl for > some other reason than intltool, it needs perlnative but it if only > needs perl for intltool, we shouldn't need the dependency. The .m4 macro > checks are well intended but don't fit the way we use perl. I really > don't want to end up in a position where intltool automatically means we > have to add perlnative as a dependency and we've previously seen many > problems related to that. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-29tzdata/tzcode: Update tzdata to 2011nSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-29mesa: package gl/egl/osmesa to separate packagesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-29distro_tracking_fields: update the statusXiaofeng Yan
directfb to 1.4.15 xorg-xserver-lite to 1.11.1 libx11-diet to 1.4.4 Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-29distro_tracking: Update manual check dates (readline, gcrypt)Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-29xserver-xorg: only use --disable-dga in xserver-xorg-liteOtavio Salvador
Xorg VESA driver calls DGAInit enforcing this symbol to be available to the driver to work so we revert back to only disable DGA for lite flavor of Xorg. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-11-29libx11-trim: update to 1.4.4Xiaofeng Yan
Some description : 1 Remove --with-xcb because xcb is necessary item in the new version. 2 keysymdef_include.patch uses in keeping native directory of X11 as the default configuration. \ or else host directory "/usr/include/X11" is selected when running ./configure. 3 makekeys_crosscompile.patch avoid host contamination. 4 x11_disable_makekeys.patch uses in compiling makekey.c needed by makekeys-makekeys.o Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-29rpm_5.4.0.bb: Build rpm without xzMatthew McClintock
This fixes the following issue: Log data follows: | NOTE: Creating RPM package for perf-dbg | NOTE: Creating RPM package for perf | NOTE: Creating EMPTY RPM Package for kernel | NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-dev | NOTE: Creating RPM package for kernel-vmlinux | NOTE: Not creating empty RPM package for kernel-misc | NOTE: Creating RPM package for kernel-devicetree | NOTE: Creating RPM package for kernel-module-libcrc32c | NOTE: Creating RPM package for kernel-module-crc-itu-t | NOTE: Creating RPM package for kernel-module-sctp | NOTE: Creating RPM package for kernel-module-pcbc | NOTE: Creating RPM package for kernel-module-crc32c | NOTE: Creating RPM package for kernel-module-binfmt-misc | NOTE: Creating RPM package for kernel-module-nfsd | NOTE: Creating RPM package for kernel-module-exportfs | NOTE: Creating RPM package for kernel-module-msdos | NOTE: Creating RPM package for kernel-module-nls-utf8 | NOTE: Creating RPM package for kernel-module-udf | NOTE: Creating RPM package for kernel-module-isofs | NOTE: Creating RPM package for kernel-module-usbhid | NOTE: Creating RPM package for kernel-module-scsi-wait-scan | NOTE: Creating EMPTY RPM Package for kernel-modules | /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory | ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information) Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-11-29Introduce multiarch DISTRO_FEATUREJulian Pidancet
This patch introduces a distro feature which enables gcc to produce both 32bit and 64bit code, and enables binutils to operate on both 32bit and 64bit binaries. It differs from multilib toolchains in that it does not require to compile a version of the libc for each architecture variant. However, the code produced for the secondary architecture will not be linkable against the libc. v2: - Renamed the feature name from "biarch" to "multiarch". The GCC installation manual claims that the mips-linux can be made a tri-arch compiler (http://gcc.gnu.org/install/configure.html) - For x86_64, the compiler is made bi-arch by default, so nothing has to be done in particular. - I analyzed the gcc/config.gcc from GCC sources and added in this patch all the architectures that could be made biarch with the version of gcc currently used in OE, which are powerpc, and sparc, in addition to x86. mips and s390 will probably be supported in future versions of gcc. For x86 and sparc, only the --enable-targets=all option is valid to make this work (this option doesn't have any other side effects than making the compiler bi-arch). For powerpc, I used the --enable-targets=powerpc64 option (although 'all' also works). Note: - Untested on powerpc and sparc. But I believe it works the same as with x86. - gcc in meta-toolchain is also made multiarch. Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
2011-11-29opkg-utils: handle 6 digit UID fields properlyKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-29python-native: Fix gcc compiler detecting logicKhem Raj
We have a patch unixccompiler.patch where we try to throw away everything except first element of CC string but this does not work if gcc is prepended with something e.g. CC="ccache gcc" then the logic fails and it ends up in some modules failing on you silently (_sqlite3) in my case. The fix here is to drop basename so we keep the whole string as it is and then the detection function searches for gcc string in the whole CC. This works in both cases one the original intent of the patch and the second described above. One place where it will fail is if someone has non-gcc compiler installed in some subdir which has gcc in it e.g. /usr/gcc/fakecc but for OE this should never happen. Ideally the the detection logic should have tried to execute gcc and then parsed --version output or something. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-11-29toolchain-scripts.bbclass: Make it work when TCLIBC=uclibcKhem Raj
This class currently only works with eglibc. Since it adds dependencies explicitly on eglibc when using uclibc this creates problems. So we make sure that it checks for TCLIBC to determine system C library in use Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-11-29default-distrovars: Define SDK_VERSION and DISTRO_VERSIONKhem Raj
runqemu scripts check for them and when using just oe-core these are not defined anywhere Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-11-29pulseaudio: update to 1.1, delete 0.9.xKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-29libjson: add 0.9Koen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-26getVar/setVar cleanupsRichard Purdie
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-26ghostscript: Ensure we run reautoconfRichard Purdie
Avoding the autoreconf with a hardcoded do_configure is bad practise since it can hide various errors. This patch ensures we do use the standard do_configure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-26ghostscript-native: Ensure the sys/time/h fix is applied for native buildsRichard Purdie
On my system, the sys/time.h header is in a subdir off /usr/include which causes a build failure. Apply the target CFLAGS fix to native builds as well to address this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-26ghostscript: Really fix parallel make raceRichard Purdie
There continue to be parallel make race issues showing up on the autobuilder. This patch removes some potential sources of these. The rm is unrequired since we're using cp -f. The || true ensures that if we did race against someone it becomes harmless. [YOCTO #1202] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-25ofono: Fix missing python dependency and package tests separatelyRichard Purdie
We need to ensure there is a python dependency for the ofono python test scripts. To do this without introducing the dependency unnecessarily for the core ofono functionality, this patch splits the tests into a separate package too. [YOCTO #1705] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-25Nothing uses USERNAME, remove it - can cause sstate-cache conflictsMatthew McClintock
USER is the correct variable to use, also this can affect sstate cache as well. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24gcc-package-target.inc: add the symbol link /lib/cppDexuan Cui
When I was trying self-hosted-image, eglibc's do_install failed in the target: ERROR: cannot stat bootparam_prot.h: the cause is: rpcgen doesn't work properly: rpcgen can't exec /lib/cpp since it doesn't exist. According to http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lib.html: "if a C preprocessor is installed, /lib/cpp must be a reference to it, for historical reasons. The usual placement of this binary is /usr/bin/cpp". Typical distros, like Ubuntu, openSuSE, Fedora and RHEL, all comply with the rule. Actually in meta/recipes-devtools/gcc/gcc-package-target.inc, we do try to package ${base_libdir}/cpp: FILES_cpp = "\ ${bindir}/${TARGET_PREFIX}cpp \ ${base_libdir}/cpp \ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1" But unluckily we didn't create a symbol link in do_install. This patch adds the symbol link. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-11-24site/x86_64-linux: add cvs config variablesNitin A Kamble
configure of cvs packages was failing on the meta-toolchain for a x86_64 target. Configure error reported: checking whether printf supports %p... configure: error: cannot run test program while cross compiling This fixes [YOCTO #1781] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24bitbake.conf: We only care about the absolute value of baselibRichard Purdie
The value of baselib can be constructed in several different ways and from a sstate perspective we don't care how it was made up, we only care what the final value is. This uses the new functionality in bitbake to ensure we only include the value of baselib and not any intermediate dependencies. [YOCTO #1583] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24avahi-ui: Fix packaging and conflict with the avahi recipeRichard Purdie
We need to remove the files from avahi-ui which conflict with the avahi recipe. If we don't do this they trigger packaging warnings and can also overwrite files in the sysroot unexpectedly causing build failures (if X depends on avahi, it expects avahi's files to stay there, not disappear as avahi-ui build/stages). This patch cleans up the packaging although I wish there were an alterantive to the do_install which makes my eyes bleed. [YOCTO #1770] [YOCTO #1722] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24eglibc.inc: Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKEMatthew McClintock
Without this simply changing the number of threads via PARALLEL_MAKE can invalidate sstate-cache Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-11-24patch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cacheMatthew McClintock
The method of resolving the patch should not effect the sstate-cache signature. Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-11-24gtk+: Have gtk+ pick up ${NM} from the environmentXiaofeng Yan
when gtk+ configures, it should pick up ${NM} from the environment \ if it is defined, instead of just looking for "nm". Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-24tslib: Set open mode for ts_calibate.cXiaofeng Yan
Get patch from: http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/27614 There is a potentially "unsafe" use of open(). Ubuntu 8.10+, for instance, by default enables the compiler flag -D_FORTIFY_SOURCE=2 \ which throws an error of ts_calibrate.c. To fix this, \ set a mode in the open() call, patch patched ts_calibrate.c \ to set 0644 (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) and it compiles fine Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-24rpm: Flush old logs by change the DB_CONFIGMei Lei
Fixes [YOCTO #1174] Rpm logs will grow indefinitely, so change the config to flush those old logs. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-11-24eglibc_2.13: update SRCREVKang Kai
Update eglibc 2.13 SRCREV to 15508, just to sync with upstream Remove glibc_bug_fix_12454.patch, because it is already merged. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-11-24base-passwd: add Upstream-Status to patches, remove unused patchScott Garman
mysql.patch is not used by the recipe anymore, so delete it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-24dosfstools: add Upstream-Status to patchesScott Garman
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-24bitbake.conf: Set BB_CONSOLELOG so we log console messages by defaultRichard Purdie
The console log is often helpful for debugging issues. Difficult to reproduce bugs would benefit from a log being generated by default as it may be difficult to come by after the fact. Log to ${TMPDIR}/cooker.log.${DATETIME} by default. [YOCTO #1771] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24base.bbclass: Use bb.plain to print the build headerRichard Purdie
If we just use print, the bitbake logging functions don't see the message and it can get lost if bitbake is for example logging messages to disk. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24libtool: Avoid relinking when cross compiling, its pointlessRichard Purdie
There is no point in having "executable" binaries in the .libs directory linked with different rpaths to the target which could concivably be run on the build system when cross compiling. This patch removes the extra rpaths ($compile_rpath) so that the output from the "link" stage can be used on the target. We can then avoid having to "relink" during the install stage. This saves some build time (do_install is over 2 minutes faster for pulseaudio). This patch also removes an annoying "seems to be moved" warning which is totally bogus in the sysroot case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-23apt: Fix locale header and hardcoded libname issuesRichard Purdie
apt wasn't building on modern libc/compiler combinations due to missing header includes. The libcpp version was also being hardcoded, this patch generates it dynamically to work on different host systems which no longer have this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-23directfb: change check sumXiaofeng Yan
Change check sum of directfb. The previous checksum was incorrect when it was added due to a corrupted download on the submitter's system. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-23distro_tracking_fields: Update after Manual CheckSaul Wold
Checked upstream for updates of the following packages: - libiconv - libxml2 - sysstat - tcp_wrapper - texinfo Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-23distro_tracking: update manual checks for recipesShane Wang
Updating manual checks for jpeg, tinylogin, eggdbus, setserial, acpid, menu-cache, x11vnc, etc. Signed-off-by: Shane Wang <shane.wang@intel.com>
2011-11-23distro_tracking: update manual checks for recipesShane Wang
Updating manual checks for minicom, libtirpc, opkg, which, quota, rpcbind, strace, wireless-tool, irda-utils, libical, flac, libomxil, libsamplerate0, etc. Signed-off-by: Shane Wang <shane.wang@intel.com>
2011-11-23distro_tracking: update manual checks for recipesShane Wang
Updating manual checks for hdparm, screen, watchdog, freetype, oprofile, and tcf-agent. Signed-off-by: Shane Wang <shane.wang@intel.com>
2011-11-23at: update the upstream-status of patchesNitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-11-23distro_tracking: update manual checks for various recipesScott Garman
Updating manual check dates for the following recipes: tar, libpng, expat, dosfstools, e2fsprogs Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-23distro_tracking: Refect Recipe Updates & StatusSaul Wold
* libnl - NO_UPDATE_REASON due to incompatibility * zlib - has wrong version in update list (121) * libtasn1 - Update to 2.10 * pkgconfig - NO_UPDATE_REASON due to removal of glib-conf * file - update to 5.09 * dchp - New version is 4.2.3, not updated yet. * tiff - NO_UPDATE_REASON wait until 4.0.0 * gobject-interopsectio - NO_UPDATE_REASON can not cross-build * gnu-config - Udpate to git HEAD - requires ASSUME_PROVIDED += "git-native" Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-23gconf: Add note to header about patch filed upstreamRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-23gconf: Ensure the correct backend directory is usedRichard Purdie
Without these changes, gconf will use the hardcoded backend directory meaning we can see errors when building if the binary was relocated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-23gconf: Ensure that GCONF_SCHEMA_INSTALL_SOURCE uses correct pathsRichard Purdie
The gconf .m4 files use the path encoded into the gconf-native tools by default to populate this variable. This doesn't work if we're relocating the gconf-native binaries. By setting this variable we ensure that the m4 files always pick up the correct path. This fixes errors seen on the yocto autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-23matchbox-stroke: Update to latest git revision to add missing Xrender dependencyRichard Purdie
Without this, linking can fail due to missing libraries since the code depends on Xrender. The fix was already upstream, we just need to use a revision that includes it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>