summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-shar-extract.sh: improve behaviour when xz is not installedPaul Eggleton2016-01-241-1/+6
| | | | | | | | | | | | Currently if xz isn't installed when installing the SDK you get an error from tar and then the SDK installation continues, cascading into a load of other failures since files are missing. Add a check to see if xz can be run and error out if it can't, and also exit if tar fails. (From OE-Core rev: 176e2bddb45b417b0bfbcdcd95bd5e81505e1e5b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/populate_sdk*: add dependencies on script filesPaul Eggleton2016-01-242-0/+8
| | | | | | | | | | | If the script files we use to construct the SDK installer change then that really ought to trigger re-execution of the do_populate_sdk(_ext) task, so add file-checksums varflags to ensure that happens. (From OE-Core rev: 59fc4bdefb3853d6893b9e3792018d54bb6bf99f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/populate_sdk_ext: drop ext-sdk-prepare.py when installingPaul Eggleton2016-01-241-0/+1
| | | | | | | | | | | | At the end of the extensible SDK installation, if we've successfully prepared the build system then we don't need ext-sdk-prepare.py. I had thought earlier that this would be used when updating, but a different mechanism was needed there so this script isn't used for that. (From OE-Core rev: 037ea78b0c3de01f87bbe06a1b88a162b2b40496) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: sdk-update: improve SDK update process robustnessPaul Eggleton2016-01-241-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the following improvements to the SDK update process: * Use a manifest file with sha256sums to track files other than sstate and metadata that we need to update - e.g. conf files. This allows us to handle where files such as auto.conf may or may not be present, as well as the configuration changing without affecting task signatures - we still want the config files copied in that case rather than it saying nothing needs to be done. * Write the SSTATE_MIRRORS_append to site.conf rather than local.conf so that local.conf remains static (since we don't want to trigger an update every time). Also, If there is an SSTATE_MIRRORS value already set in the configuration we can skip this and assume it contains the needed packages. * Allow the update process to be run in any directory, don't assume we're already at the base of the SDK * Where practical, fetch remote files into a temporary location and then move them to the desired location at the end, to avoid a failed update leaving the SDK in a broken state. * Update all installed do_populate_sysroot / do_packagedata tasks instead of using the SDK targets. This ensures any item installed through dependencies after installation (e.g. when running "devtool build") won't go stale. (From OE-Core rev: 3d35631121f0e030bc8151f5c23d84008d06f44b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: build: ensure pkgdata is written outPaul Eggleton2016-01-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | When you run devtool build, you need to have the pkgdata written out at the end, so that if what you're adding is a library and the next thing you add is something that depends on that library, the necessary information to map the dependency back to the recipe is present. In practical terms all this means is we need do_packagedata to run in addition to do_populate_sysroot. This does mean that do_package needs to run which wasn't running before, and that means that the few package QA tests that run within do_package such as installed-vs-shipped will now be run. This may be a bit bothersome, and prompted a fix for one of our oe-selftest tests as a result, but I don't see an easy way around it. Ultimately if you care about using the recipe in an image you'll need to fix any such errors anyway. Fixes [YOCTO #8887]. (From OE-Core rev: 6579c7120ee5a541427ff5b6b07f838d52f9fe7c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/populate_sdk_ext: add option to bring in pkgdata for worldPaul Eggleton2016-01-243-4/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a variable SDK_INCLUDE_PKGDATA which you can set to "1" to include pkgdata for all recipes in the world target. There are a couple of uses for this: 1) If you use "devtool add" to add a recipe that builds something which depends on anything in world, the dependency can then be correctly mapped to the recipe providing it and that recipe can be added to DEPENDS, since we have the pkg-config and shared library dependency data within pkgdata. 2) You'll be able to search for these recipes and any files they package for the target with "devtool search" since that also uses pkgdata This of course assumes you've tailored world through EXCLUDE_FROM_WORLD to only include recipes you'd want built in your distro, but I think that's a reasonable assumption; failing that there is a WORLD_PKGDATA_EXCLUDE variable that you can set to exclude any recipes you don't want. Note that this patch relies on functionality implemented in a recent BitBake patch and will not work without it. Implements [YOCTO #8600]. (From OE-Core rev: 67149ea097d6fab7496b43e85a40853f40bd527e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: Port patches for linux-headers for muslKhem Raj2016-01-244-0/+185
| | | | | | | | | | | These patches have revealed issues with linux kernel headers which has been proposed upstream but hasnt been applied yet (From OE-Core rev: 8d760bd9df101a03f148205e7d79b555b4dfd8c7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: Update to 0.6.17+Khem Raj2016-01-241-2/+2
| | | | | | | | (From OE-Core rev: b4617088e199e79e77b429a4699181593e21f325) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix locale location on muslKhem Raj2016-01-243-10/+16
| | | | | | | | | | | | | gettext.m4 macro does not detect musl triplets and falls back to ${libdir}/locale It ends up with lot of packging warning "files installed but not packaged" (From OE-Core rev: 6fae6a92cf3d9810dc68438f3b20913453812437) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: Set LD to avoid using build host ldKhem Raj2016-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | base ld is used during link phase and since its x86 so it works mostly, however it can cause problems depending upon build host. During cross build we should use cross linker Fixes errors e.g. ld -shared -m elf_i386 --hash-style=gnu -T /home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/work/i586-oe-linux/syslinux/6.03-r0/syslinux-6.03/com32/lib/i386/elf.ld -soname libcom32.c32 -o libcom32.elf zlib/adler32.o zlib/compress. o zlib/crc32.o zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/inffast.o sys/zfile.o sys/zfopen.o libpng/png.o libpng/pngset.o libpng/pngget.o libpng/pngrutil.o libpng/pngtrans.o libpng/pngwutil.o libpng/pngread.o libpng/pngrio.o libpng/pngwio.o libpng/pngwrite.o libpng/pngrtran.o libpng/pngwtran.o libpng/pngmem.o libpng/pngerror.o libpng/pngpread.o jpeg/tinyjpeg.o jpeg/jidctflt.o jpeg/decode1.o jpeg/decode3.o jpe g/rgb24.o jpeg/bgr24.o jpeg/yuv420p.o jpeg/grey.o jpeg/rgba32.o jpeg/bgra32.o pci/cfgtype.o pci/scan.o pci/bios.o pci/readb.o pci/readw.o pci/readl.o pci/writeb.o pci/writew.o pci/writel.o sys/vesacon_write.o sys/vesaserial_write.o sys/ve sa/initvesa.o sys/vesa/drawtxt.o sys/vesa/background.o sys/vesa/alphatbl.o sys/vesa/screencpy.o sys/vesa/fmtpixel.o sys/vesa/i915resolution.o syslinux/reboot.o syslinux/keyboard.o syslinux/version.o syslinux/pxe_get_cached.o syslinux/pxe_get_nic.o syslinux/pxe_dns.o syslinux/video/fontquery.o syslinux/video/reportmode.o syslinux/addlist.o syslinux/freelist.o syslinux/memmap.o syslinux/movebits.o syslinux/shuffle.o syslinux/shuffle_pm.o syslinux/shuffle_rm.o syslinux/bios$oot.o syslinux/zonelist.o syslinux/dump_mmap.o syslinux/dump_movelist.o syslinux/run_default.o syslinux/run_command.o syslinux/cleanup.o syslinux/localboot.o syslinux/runimage.o syslinux/loadfile.o syslinux/floadfile.o syslinux/zloadfile$o syslinux/load_linux.o syslinux/initramfs.o syslinux/initramfs_file.o syslinux/initramfs_loadfile.o syslinux/initramfs_archive.o sys/libansi.o sys/gpxe.o atexit.o onexit.o abort.o | ld: zlib/deflate.o: unrecognized relocation (0x2b) in section `.text' | ld: final link failed: Bad value | make[4]: *** [libcom32.elf] Error 1 (From OE-Core rev: c4897af85eace49e3c27aebc1448227105286e30) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix gold linking errors due to unresolved R_ARM_MOVW_ABS_NCKhem Raj2016-01-242-0/+1005
| | | | | | | | | | | | | This issue has been seen in multiple times e.g. http://patchwork.openembedded.org/patch/103083/ https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg72513.html (From OE-Core rev: 9db094039ed7bce34006cc21bb65cd800fbfee7d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* puzzles: Silence warning on arm with clangKhem Raj2016-01-242-0/+73
| | | | | | | | | | | Clang finds overflows when comparison is done between an unsigned char and a integer constant. So explicitly typecast the constant before comparison (From OE-Core rev: 2a18273fc74c6493e3d34499a8774e237772f109) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglinfo: Fix build on raspberrypiKhem Raj2016-01-242-1/+37
| | | | | | | (From OE-Core rev: 41c85bcf121ecaeae8097c9874fda51d8a4f2b4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with muslKhem Raj2016-01-242-1/+60
| | | | | | | | | | Define _POSIX_C_SOURCE if not defined Add sockaddr_un* to sockaddr* typecast to make compiler happy (From OE-Core rev: cdb858caadd81d3bdc9ea3fd596e3eab84ec2d81) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: Define __error_t_defined on muslKhem Raj2016-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Configure looks for error_t in errno.h and musl does not define error_t if its not defined then configure emits a definition to be used, now we also use standalone argp implementation from glibc on musl based systems which defines this in argp.h as well so now we have it defined twice and errors like | /a/builder/mnt/build-oe/tmp-musl/sysroots/raspberrypi2/usr/include/argp.h:40:13: error: cannot combine with previous 'int' declaration specifier | typedef int error_t; | ^ | ../config.h:257:17: note: expanded from macro 'error_t' | #define error_t int | ^ | 1 error generated. are seen. argp.h definition is conditional on __error_t_defined which is true here so lets define it on musl (From OE-Core rev: 29e1edcba39a21057ba5862eef4e79c177e7ef62) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Fix header inclusion when not using glibcKhem Raj2016-01-242-0/+54
| | | | | | | | | | It did differentiate on features in libc but assumed always glibc this patch make that assumption clear (From OE-Core rev: c360290f22abfe9e37ca2fc0766b5a08a3276f6b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Update to 1.0.11Khem Raj2016-01-242-5814/+2
| | | | | | | | | | | | | changes are here http://mailman.uclibc-ng.org/pipermail/devel/2016-January/000665.html Drop upstreamed patch (From OE-Core rev: 1553adb92bfdcfda9c216a72658ccf327b6ab1aa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unfs3: Depend on libtirpc when building on muslKhem Raj2016-01-241-3/+5
| | | | | | | | | needs a rpc implementation (From OE-Core rev: db75c6dda5b7768249178eac2a8d6e1fc95fbe0f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: Fix build with muslKhem Raj2016-01-242-0/+68
| | | | | | | | | | | | | | | | | | strol_l is not available on musl delete charset.alias as well its not needed Use internal gc function on musl We get errors on certain functions not being available in boeheme gc when built with musl. Therefore use the internal versions e.g. Undefined gc_set_finalizer_notifier (From OE-Core rev: 31ee3460c3a0578ed36f3f5a940617ccb873c721) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsd-headers: Package cdefs.hKhem Raj2016-01-242-0/+28
| | | | | | | | | Its used in several packages (From OE-Core rev: 8fea65047519a4d84183571e09d3f3f559d9e164) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Create ld.so as a relative symlinkKhem Raj2016-01-242-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have rootfs intercepts which fail on musl because ld.so on musl is an absolute symlink to /usr/lib/libc.so and then it fails to load when run with qemu user mode. Fixes rootfs failures like WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for details! WARNING: The postinstalls for the following packages will be postponed for first boot: libgdk-pixbuf-2.0-loader-jpeg li bgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif libgdk-pixbuf-2.0-loader-xpm WARNING: [log_check] core-image-sato: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for details! WARNING: [log_check] core-image-sato: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The postinstalls for the following packages will be postponed for first boot: libgdk-pixbuf-2.0-lo ader-jpeg libgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif libgdk-pixbuf-2.0-loader-xpm (From OE-Core rev: d48ea3354eff8244e1734fa571bb52c810431b3f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fts: Fix linker hash-style optionKhem Raj2016-01-241-1/+7
| | | | | | | | | | | | pass --hash-style explicitly to linker and ensure that mips does not use gnu hash style This inoculates fts when compiler does not pass hash style option e.g. clang (From OE-Core rev: a40532a5277e1c0392032ff2d4992046477fadf0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: Correct cross-compile CFLAGS and fix build with muslKhem Raj2016-01-243-1/+71
| | | | | | | | | enable largefile support if its in DISTRO_FEATURES (From OE-Core rev: 300defd71205bf350a6e956451e0cc87c4e92902) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: Undefine HAVE_SYS_CDEFS_HKhem Raj2016-01-241-0/+4
| | | | | | | | | | nss's build system assumes that cdefs.h is always available on linux which is not the case with musl (From OE-Core rev: c4a5a8c4a6dbdcf735024aaee9e36a7a7b56cb96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apmd: Fix build with muslKhem Raj2016-01-242-0/+27
| | | | | | | | | | | | | | Fix error like below | apmd.c:372:41: error: use of undeclared identifier '__WCOREFLAG' | status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG; | ^ | apmd.c:392:41: error: use of undeclared identifier '__WCOREFLAG' | status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG; (From OE-Core rev: b9c870a25757ab11f4167c076449a3de537247cf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcmciautils: Fix parallel build and include sys/types.hKhem Raj2016-01-243-11/+29
| | | | | | | | | | | | | parallel build patch was removing dependencies on .c files mistakenly just adding src/yacc_config.h to dependencies in existing rule should have fixed the original build race include sys/types.h in lex_config.l for getting u_long definition (From OE-Core rev: 149a5202d32650775386e166ed06855097256977) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: Define _GNU_SOURCE for getting loff_t definitionKhem Raj2016-01-242-0/+32
| | | | | | | | | | | Fixes errors e.g. vmcore-dmesg/vmcore-dmesg.c:370:32: error: unknown type name 'loff_t' (From OE-Core rev: 93911daf0b492d16d02b2bd7ce93ae1eb6bdb5a4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Skip parsing on musl based targetsKhem Raj2016-01-241-0/+4
| | | | | | | | | | systemd on musl doesn't yet work even though we have patches to make it compile it fails to run, therefore lets skip building it for now (From OE-Core rev: a1986acf66381dee18f5c8deae7cf52490d0f58a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: fix build with muslRoss Burton2016-01-242-0/+48
| | | | | | | | (From OE-Core rev: 0b1b091bcfee268773002e8f015ead77c9de953a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* portmap: Point to tirpc headers and libraries on muslKhem Raj2016-01-241-0/+4
| | | | | | | (From OE-Core rev: 68442d149158a4d6ca817bbaedb2400e43d3957f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: Disable tcp-wrappers for muslKhem Raj2016-01-241-0/+1
| | | | | | | | | Doesnt build with musl (From OE-Core rev: 8c41bdc5252bbe119ab91a119cc3b9c285a7c16c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsd-headers,musl: Add recipe for bsd missing featuresKhem Raj2016-01-244-0/+1633
| | | | | | | | | let musl depend on these headers so they are staged along with libc (From OE-Core rev: 2cb184e4abaa69faad9f94631a3906188aa78e96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Implement canonicalize_file_name() for musl as wellKhem Raj2016-01-242-0/+47
| | | | | | | (From OE-Core rev: 6faa7294ebc4f9897e256cad4b6e16fb56faaab9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* chkconfig: Avoid using caddr_tKhem Raj2016-01-242-1/+36
| | | | | | | (From OE-Core rev: 52658750ffb40386b7677de0330c1ab147e8679b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Drop older glibc codeKhem Raj2016-01-242-0/+44
| | | | | | | | | | This was not only getting included for libc5 but also for not-glibc libc implementations e.g. musl (From OE-Core rev: 9d0fed7d3b2e70bc5d6bc2b0e1cc38166df3f0d2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* irda-utils: Fix header inclusionsKhem Raj2016-01-242-0/+30
| | | | | | | | | Helps compile with musl (From OE-Core rev: b16f41b43f1955331baf95ea17965332fe4556a2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iproute2: Fix build with muslKhem Raj2016-01-242-0/+98
| | | | | | | (From OE-Core rev: e24ca9a02c0c66796c9815752679594e78821127) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libuser: Fix build when secure getenv is not thereKhem Raj2016-01-243-1/+92
| | | | | | | | | Fixes build on musl (From OE-Core rev: a0739c37bef360b0268267284b86adf3cc140051) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iputils: Use member based initialization for mrghdr structKhem Raj2016-01-243-0/+146
| | | | | | | | | | | | | Fix build with musl uclibc and glibc dont agree on structure of the struct, musl rightly adds padding elements, so when doing anonymous initialization struct elements gets wrongly mapped on 64bit arches (From OE-Core rev: 3c54b18797eb26d2045fd506d2b0c8b996a0396c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pax: Fix build with muslKhem Raj2016-01-243-0/+1330
| | | | | | | | | | There are several BSD specific assumptions and some GNU specific ones. (From OE-Core rev: 49e8fc6c4511e026dee176422cf3a7b7558c7cfc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Fix build for musl based targetsKhem Raj2016-01-242-0/+25
| | | | | | | | | | | | | | | | | It only considered linux-gnu hosts when cross compiling here we add linux-musl to the mix as well Fixes errors e.g. 1.28-r0/tar-1.28/src/tar.c:1351:5: error: 'SAVEDIR_SORT_INODE' undeclared here (not in a function) | SAVEDIR_SORT_INODE | ^ (From OE-Core rev: c17d9a8d7f89b8e855f87d61583075129e4aa72c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: Fix build with non-gcc compilersKhem Raj2016-01-242-1/+32
| | | | | | | | | | Makery hard sets CC to be some form of gcc, make it set only if CC variable is absent in environment. (From OE-Core rev: 8d83c6ad78e1f965a55c0d3f430bad2781a3eb33) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Fix build with clang/muslKhem Raj2016-01-244-0/+128
| | | | | | | | | | | | backtrace is glibc only feature on linux so check for glibc before using it Clangs clear_cache has different signature than gcc provided builtin make it compatible for both (From OE-Core rev: c3dc346d44c8c5485b3eb1a97f32ba2ed2e76ece) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Include sys/types.h for u_char and u_short defsKhem Raj2016-01-242-0/+45
| | | | | | | (From OE-Core rev: 916ca791c70ec2bddae7623e77b7e39b6c591907) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: untangle header inclusion mazeKhem Raj2016-01-242-0/+133
| | | | | | | | | | wait is not union per posix it is int remove assumption about glibc is linux (From OE-Core rev: a590e541338d49130aaae5339856d31badd56719) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: Add missing header for MAXNAMLEN defineKhem Raj2016-01-242-2/+32
| | | | | | | | | Fix bug exposed on musl (From OE-Core rev: cc4f9860332300925d93e2607d675509fc002be4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: backtrace APIs are glibc specificKhem Raj2016-01-242-0/+46
| | | | | | | | | | Make backtrace() API's use conditional on glibc this helps make libunwind compile on musl (From OE-Core rev: acffe22de65fad2f69c702e4fe94b366883a265b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Add support for building for musl targetsKhem Raj2016-01-243-1/+32
| | | | | | | | | | | Turn bzip2 support into a PACKAGECONFIG zlibs is a must have and therefore add it to DEPENDS will make the build consistent (From OE-Core rev: ded03dab901647a7388d219a3a228d4f4f4298e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* puzzles: Zero'ise structs before useKhem Raj2016-01-242-0/+33
| | | | | | | | | | Fixes build failures with musl where gcc5 flags it used before initialized. (From OE-Core rev: dda96dbb3e4cd83fe6b8fd8370c8ca2a737cc078) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Add musleabi to known architecturesKhem Raj2016-01-242-1/+44
| | | | | | | | | | | | Remove a glibc specific patch to be applied only for native version, this is a dpkg-native specific patch needed for Centos 5.8, this patch should be redone to be glibc independent for it to be applied to all types of dpkg recipes (From OE-Core rev: 610a9f102a83e1ffb9d7954e40df5f65d24d3a26) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>