summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts/send-pull-request: fix typoOtavio Salvador2011-12-121-1/+1
| | | | | | s/No cover letter will be send./No cover letter will be sent./ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* x86 tune: fix TUNE_PKGARCH definition for proper PACKAGE_ARCHNitin A Kamble2011-12-122-5/+5
| | | | | | | | | | | | | | | | | | | rpmbuild can not handle the PACKAGE_ARCH of these kinds: x86_64-x32, core2-64, core2-64-x32 With these kinds of PACKAGE_ARCH the --target parameter of rpmbuild becomes like: core2-64-x32-poky-linux-gnux32 ; And rpmbuild extracts %_target (arch) wrongly as core2 generating these kinds of rpms with incorrect filenames: zip-3.0-r0.core2.rpm So this commit fixes the issue by making PACKAGE_ARCH like this: x86_64_x32, core2_64, core2_64_x32 Now --target parameter of rpmbuild becomes like: core2_64_x32-poky-linux-gnux32 ; And rpmbuild extracts %_target (arch) correctly as core2_64_x32 generating these kinds of rpms with correct filenames: zip-3.0-r0.core2_64_x32.rpm Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* openssl-1.0.0e: Update x32 ConfigureH.J. Lu2011-12-121-1/+1
| | | | | | | | | | | | | Make linux-x32 as close to linux-x86_64 as possible: 1. Add -mx32 -DMD32_REG_T=int. 2. Changed to -O3. 3. Remove -pipe -g -feliminate-unused-debug-types. 4. Remove -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS. 5. Add :::x32 for multilib. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
* libacpi: Use the cross strip instead of host stripNitin A Kamble2011-12-122-2/+26
| | | | | | | | | | to avoid this build error on x32: | strip: Unable to recognise the format of the input file `test-libacpi' | make: *** [test-libacpi] Error 1 | ERROR: oe_runmake failed Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* siteinfo: create a new siteinfo for x32-linuxH.J. Lu2011-12-122-1/+10
| | | | | | | | | | X32 has different sizes for many types: 1. off_t and ino_t are 8 byte, instead of 4 byte. 2. pthread_mutex_t is 32byte, instead of 24 byte. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
* pax: fix compilation with x32 toolchainNitin A Kamble2011-12-122-2/+188
| | | | | | | | | off_t is 8byte for x32. We need to check both _FILE_OFFSET_BITS and size of off_t to see if file offset is 64bit. This patch adds AC_CHECK_SIZEOF(off_t) and checks SIZEOF_OFF_T == 8. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* mesa: Properly create share library for x32H.J. Lu2011-12-121-3/+17
| | | | | | | | Also pass -mx32 parameter to gcc to create create share library for x32. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
* findutils: Fix compilation for x32 toolchainNitin A Kamble2011-12-122-2/+43
| | | | | | | | | | | | | Work around gnulib time_t assumption in findutils for x32 time_t is 64bit and long int is 32bit on x32. But gnulib used in findutils assumes time_t values fit into long int. Such assumption is invalid for x32 and should be removed. This patch is a workaround to compile gnulib for x32. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
* libacpi: Fix libdir for x32Nitin A Kamble2011-12-122-2/+50
| | | | | | | | libacpi doesn't use base_libdir for install. This patch adds base_libdir support so that x32 libraries are installed properly. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
* pulseaudio: fix compilation with x32 toolchainNitin A Kamble2011-12-122-1/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes assembly syntax compatible with x32 toolchain to avoid these x32 gcc errors: | pulsecore/svolume_mmx.c: Assembler messages: | pulsecore/svolume_mmx.c:107: Error: `(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:135: Error: `(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:161: Error: `(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:162: Error: `8(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:180: Error: `(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:210: Error: `(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:244: Error: `(%esi,%rdi,4)' is not a valid base/index expression | pulsecore/svolume_mmx.c:245: Error: `8(%esi,%rdi,4)' is not a valid base/index expression | make[3]: *** [libpulsecore_1.1_la-svolume_mmx.lo] Error 1 Orignally these assembly lines are written for x86_64 ABI, now they are also compatible with X32 ABI. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* mdadm: Make custom CC definition conditionalNitin A Kamble2011-12-122-2/+26
| | | | | | | | | | | | By hardcoding CC's definition in the Makefile, all the gcc parameters set by tune settings are lost. Causing compile failure with x32 toolchain As the bitbake defined CC is good, there is no need to redfine CC in the make file, hence making the CC definition in the Makefile conditional. This fixes bug: [YOCTO #1414] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gst-fluendo.inc: remove unneccessary hackNitin A Kamble2011-12-121-4/+0
| | | | | | | | | | This fixes bug: [YOCTO #1403] the custom definition of CC was causing build isuses with x32 toolchain. And also I found out that the hack is not neccessary anymore. the affected gst-fluendo-mpegdemux recipe builds fine without the CC hack. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* dosfstools: update native to 2.11Otavio Salvador2011-12-127-261/+69
| | | | | | | This unify recipes for target and native builds and also drops the the already merged patches. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* lzop-1.03: add recipeChristopher Larson2011-12-122-0/+417
| | | | | | | This is needed by some kernels when CONFIG_KERNEL_LZO=y (specifically, given the current defconfig, this affects linux-omap4 2.6 in the meta-ti layer). Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* task-self-hosted: Move tools to host-tools taskSaul Wold2011-12-121-10/+10
| | | | | | | | Moved kernel modules for iptable and tun, along with dhcp-client iptables, mc, screen to host-tools as they are not sdk. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* task-self-hosted: Add host-tools taskSaul Wold2011-12-121-0/+12
| | | | | | | Added tools to create and manage ext* partitions e2fs*, parted Signed-off-by: Saul Wold <sgw@linux.intel.com>
* task-self-hosted: Added perl-pod (slight reorder)Saul Wold2011-12-121-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* task-self-hosted: Reorder by AlphaSaul Wold2011-12-121-19/+19
| | | | | | No additions/subtractions Signed-off-by: Saul Wold <sgw@linux.intel.com>
* texinfo: fix compile failure due target makedoc binary being usedSaul Wold2011-12-122-2/+46
| | | | | | | | | | | Need to have the texinfo-native build and install a host sysroot makedoc binary and then patch the target build to use this binary. This requires that we don't ASSUME_PROVIDED texinfo-native any longer since we need to install this makedoc tool which is not part of the normal distrubtion. [YOCTO #1664] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf: remove texinfo-native from ASSUME_PROVIDEDSaul Wold2011-12-121-1/+0
| | | | | | | | We need to build texinfo-native to get and install the makedoc tool [YOCTO #1664] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* ncurses: libcurses.so should link to libncurses.soSaul Wold2011-12-121-1/+4
| | | | | | | | | The current libcurses (backward compat) links to libncurses.so.5.9, this causes a problem since this library also needs libtinfo, the libncurses.so, uses a "ld script" to include both, libcurses.so should point to libncurses.so (the script) not the library. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* connman: Default to enabling ethernet interfacesRichard Purdie2011-12-122-1/+24
| | | | | | | | This fixes various qemu image failures where connman has changed its default and would deconfigure network interfaces causing qemu images and runtime image testing to fail. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/runqemu-ifup: Ensure netmask is set correctlyRichard Purdie2011-12-121-1/+1
| | | | | | | | Without this the command will add a route for the subnet 192.168.7.0 which means multiple qemu instances can't operate correctly since all but the last one will be masked out. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license/copyleft: exception for ast parseElizabeth Flanagan2011-12-102-1/+6
| | | | | | | | | As the standard for LICENSE format is not well defined, we may well run into issues where LICENSE cannot be parsed via ast. In cases like this, we need to warn and continue. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: remove deb exclusionElizabeth Flanagan2011-12-101-26/+23
| | | | | | | | This commit requires 4a13766c7b223d as it removes the exclusion of deb package types from license manifest creation. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: remove bashism.Elizabeth Flanagan2011-12-101-1/+1
| | | | | | | bashism in create_license_manifest removed. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/rootfs_deb: implement query functions for buildhistoryPaul Eggleton2011-12-101-0/+23
| | | | | | | | Implement the functions required for buildhistory to be able to query installed packages, get dependencies etc. for deb-based images. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: avoid checking for linux/if_alg.h headerOtavio Salvador2011-12-102-1/+9
| | | | | | | Disable building of 'alg-test' and checking for if_alg.h header. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: disable ntp supportOtavio Salvador2011-12-092-5/+3
| | | | | | | | | | OE-Core does not provide ntpd at this moment and as there's no known user of this plugin at this moment we are disabling it. [YOCTO #1817] Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update rt branches to 3.0.12 + rt30Bruce Ashfield2011-12-091-3/+3
| | | | | | | Updating the SRCREVs to v3.0.12 and the rt30 patch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update META SRCREV for EFI changesBruce Ashfield2011-12-092-2/+2
| | | | | | | | | | | | | | | | | | | | | Adding EFI configuration from the following meta branch commit: Add EFI scc and cfg files Basic EFI support only requires CONFIG_EFI=y, this is sufficient for some boards, and desirable for small configs. This is done with efi.scc. Additional support for CONFIG_EFI_VARS, CONFIG_EFI_PARTITION, and CONFIG_FB_EFI is provided via efi-ext.scc (extended) as this pulls in the block layer, framebuffer support, and virtual terminals. I'd like EFI_VARS to be part of the base config, but I have received reports of it failing in some situations. Keeping it separate ensures basic boot can work with the fragments as defined. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: v3.0.12 + EFI fixesBruce Ashfield2011-12-091-9/+9
| | | | | | | | | | | | | Updating SRCREVs to pickup the v3.0.12 -stable updates and to get three EFI fixes from Darren Hart: x86, efi: Convert efi_phys_get_time() args to physical addresses x86, efi: Make efi_call_phys_prelog() CONFIG_RELOCATABLE-aware x86/rtc: Don't recursively acquire rtc_lock Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: update to 0.78Otavio Salvador2011-12-094-120/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the package to 0.78 bringing changes done on meta-oe and extra cleanups as: * xtables_version.patch: removed as it has been merged upstream * use sed to fix dbus access policy * remove build depends on dhclient as connman has an internal client now * make wifi and bluetooth building optional * add ppp in depends that is used by some plugins * add ntp in depends and enable ntp plugin * package tools * enable fake plugin This uses PR as "r1" since it was previously available on meta-oe. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Joshua Lock <josh@linux.intel.com>
* connman: move files from connman-0.75 to connman dirOtavio Salvador2011-12-093-0/+0
| | | | | | | This is being done in preparation to get newer version of connman into OE-Core. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* connman: drop git versionOtavio Salvador2011-12-092-25/+0
| | | | | | | This was clearly unused as dbusperms.patch cannot be fetched by this recipe and noone noticed the build failures caused by it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* scripts/send-pull-request: allow sending of patches without a cover letterOtavio Salvador2011-12-091-9/+12
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gtk.inc: ship gtk-demo to independent packageXiaofeng Yan2011-12-081-1/+6
| | | | | | | | | gtk-demo can test gtk over directfb [YOCTO #1674] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: Disable dbus-x11 when x11 isn't in DISTRO_FEATURESXiaofeng Yan2011-12-081-2/+4
| | | | | | | | | | If x11 isn't in DISTRO_FEATURES, then an error information "no providers ..." will \ arise. I modified this bb file to disable "dbus-x11" when no x11 in DISTRO_FEATURES. [YOCTO #1674] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURESXiaofeng Yan2011-12-081-2/+2
| | | | | | | | | | | dbus-x11 could be not needed by an image without x11. So I modified this bb file to enable dbus-x11 when x11 is in DISTRO_FEATURES and disable \ dbus-x11 without x11 feature. [YOCTO #1674] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Adding license collectionElizabeth Flanagan2011-12-081-0/+1
| | | | | | | emite_package_data needs to have LICENSE, as pkgdata is as an audit of licenses collected during do_populate_license. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
* OECore license fixes: meta/*Elizabeth Flanagan2011-12-0841-2452/+79
| | | | | | | | | | | | | | | | | | | | | | | | | This is a quick audit of only the most obviously wrong licenses found within OECore. These fixes fall into four areas: - LICENSE field had incorrect format so that the parser choked - LICENSE field has a license with no version - LICENSE field was actually incorrect - LICENSE field has an imaginary license that didn't exist This fixes most of the LICENSE warnings thrown, along with my prior commit adding additional licenses to common-licenses and additional SPDXLICENSEMAP entries. HOWEVER..... there is much to be done on the license front. For a list of recipes with licenses that need obvious fixing see: https://wiki.yoctoproject.org/wiki/License_Audit That said, I would suggest another license audit as I've found enough inconsistencies. A good suggestion is when in doubt, look at how openSuse or Gentoo or Debian license the package. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
* [YOCTO #1776] license: manifest and license pathElizabeth Flanagan2011-12-08104-17671/+1119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a fairly large commit, so I want to step through some of what this accomplishes: 1. Additional licenses I've added/modified/corrected some of the common licenses within OE-core in prep. for a major license audit. Most of these are in SPDX format. A few, there is no OSI equivalent. 2. Additional SPDX mappings I've added some additional SPDX mappings to account for removing some duplicate licenses. (ie GPL-2 and GPL-2.0 were the same) I've also remapped a few things to more accurately reflect what they should be pointing at. Note: Artistic/LGPL/GPL/MPL. Quite a few LICENSE fields list these licenses. They make no sense and need auditing. In a future commit I have some fixes to particularly egregious LICENSE fields, but a full audit should be done. I've listed to obvious candidates at: https://wiki.yoctoproject.org/wiki/License_Audit 3. License manifest We now have a license manifest generation that occurs in rootfs for everything BUT .deb. This requires the changes Paul Eggleton has done to rootfs_* particularly the list_installed_packages function. The manifest is accurate during a parallel bitbake now (Weee!) and is prime for my planned SPDX format manifest during the next period. 4. License manifest on image. We also want the ability to add licenses to the image. This functionality is also in base-files and will be stripped out in my next commit. The manifest is not added by default and is a two var setting in license.conf: If I want *just* the manifest on the image (small) then I set: COPY_LIC_MANIFEST = "1" This copies the manifest to: /usr/share/common-licenses/license.manifest If I want the actual PKG license text on the image (much larger) I need to set both both COPY_LIC_MANIFEST and COPY_LIC_DIRS in license.conf. This will create: /usr/share/common-licenses/(package name)/(licenses in LIC_SRC_URI) Word of warning. This can be larger than wanted depending on image and is probably ripe for linking licenses, but I ran out of time this week to get that done. 5. Custom License search path. We now have the ability to add licenses to the build without touching common-licenses. This is set via license.conf: LICENSE_PATH += "/path/to/custom/licenses" You want to make sure the license is unique. license.bbclass picks the first license it finds. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
* gettext-minimal-native: Fix LicenseRichard Purdie2011-12-082-676/+6
| | | | | | | | Only .m4 macros are included in this recipe so the correct license is FSF-Unlimited as specified in those marcros, not the main gettext license. This patch corrects that mistake. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add copyleft compliance classChristopher Larson2011-12-081-0/+94
| | | | | | | | | | Deploys sources for recipes for compliance with copyleft-style licenses Defaults to using symlinks, as it's a quick operation, and one can easily follow the links when making use of the files (e.g. tar with the -h arg). By default, includes all GPL and LGPL, and excludes CLOSED and Proprietary. Signed-off-by: Christopher Larson <kergoth@gmail.com>
* oe.license: add license flattening codeChristopher Larson2011-12-082-0/+60
| | | | | | | This flattens a license tree by selecting one side of each OR operation (chosen via the user supplied function). Signed-off-by: Christopher Larson <kergoth@gmail.com>
* license: split license parsing into oe.licenseChristopher Larson2011-12-083-39/+90
| | | | | | | | | In addition to moving this functionality to oe.license, makes the string preparation more picky before passing it off to the ast compilation. This ensures that LICENSE entries like 'GPL/BSD' are seen as invalid (due to the presence of the unsupported '/'). Signed-off-by: Christopher Larson <kergoth@gmail.com>
* oe.test_types: move into an oe.tests packageChristopher Larson2011-12-082-0/+0
| | | | Signed-off-by: Christopher Larson <kergoth@gmail.com>
* sysstat: don't run populate-volatile.sh update in do_rootfs, first boot or ↵Martin Jansa2011-12-082-2/+7
| | | | | | | without populate-volatile.sh Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: enable https and opensslSaul Wold2011-12-081-3/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* self-hosted-image: remove extra space since we use additional disk insteadSaul Wold2011-12-081-3/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>