]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoed: remove unsupported option
Saul Wold [Tue, 13 Dec 2011 08:01:40 +0000 (00:01 -0800)]
ed: remove unsupported option

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobash: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:35:57 +0000 (22:35 -0800)]
bash: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogmp: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:13:09 +0000 (22:13 -0800)]
gmp: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agosed: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:12:58 +0000 (22:12 -0800)]
sed: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogzip: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:12:49 +0000 (22:12 -0800)]
gzip: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogawk: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:12:39 +0000 (22:12 -0800)]
gawk: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agofindutils: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:12:24 +0000 (22:12 -0800)]
findutils: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoed: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:12:09 +0000 (22:12 -0800)]
ed: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoreadline: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:11:54 +0000 (22:11 -0800)]
readline: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agocoreutils: Add SRC_URI Checksums for GPLv2
Saul Wold [Tue, 13 Dec 2011 06:11:34 +0000 (22:11 -0800)]
coreutils: Add SRC_URI Checksums for GPLv2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoeglibc: Generate cross testing script during install
Khem Raj [Fri, 9 Dec 2011 19:19:35 +0000 (11:19 -0800)]
eglibc: Generate cross testing script during install

EGLIBC has long had cross testing capability, so use
that there are few steps needed on setting up the target
as well as the build host. This patch tries to generate
a script with all the needed environment on build host system

To use this script one needs to setup the target as described
in the testing intructions of eglibc and then this script
can directly interface to the target and run the tests from
eglibc's build directory. To run this script

bash <script> username@testing_hostname/ip

The output can be dumped into a log file for later viewing
and checked for "Error " to see the failed tests

Removes INC_PR its not used anywhere

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-nfs: Add nfs-utils-client to RDEPENDS
Khem Raj [Fri, 9 Dec 2011 19:30:46 +0000 (19:30 +0000)]
task-core-nfs: Add nfs-utils-client to RDEPENDS

include nfs client in tast-core-nfs as well
this is handy when we need it on target e.g.
testing eglibc needs it and we can just do
EXTRA_IMAGE_FEATURES += "nfs-server"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoqemu-0.15.1: Bump recipes from 0.15.0 to 0.15.1
Khem Raj [Fri, 9 Dec 2011 19:30:45 +0000 (19:30 +0000)]
qemu-0.15.1: Bump recipes from 0.15.0 to 0.15.1

No other changes (except checksum updates) then git mv were needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolicense: PR bump failure
Elizabeth Flanagan [Sat, 10 Dec 2011 16:42:40 +0000 (08:42 -0800)]
license: PR bump failure

This addtask for do_populate_lic should be reverted back
to before do_package as before do_compile causes failures
when recipes are updated.

[YOCTO #1819]

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
13 years agoscripts/send-pull-request: fix typo
Otavio Salvador [Sat, 10 Dec 2011 15:53:12 +0000 (15:53 +0000)]
scripts/send-pull-request: fix typo

s/No cover letter will be send./No cover letter will be sent./

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agox86 tune: fix TUNE_PKGARCH definition for proper PACKAGE_ARCH
Nitin A Kamble [Thu, 8 Dec 2011 05:28:22 +0000 (21:28 -0800)]
x86 tune: fix TUNE_PKGARCH definition for proper PACKAGE_ARCH

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>
13 years agoopenssl-1.0.0e: Update x32 Configure
H.J. Lu [Wed, 7 Dec 2011 19:34:23 +0000 (11:34 -0800)]
openssl-1.0.0e: Update x32 Configure

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>
13 years agolibacpi: Use the cross strip instead of host strip
Nitin A Kamble [Wed, 7 Dec 2011 19:32:36 +0000 (11:32 -0800)]
libacpi: Use the cross strip instead of host strip

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>
13 years agositeinfo: create a new siteinfo for x32-linux
H.J. Lu [Tue, 6 Dec 2011 18:25:51 +0000 (10:25 -0800)]
siteinfo: create a new siteinfo for x32-linux

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>
13 years agopax: fix compilation with x32 toolchain
Nitin A Kamble [Tue, 6 Dec 2011 18:04:32 +0000 (10:04 -0800)]
pax: fix compilation with x32 toolchain

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>
13 years agomesa: Properly create share library for x32
H.J. Lu [Tue, 6 Dec 2011 21:22:29 +0000 (13:22 -0800)]
mesa: Properly create share library for x32

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>
13 years agofindutils: Fix compilation for x32 toolchain
Nitin A Kamble [Tue, 6 Dec 2011 01:01:49 +0000 (17:01 -0800)]
findutils: Fix compilation for x32 toolchain

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>
13 years agolibacpi: Fix libdir for x32
Nitin A Kamble [Tue, 6 Dec 2011 00:49:42 +0000 (16:49 -0800)]
libacpi: Fix libdir for x32

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>
13 years agopulseaudio: fix compilation with x32 toolchain
Nitin A Kamble [Sun, 4 Dec 2011 02:53:16 +0000 (18:53 -0800)]
pulseaudio: fix compilation with x32 toolchain

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>
13 years agomdadm: Make custom CC definition conditional
Nitin A Kamble [Thu, 1 Dec 2011 22:54:02 +0000 (14:54 -0800)]
mdadm: Make custom CC definition conditional

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>
13 years agogst-fluendo.inc: remove unneccessary hack
Nitin A Kamble [Thu, 1 Dec 2011 18:51:30 +0000 (10:51 -0800)]
gst-fluendo.inc: remove unneccessary hack

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>
13 years agodosfstools: update native to 2.11
Otavio Salvador [Tue, 6 Dec 2011 13:28:53 +0000 (13:28 +0000)]
dosfstools: update native to 2.11

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>
13 years agolzop-1.03: add recipe
Christopher Larson [Thu, 8 Dec 2011 17:35:31 +0000 (10:35 -0700)]
lzop-1.03: add recipe

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>
13 years agotask-self-hosted: Move tools to host-tools task
Saul Wold [Sun, 11 Dec 2011 20:37:30 +0000 (12:37 -0800)]
task-self-hosted: Move tools to host-tools task

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>
13 years agotask-self-hosted: Add host-tools task
Saul Wold [Sun, 11 Dec 2011 20:36:02 +0000 (12:36 -0800)]
task-self-hosted: Add host-tools task

Added tools to create and manage ext* partitions
e2fs*, parted

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: Added perl-pod (slight reorder)
Saul Wold [Sun, 11 Dec 2011 20:42:30 +0000 (12:42 -0800)]
task-self-hosted: Added perl-pod (slight reorder)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: Reorder by Alpha
Saul Wold [Sun, 11 Dec 2011 20:32:05 +0000 (12:32 -0800)]
task-self-hosted: Reorder by Alpha

No additions/subtractions

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotexinfo: fix compile failure due target makedoc binary being used
Saul Wold [Sat, 10 Dec 2011 20:22:38 +0000 (12:22 -0800)]
texinfo: fix compile failure due target makedoc binary being used

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>
13 years agobitbake.conf: remove texinfo-native from ASSUME_PROVIDED
Saul Wold [Sat, 10 Dec 2011 20:19:55 +0000 (12:19 -0800)]
bitbake.conf: remove texinfo-native from ASSUME_PROVIDED

We need to build texinfo-native to get and install the makedoc tool

[YOCTO #1664]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoncurses: libcurses.so should link to libncurses.so
Saul Wold [Wed, 7 Dec 2011 20:00:03 +0000 (12:00 -0800)]
ncurses: libcurses.so should link to libncurses.so

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>
13 years agoconnman: Default to enabling ethernet interfaces
Richard Purdie [Mon, 12 Dec 2011 16:46:41 +0000 (16:46 +0000)]
connman: Default to enabling ethernet interfaces

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>
13 years agoscripts/runqemu-ifup: Ensure netmask is set correctly
Richard Purdie [Mon, 12 Dec 2011 13:35:15 +0000 (13:35 +0000)]
scripts/runqemu-ifup: Ensure netmask is set correctly

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>
13 years agolicense/copyleft: exception for ast parse
Elizabeth Flanagan [Sat, 10 Dec 2011 00:05:24 +0000 (16:05 -0800)]
license/copyleft: exception for ast parse

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>
13 years agolicense.bbclass: remove deb exclusion
Elizabeth Flanagan [Sat, 10 Dec 2011 00:05:23 +0000 (16:05 -0800)]
license.bbclass: remove deb exclusion

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>
13 years agolicense.bbclass: remove bashism.
Elizabeth Flanagan [Sat, 10 Dec 2011 00:05:22 +0000 (16:05 -0800)]
license.bbclass: remove bashism.

bashism in create_license_manifest removed.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/rootfs_deb: implement query functions for buildhistory
Paul Eggleton [Fri, 9 Dec 2011 17:34:42 +0000 (17:34 +0000)]
classes/rootfs_deb: implement query functions for buildhistory

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>
13 years agoconnman: avoid checking for linux/if_alg.h header
Otavio Salvador [Fri, 9 Dec 2011 20:01:33 +0000 (20:01 +0000)]
connman: avoid checking for linux/if_alg.h header

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>
13 years agoconnman: disable ntp support
Otavio Salvador [Fri, 9 Dec 2011 18:54:02 +0000 (18:54 +0000)]
connman: disable ntp support

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>
13 years agolinux-yocto: update rt branches to 3.0.12 + rt30
Bruce Ashfield [Thu, 8 Dec 2011 17:11:23 +0000 (12:11 -0500)]
linux-yocto: update rt branches to 3.0.12 + rt30

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>
13 years agolinux-yocto: update META SRCREV for EFI changes
Bruce Ashfield [Thu, 8 Dec 2011 17:11:22 +0000 (12:11 -0500)]
linux-yocto: update META SRCREV for EFI changes

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>
13 years agolinux-yocto: v3.0.12 + EFI fixes
Bruce Ashfield [Thu, 8 Dec 2011 17:11:21 +0000 (12:11 -0500)]
linux-yocto: v3.0.12 + EFI fixes

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>
13 years agoconnman: update to 0.78
Otavio Salvador [Thu, 8 Dec 2011 18:30:52 +0000 (18:30 +0000)]
connman: update to 0.78

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>
13 years agoconnman: move files from connman-0.75 to connman dir
Otavio Salvador [Fri, 9 Dec 2011 14:34:03 +0000 (14:34 +0000)]
connman: move files from connman-0.75 to connman dir

This is being done in preparation to get newer version of connman into
OE-Core.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoconnman: drop git version
Otavio Salvador [Fri, 9 Dec 2011 14:31:07 +0000 (14:31 +0000)]
connman: drop git version

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>
13 years agoscripts/send-pull-request: allow sending of patches without a cover letter
Otavio Salvador [Wed, 7 Dec 2011 21:19:52 +0000 (21:19 +0000)]
scripts/send-pull-request: allow sending of patches without a cover letter

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agogtk.inc: ship gtk-demo to independent package
Xiaofeng Yan [Thu, 8 Dec 2011 09:34:04 +0000 (17:34 +0800)]
gtk.inc: ship gtk-demo to independent package

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>
13 years agogconf: Disable dbus-x11 when x11 isn't in DISTRO_FEATURES
Xiaofeng Yan [Thu, 8 Dec 2011 09:34:02 +0000 (17:34 +0800)]
gconf: Disable dbus-x11 when x11 isn't in DISTRO_FEATURES

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>
13 years agoqemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURES
Xiaofeng Yan [Thu, 8 Dec 2011 09:33:59 +0000 (17:33 +0800)]
qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURES

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>
13 years agopackage.bbclass: Adding license collection
Elizabeth Flanagan [Wed, 7 Dec 2011 11:06:45 +0000 (03:06 -0800)]
package.bbclass: Adding license collection

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>
13 years agoOECore license fixes: meta/*
Elizabeth Flanagan [Sat, 3 Dec 2011 23:48:29 +0000 (15:48 -0800)]
OECore license fixes: meta/*

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>
13 years ago[YOCTO #1776] license: manifest and license path
Elizabeth Flanagan [Sat, 3 Dec 2011 23:16:15 +0000 (15:16 -0800)]
[YOCTO #1776] license: manifest and license path

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>
13 years agogettext-minimal-native: Fix License
Richard Purdie [Tue, 6 Dec 2011 23:13:52 +0000 (23:13 +0000)]
gettext-minimal-native: Fix License

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>
13 years agoAdd copyleft compliance class
Christopher Larson [Mon, 5 Dec 2011 01:05:37 +0000 (20:05 -0500)]
Add copyleft compliance class

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>
13 years agooe.license: add license flattening code
Christopher Larson [Mon, 5 Dec 2011 01:03:51 +0000 (20:03 -0500)]
oe.license: add license flattening code

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>
13 years agolicense: split license parsing into oe.license
Christopher Larson [Mon, 5 Dec 2011 01:03:37 +0000 (20:03 -0500)]
license: split license parsing into oe.license

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>
13 years agooe.test_types: move into an oe.tests package
Christopher Larson [Mon, 5 Dec 2011 20:25:23 +0000 (15:25 -0500)]
oe.test_types: move into an oe.tests package

Signed-off-by: Christopher Larson <kergoth@gmail.com>
13 years agosysstat: don't run populate-volatile.sh update in do_rootfs, first boot or without...
Martin Jansa [Wed, 7 Dec 2011 14:59:02 +0000 (15:59 +0100)]
sysstat: don't run populate-volatile.sh update in do_rootfs, first boot or without populate-volatile.sh

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agowget: enable https and openssl
Saul Wold [Wed, 7 Dec 2011 02:10:10 +0000 (18:10 -0800)]
wget: enable https and openssl

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoself-hosted-image: remove extra space since we use additional disk instead
Saul Wold [Wed, 7 Dec 2011 02:09:40 +0000 (18:09 -0800)]
self-hosted-image: remove extra space since we use additional disk instead

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoinitrdscripts: add sleep to avoid kernel messages before install message
Saul Wold [Wed, 7 Dec 2011 02:10:53 +0000 (18:10 -0800)]
initrdscripts: add sleep to avoid kernel messages before install message

As suggested by Darren Hart

[YOCTO #725]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogrub: Create /etc/grub.d
Saul Wold [Wed, 7 Dec 2011 02:05:27 +0000 (18:05 -0800)]
grub: Create /etc/grub.d

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoinitramfs-framework: provides a modular initramfs
Otavio Salvador [Wed, 7 Dec 2011 21:23:00 +0000 (21:23 +0000)]
initramfs-framework: provides a modular initramfs

Provides the API and modules for a modular initramfs. The currently
included modules are:

 * initramfs-module-debug adds support to dynamic debugging of
   initramfs using bootparams

 * initramfs-module-udev: enables udev usage

 * initramfs-module-mdev: enables mdev usage

 * initramfs-module-e2fs: adds support for ext4, ext3 and ext2
   filesystems

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoqt4: various tidy-ups
Paul Eggleton [Tue, 6 Dec 2011 12:11:41 +0000 (12:11 +0000)]
qt4: various tidy-ups

* -reduce-relocations is already specified in qt4.inc, no need to add it
  in qt-${PV}.inc
* Add QT_GLFLAGS to QT_CONFIG_FLAGS in qt4.inc rather than spreading it
  through other inc files.
* Add "-xmlpatterns -no-rpath -qt3support -silent" to QT_CONFIG_FLAGS in
  qt4.inc rather than qt-${PV}.inc; these have been supported since at
  least 4.5.2 and therefore shouldn't be version-specific.
* Move "-no-fast -silent -no-rpath" to EXTRA_OECONF in qt4-native.inc
  rather than the versioned recipes for the same reason
* Remove redundant setting of LICENSE in qt4-embedded.inc

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoqt4: fix debug symbol stripping
Paul Eggleton [Tue, 6 Dec 2011 16:51:00 +0000 (16:51 +0000)]
qt4: fix debug symbol stripping

Adds a patch imported from Debian to not strip the executables as part
of the Qt build process. This fixes the warnings shown at packaging
stage as well as the content of the debug symbol packages.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agobitbake.conf/image.bbclass: Ensure images use the correct passwd/group files
Richard Purdie [Wed, 7 Dec 2011 17:34:07 +0000 (17:34 +0000)]
bitbake.conf/image.bbclass: Ensure images use the correct passwd/group files

We need pseudo to use the rootfs passwd/group files belonging to the
rootfs when building images. This patch ensures that we use the rootfs
files instead of those in the sysroot which can lead to incorrect file
ownership issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields.inc: Update dropbear,iproute2,net-tools tracking information.
Mei Lei [Wed, 7 Dec 2011 15:26:12 +0000 (23:26 +0800)]
distro_tracking_fields.inc: Update dropbear,iproute2,net-tools tracking information.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agodropbear: Upgrade from 0.53.1 to 2011.54
Mei Lei [Wed, 7 Dec 2011 15:15:29 +0000 (23:15 +0800)]
dropbear: Upgrade from 0.53.1 to 2011.54

This new version added ALLOW_BLANK_PASSWORD option. So change the allow-nopw.patch content to enable this function.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agodpkg: Fix preinst execution
Richard Purdie [Wed, 7 Dec 2011 15:48:14 +0000 (15:48 +0000)]
dpkg: Fix preinst execution

Add a patch to fix exeuction of pre/post install scripts. See the patch
header for more details.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: disable cleanmarkers for jffs2 images
Andrea Adami [Tue, 6 Dec 2011 23:23:07 +0000 (00:23 +0100)]
image_types.bbclass: disable cleanmarkers for jffs2 images

* Add '-n' to suppress cleanmarker nodes since jffs2
* is usually used for NAND flash and the cleanmarkers are created in
* the OOB area by flash_eraseall -j
*
* From man pages: -n, --no-cleanmarkers
* Do not write cleanmarker nodes to the beginning of each erase block.
* This option can be useful for creating JFFS2 images for use on NAND flash,
* and for creating images which are to be used on a variety of hardware with differing eraseblock sizes.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
13 years agoimage_types.bbclass: implement jffs2 summary images (sum.jffs2)
Andrea Adami [Tue, 6 Dec 2011 23:23:06 +0000 (00:23 +0100)]
image_types.bbclass: implement jffs2 summary images (sum.jffs2)

* Building the jffs2 filesystem to include summary information speeds up
* the mount process considerably at the cost of increased size.
* The rate of speedup is generally higher on NAND chips and on the chips
* where the erase block size is large.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
13 years agorootfs_ipk: implement FEED_DEPLOYDIR_BASE_URI support
Eric Bénard [Tue, 6 Dec 2011 20:19:30 +0000 (21:19 +0100)]
rootfs_ipk: implement FEED_DEPLOYDIR_BASE_URI support

this feature was present in OE-classic, is documented in OE-core
but its implementation is actually missing.
The present implementation is directly copied from OE-classic
and tested on an arm926 machine.

Signed-off-by: Eric Bénard <eric@eukrea.com>
13 years agomatchbox-session-sato: respect VIRTUAL-RUNTIME_initscripts settings
Martin Jansa [Tue, 6 Dec 2011 08:35:21 +0000 (09:35 +0100)]
matchbox-session-sato: respect VIRTUAL-RUNTIME_initscripts settings

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosubversion: update 1.7.0 to 1.7.2 and force libtool recreation
Klaus Kurzmann [Tue, 6 Dec 2011 13:43:15 +0000 (14:43 +0100)]
subversion: update 1.7.0 to 1.7.2 and force libtool recreation

* subversion-1.7.* had libtool-2.4, oe-core now has 2.4.2 and it was
  failing:
  x86_64-linux-libtool: Version mismatch error.  This is libtool 2.4.2, but the
  x86_64-linux-libtool: definition of this LT_INIT comes from libtool 2.4.
  x86_64-linux-libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
  x86_64-linux-libtool: and run autoconf again.

Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/machine: Don't poke around providers which aren't machine specific/safe
Richard Purdie [Tue, 6 Dec 2011 20:57:45 +0000 (20:57 +0000)]
conf/machine: Don't poke around providers which aren't machine specific/safe

Machines shouldn't be poking around PREFERRED_PROVIDERS which aren't
machine specific or at least machine safe. Kernels are machine specific
and the xserver is selectable. libx11 and mesa are now really a distro choice
and machine configurations shouldn't be poking around them as it just leads
to corruption, conflicts and confusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopopulate_sdk.bbclass: remap packages when generating sdk tarball
Matthew McClintock [Mon, 5 Dec 2011 20:56:27 +0000 (14:56 -0600)]
populate_sdk.bbclass: remap packages when generating sdk tarball

This fixes the issue below:

| Generating solve db for /local/home/mattsm/git/poky/build_p4080ds_release/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.093784 secs
|    fingerprint:         9      0.000012 MB      0.000252 secs
|    install:             3      0.000000 MB      0.039092 secs
|    dbadd:               3      0.000000 MB      0.034837 secs
|    dbget:              12      0.000000 MB      0.000062 secs
|    dbput:               3      0.009532 MB      0.002731 secs
|    readhdr:            31      0.019160 MB      0.000084 secs
|    hdrload:            15      0.027924 MB      0.000116 secs
|    hdrget:            494      0.000000 MB      0.000691 secs
| Processing task-core-standalone-sdk-target...
| Processing glib-2.0...
| Unable to find package glib-2.0 (glib-2.0)!
| ERROR: Function 'do_populate_sdk' failed (see /local/home/mattsm/git/poky/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/fsl-toolchain-1.0-r6/temp/log.do_populate_sdk.16975 for further information)

If you have:

TOOLCHAIN_TARGET_TASK += "glib-2.0"

The package name was not getting remapped correctly for the do_populate_sdk
case.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agowget: Fix wget alternative path to be /usr/bin not /bin
Saul Wold [Tue, 6 Dec 2011 01:49:11 +0000 (17:49 -0800)]
wget: Fix wget alternative path to be /usr/bin not /bin

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistro_tracking: fix manual entries
Saul Wold [Tue, 6 Dec 2011 02:15:30 +0000 (18:15 -0800)]
distro_tracking: fix manual entries

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobuildhistory bbclass: avoid absolute paths for files-in-image.txt to avoid diff churn...
Koen Kooi [Tue, 6 Dec 2011 12:00:04 +0000 (13:00 +0100)]
buildhistory bbclass: avoid absolute paths for files-in-image.txt to avoid diff churn when relocating TMPDIR

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Update 2.14 recipes to latest SVN tip
Khem Raj [Tue, 6 Dec 2011 05:21:20 +0000 (21:21 -0800)]
eglibc: Update 2.14 recipes to latest SVN tip

Adjust patches to apply on new sourcebase

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Backport patch from trunk to fix ICE seen on armv7 with mesa-xlib
Khem Raj [Tue, 6 Dec 2011 05:21:21 +0000 (21:21 -0800)]
gcc: Backport patch from trunk to fix ICE seen on armv7 with mesa-xlib

This patch is a backport of http://patchwork.ozlabs.org/patch/110517/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcmode-default: Remove pinning u-boot-mkimage-native to non-existing version
Khem Raj [Tue, 6 Dec 2011 05:21:16 +0000 (21:21 -0800)]
tcmode-default: Remove pinning u-boot-mkimage-native to non-existing version

2009.08 does not exist anywhere and ppc builds complain about
it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognutls: Fix fix-gettext-version.patch
Khem Raj [Tue, 6 Dec 2011 05:21:19 +0000 (21:21 -0800)]
gnutls: Fix fix-gettext-version.patch

This patch did not cover all places to remove references
to gettext 0.17 therefore updated it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistrodata.bbclass:Fix some recipes upstream version check issue.
Mei Lei [Tue, 6 Dec 2011 09:09:52 +0000 (17:09 +0800)]
distrodata.bbclass:Fix some recipes upstream version check issue.

Some recipes,like rt-tests,clutter-box2d,iproute2,didn't declare upstream protocal, but in distrodata.bbclass, we use rsync as the default protocal,
this will lead an error when checking upstream version.
Change default protocal from rsync to git in distrodata.bbclass.

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodefault-distrovars: missing checksums should raise an error
Joshua Lock [Tue, 6 Dec 2011 02:18:00 +0000 (18:18 -0800)]
default-distrovars: missing checksums should raise an error

Set BB_STRICT_CHECKSUM in default-distrovars so that an error is raised
if no checksum is set.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoomap3-sgx-modules: drop from oe-core, it lives in the meta-ti BSP nowadays
Koen Kooi [Tue, 6 Dec 2011 10:39:01 +0000 (11:39 +0100)]
omap3-sgx-modules: drop from oe-core, it lives in the meta-ti BSP nowadays

OE-core only support qemu based machines, so BSP type recipe should be moved to their respective BSPs

omap3-sgx-modules can be found in the meta-ti BSP: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclutter-gst: upgrade to 1.4.4
Joshua Lock [Tue, 6 Dec 2011 02:18:01 +0000 (18:18 -0800)]
clutter-gst: upgrade to 1.4.4

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopuzzles: set SRC_URI checksums
Joshua Lock [Tue, 6 Dec 2011 02:17:59 +0000 (18:17 -0800)]
puzzles: set SRC_URI checksums

In order to set missing checksums as an error we need to ensure
all appropriate recipes have a checksum value set.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsdl: Disable pulseaudio explicitly
Richard Purdie [Mon, 5 Dec 2011 23:00:30 +0000 (23:00 +0000)]
libsdl: Disable pulseaudio explicitly

Its not listed in DEPENDS so should never have been built. We could
configure this as a configuration option and I'll take a patch for
that but I like deterministic builds so force it off for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibatomics-ops: patch source code for x32
Nitin A Kamble [Fri, 2 Dec 2011 20:20:09 +0000 (12:20 -0800)]
libatomics-ops: patch source code for x32

This Fixes bug: [YOCTO #1418]

Remove the `q' suffix on x86-64 atomic instructions.

We don't need the `q' suffix on x86_64 atomic instructions for AO_t,
which is defined as "unsigned long".  "unsigned long" is 32bit for x32
and 64bit for x86-64. The register operand in x86-64 atomic instructions
is sufficient to properly determine the register size.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibaio: patch source code for x32
Nitin A Kamble [Fri, 2 Dec 2011 20:20:08 +0000 (12:20 -0800)]
libaio: patch source code for x32

This Fixes bug: [YOCTO #1417]

Properly load arguments 5 an 6 for x86-64 syscall
Use asm ("r10") and asm ("r8") to load arguments 5 an 6 for x86-64
syscall so that it works with both x32 and x86-64.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxproto: fix compilation with x32 toolchain
Nitin A Kamble [Fri, 2 Dec 2011 20:20:07 +0000 (12:20 -0800)]
xproto: fix compilation with x32 toolchain

Don't always define LONG64 for AMD64

X32 defines __amd64__/amd64 with 32bit long.  We should simply check
__LP64__ before defining LONG64 without checking __amd64__/amd64.

This fixes compilation with x32 toolchain.

Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoliboil: patch source code for x32
Nitin A Kamble [Fri, 2 Dec 2011 20:20:06 +0000 (12:20 -0800)]
liboil: patch source code for x32

Make the assembly syntax compatible with x32 gcc. Othewise x32 gcc throws errors.

This Fixes bug: [YOCTO #1412]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxt: fix compilatoin with x32 toolchain
Nitin A Kamble [Fri, 2 Dec 2011 20:20:05 +0000 (12:20 -0800)]
libxt: fix compilatoin with x32 toolchain

This fixes compilation with x32 toolchain.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0: fix compilatoin with x32 toolchain
Nitin A Kamble [Fri, 2 Dec 2011 20:20:04 +0000 (12:20 -0800)]
glib-2.0: fix compilatoin with x32 toolchain

Pass along CC & CFLAGS vars so that the tune parameters set get used.
This fixes compilation with x32 toolchain.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomesa-dri, mesa-xlib: fix compilation with x32 toolchain
Nitin A Kamble [Fri, 2 Dec 2011 20:20:03 +0000 (12:20 -0800)]
mesa-dri, mesa-xlib: fix compilation with x32 toolchain

Add support for building with x32 toolchain.

Simplified the use of SRC_URI & S vars across multiple files.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>