udev: do not recommend pciutils/usbutils ids

udev does not require those files to be operational and they add ~350KB
to rootfs

Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux: Add support for older hosts

Older hosts don't support some of the features required by
the latet util-linux.  Add workarounds or revert changes to older
versions to make it work.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc: Workaround for compiler flag mismatch

When cross compiling the target compiler, both the cross-compiler
and the host compiler are used.  However, the -W options used were
discovered from the cross-compiler and may be incompatible with the
host compiler.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc: add build directory to include directories

Add build directory to include directories by -I${B}/include which will
be searched before standard system include directories.

Both libunwind and gcc supply unwind.h, once gcc use libunwind's unwind.h,
the compiling will fail.

This patch is generally not applicable to the upstream as they do not
use libunwind.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lrzsz: check locale.h in configure

fix the build failure:
lrz.c:284:13: error: 'LC_ALL' undeclared (first use in this function)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata

* causes build failure before do_package_write_ipk fails when trying to use wrong WORKDIR

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
kconfig-frontends: fix building with gperf without  prefix

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
kconfig-frontends: temporary export unprefixed GPERF
bitbake.conf: export GPERF

* remove exports from systemd
* this is causing issues in webkit-efl and kconfig-frontends

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
tcmode-default.inc: Use gcc 4.8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
flex: fix reported executable name caused by OE wrapper

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
gcc-4.8: temporary disable thumb

* temporary work around for build issue on armv4t:
| cp/decl.o: In function `bad_specifiers':
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7171:(.text.unlikely+0x24): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7173:(.text.unlikely+0x32): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7176:(.text.unlikely+0x3e): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7180:(.text.unlikely+0x4c): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7182:(.text.unlikely+0x5a): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7185:(.text.unlikely+0x66): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7189:(.text.unlikely+0x74): relocation truncated to fit: R_ARM_THM_CALL against sym
bol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7191:(.text.unlikely+0x82): relocation truncated to fit: R_ARM_THM_CALL against symbol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7194:(.text.unlikely+0x8e): relocation truncated to fit: R_ARM_THM_CALL against symbol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7198:(.text.unlikely+0x9c): relocation truncated to fit: R_ARM_THM_CALL against symbol `error(char const*, ...)' defined in .glue_7 section in linker stubs
| /OE/shr-core/tmp-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/gcc/cp/decl.c:7200:(.text.unlikely+0xaa): additional relocation overflows omitted from the output
| collect2: error: ld returned 1 exit status
| make[2]: *** [cc1plus] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
pixman: temporary disable thumb

* building with thumb triggers ICE with gcc-4.8
OE @ ~/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/pixman/1_0.29.4-r0/pixman-0.29.4/test $ make
../arm-oe-linux-gnueabi-libtool  --tag=CC   --mode=compile arm-oe-linux-gnueabi-gcc  -march=armv5te -mthumb -mthumb-interwork
--sysroot=/OE/oe-core/tmp-eglibc/sysroots/qemuarm -DHAVE_CONFIG_H -I. -I..  -I../pixman -I../pixman
-I/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/include/libpng16    -O2 -pipe -g -feliminate-unused-debug-types -Wall -fno-strict-aliasing -fvisibility=hidden
-c -o utils-prng.lo utils-prng.c
arm-oe-linux-gnueabi-libtool: compile:  arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork --sysroot=/OE/oe-core/tmp-eglibc/sysroots/qemuarm
-DHAVE_CONFIG_H -I. -I.. -I../pixman -I../pixman -I/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/include/libpng16 -O2 -pipe -g -feliminate-unused-debug-types
-Wall -fno-strict-aliasing -fvisibility=hidden -c utils-prng.c  -fPIC -DPIC -o .libs/utils-prng.o
utils-prng.c: In function 'prng_srand_r':
utils-prng.c:73:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [utils-prng.lo] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
pixman: upgrade to 0.30.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt: updated qmake2 class to export qconfig.pri mkspec

This is necessary when Qt applicatins want to know variables such as
QT_MAJOR_VERSION, QT_VERSION, QT_MINOR_VERSION, gcc version etc.

OBS: This change made the build system crazy. When I changed it and run
bitbake my-qt-app-recipe, qmake was consuming 100% cpu usage for long time. I
had to stop it. So I recommend rebuild the entire Qt stack when changing this.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
gnutls: Return libtasn1 dependency to pkg-config file

* configure-fix.patch rebase in c30c193d79437261ea4e2184f200c33cfd554e9e
  removed this line and some packages are failing to build with:
warning: libtasn1.so.3, needed by /OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libecore_evas.so, not found (try using -rpath or -rpath-link)
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_copy_node@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_write_value@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_create_element@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_read_value@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_array2tree@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_der_decoding@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_delete_structure@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_der_coding@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_read_node_value@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_find_node@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_get_length_der@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_get_tag_der@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_check_version@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_der_decoding_startEnd@LIBTASN1_0_3'
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/libgnutls.so.26: undefined reference to `asn1_number_of_elements@LIBTASN1_0_3'
collect2: error: ld returned 1 exit status