summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gzip: Avoid host contamination during buildDan McGregor2014-06-011-0/+2
| | | | | | | | | | | On systems with /bin and /usr/bin merged the gzip recipe may find grep in /usr/bin, while OE puts it in /bin. Force the recipe to find grep in the correct place. (From OE-Core rev: 8ae714bb59c67433ded1efe6a8750e0e9c126dab) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Set a dafault value for TUNE_PKGARCHRichard Purdie2014-06-011-0/+1
| | | | | | | | | | | | | | | If we don't do this, we see an exception: ERROR: Failure expanding variable MACHINE_ARCH, expression was ${@[d.getVar('TUNE_PKGARCH', True), d.getVar('MACHINE', True)][bool(d.getVar('MACHINE', True))].replace('-', '_')} which triggered exception AttributeError: 'NoneType' object has no attribute 'replace' Setting a default value avoids this error and allows the sanity checker to trigger instead. (From OE-Core rev: 106e9a3f594658b6a207f1f29bd4007616cc31d6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Clean up configure_prepend and fix for mingwRichard Purdie2014-06-013-41/+1
| | | | | | | | | | | | | | | | | | | | | The do_configure_prepend was duplicated in gcc-4.X.inc and gcc-configure-common.inc leading to confusion when reading the resulting do_configure task where the file was processed twice. The only difference was the removal of the include line for gcc 4.8/4.9. On mingw were were seeing two issues, firstly that the if statements meant the values we wanted weren't being set, the second that the include paths were still wrong as there was no header path set. To fix the first issue, the #ifdef conditionals were removed, we want to set these things unconditionally. The second issue is addressed by setting the NATIVE_SYSTEM_HEADER_DIR variable here (it was already set in t-oe). (From OE-Core rev: db44be06c75f2ac17a55dd1764471e869e872b8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classextend: Fix crosssdk remapping for multilibRichard Purdie2014-06-011-0/+2
| | | | | | | | | | Multilib builds only require one crosssdk toolchain. We therefore shouldn't be remapping crosssdk names. This resolves build failures looking for weird multilib crosssdk toolchains. (From OE-Core rev: aa8b93e2db06866529d20939452f81fb9e18aaab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: Update SRCREVPaul Barker2014-06-011-1/+1
| | | | | | | | | | Recent changes in opkg-utils allow package files to be stored in a different directory to the package index if desired. (From OE-Core rev: 237b9700d449de03a3f5dc524c15709f46941cf9) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* combo-layer: fix revlist taking into account file_filterJoão Henrique Ferreira de Freitas2014-06-011-1/+1
| | | | | | | | | | | | | | If file_filter is set, git format-patch takes account but git rev-list does not. So revlist is going to get with wrong revisions. And last_revision will be updated with wrong revision. The next time that user run combo-layer it complain about applying patches. So ensure that 'git rev-list' are using file_filter as 'git format-patch'. (From OE-Core rev: c22e40900d8e33c2c884e714c11ddb771b86923f) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: fix to handle priority numbers correctlyChen Qi2014-06-012-0/+29
| | | | | | | | | | | | | | | The update-rc.d treated priority numbers begin with '0' as octal numbers. This led to problems of update-rc.d being unable to handle priorities like '08' or '09' correctly. This patch fixes the above problem. [YOCTO #6376] (From OE-Core rev: 675fd834b9ed696cd87809830d57d3da083580d3) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix configure when re-building with goldKhem Raj2014-06-012-0/+35
| | | | | | | (From OE-Core rev: 2a36a02c2444551579b8498468debfaff0faa6d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc, uclibc: Add/Fix Upstream-Status in patchesKhem Raj2014-06-012-1/+3
| | | | | | | (From OE-Core rev: 68a0e34260f884f6fb39aae2d0bad035b2b1d177) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Add musl to safe recipes for exclusionKhem Raj2014-06-011-0/+1
| | | | | | | (From OE-Core rev: ad8ccccf442e29a0b733753c1951f402baa330a9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: Let it recognise *-*-musl* tripletsKhem Raj2014-06-012-0/+26
| | | | | | | | | | This will help autotools based packages to recognise musl (From OE-Core rev: a51f790bd657011d871aab603d1695937bfa2033) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-canadian.bbclass: Recognise muslKhem Raj2014-06-011-1/+3
| | | | | | | (From OE-Core rev: 66fd622058f690dbb291a648ec1583191bf44df5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Remove dependency on ldconfig-native for muslKhem Raj2014-06-011-0/+1
| | | | | | | | | it does not grok glibc ldconfig format (From OE-Core rev: 9c85aef3ce25f6eb1d370a1a94e3fe16d59ec627) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib_header: Do not install mutlilib headers for muslKhem Raj2014-06-011-0/+7
| | | | | | | | | | | | | | musl is not multilib and this creates trouble. eg. when util-linux probes for ncurses it does not find it because ncurses has installed the multilibbed header and this header includes bits/wordsize.h and this header does not exist on musl systems. If and when musl adds multilib support we will revisit it. (From OE-Core rev: dad1c2746326912db41a3ff180679cdfe0e844f9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tclibc-musl.inc: Add musl specific distro policy fileKhem Raj2014-06-011-0/+27
| | | | | | | | | | With this we could use TCLIBC=musl to switch to images based on musl (From OE-Core rev: 797ef28c55a30f1b465ce512fffa4e06c7f1c658) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo, insane: Recognize musl specific tripletsKhem Raj2014-06-013-0/+86
| | | | | | | | | | | We will use '-musl' to identify musl based systems this patch lays the foundation for recognising those and map them to internal variable representations (From OE-Core rev: 9cd77aed67373e33dc69158ab02b94d7045c1119) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updates to the "Making Images More Secure" section.Scott Rifenbark2014-05-301-28/+92
| | | | | | | | | | | | Fixes [YOCTO #5482] Applied extensive review edist from Paul Eggleton throughout this section. (From yocto-docs rev: aa0bcd9199c83b43bad2390ff2292a8c2abe7455) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated example in extrausers.bbclass.Scott Rifenbark2014-05-301-0/+17
| | | | | | | | | | I added a couple of examples to show how to set passwords. This is the -P option for adduser. (From yocto-docs rev: 2726fcd3b3c2a5144b23af6ab342832c242f85c1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Fixed a link to the PACKAGE_ARCHS variable.Scott Rifenbark2014-05-301-1/+2
| | | | | | | (From yocto-docs rev: 9723030d04b34794555aa7a864c39950001e005b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the PACKAGE_ARCHS variable.Scott Rifenbark2014-05-301-1/+1
| | | | | | | (From yocto-docs rev: d29b25cdefa61017e832b7f52162bf8004bcedd4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the SDK_PACKAGE_ARCHS variable.Scott Rifenbark2014-05-301-1/+1
| | | | | | | (From yocto-docs rev: bc66fbc0b6888b71258429abf808e10c22c5d3cb) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the SDK_PACKAGE_ARCHS variable.Scott Rifenbark2014-05-301-0/+16
| | | | | | | (From yocto-docs rev: 7a0abc52a4b85e98b383a6ac9ed46179a2662f7f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Further corrections to the PACKAGE_ARCH variable.Scott Rifenbark2014-05-301-3/+3
| | | | | | | (From yocto-docs rev: db48ae6f5720b3bc8ba6ae4caf565f1891dec5d5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to PACKAGE_ARCH variable.Scott Rifenbark2014-05-301-1/+21
| | | | | | | (From yocto-docs rev: 73ac04daf74bdca069e427b1069fa6075e5c30bd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the PACKAGE_ARCHS variable.Scott Rifenbark2014-05-301-0/+18
| | | | | | | (From yocto-docs rev: 436758c094db7fc51aa14ee7870d7dac678b416e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the MACHINE_ARCH variable.Scott Rifenbark2014-05-301-0/+14
| | | | | | | (From yocto-docs rev: 5f1523857d9c96753c40e1678354d641109b9130) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the SSTATE_MIRROR_ALLOW_NETWORK variable.Scott Rifenbark2014-05-301-0/+18
| | | | | | | (From yocto-docs rev: c16d4783ee5289fe6696f6ac056b63c4855b9c9e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added EXTRA_IMAGECMD variable.Scott Rifenbark2014-05-301-0/+10
| | | | | | | (From yocto-docs rev: cacffe510bf626d0806c323c248fc2cc2fbd11f0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added IMAGE_CMD variable.Scott Rifenbark2014-05-301-0/+27
| | | | | | | (From yocto-docs rev: 2050839776033fcd25ed4f9f376b9f2c44c3d235) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the IMAGE_DEVICE_TABLES variable.Scott Rifenbark2014-05-301-0/+19
| | | | | | | (From yocto-docs rev: 65a27a0be63d6f0c4ac1c19440ef27c3ab6a4fa8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the IMAGE_ROOTFS_ALIGNMENT variable.Scott Rifenbark2014-05-301-0/+16
| | | | | | | (From yocto-docs rev: 823434a08e77e71b63d08ee129b84ffd2f49d6bc) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the PACKAGE_PREPROCESS_FUNCS variable.Scott Rifenbark2014-05-301-11/+4
| | | | | | | | | I had the wrong description in here. (From yocto-docs rev: eafe3fb2324d6361ee799177ffbb3de05795a2e2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the PACKAGESPLITFUNCS variable.Scott Rifenbark2014-05-301-0/+18
| | | | | | | (From yocto-docs rev: 3d0a40cb47b117631fd3eebf7e2ef43f668390e7) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the PACKAGE_PREPROCESS_FUNCS variable.Scott Rifenbark2014-05-301-0/+18
| | | | | | | (From yocto-docs rev: c2827351b70a51ef0f0703ab9014b9c03dd62b17) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the SDKMACHINE variable.Scott Rifenbark2014-05-301-25/+8
| | | | | | | (From yocto-docs rev: 49192e94a6e3f6cc86f99801de4d62ffdd8e035e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the UBOOT_MACHINE variable.Scott Rifenbark2014-05-301-0/+6
| | | | | | | (From yocto-docs rev: 4db47e2571ba393d4d7ad2b21c7049d7094594af) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the LDFLAGS variable.Scott Rifenbark2014-05-301-0/+10
| | | | | | | (From yocto-docs rev: c9aed9429902ecdedfdfc0241e94d10b145af859) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the TARGET_CXXFLAGS variable.Scott Rifenbark2014-05-301-0/+10
| | | | | | | (From yocto-docs rev: fbe969ff13173b9be0bda72c15b11bbc1fb29e6d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the CFLAGS and CPPFLAGS variables.Scott Rifenbark2014-05-301-0/+20
| | | | | | | (From yocto-docs rev: 0a87848e5039e7c6fb17a1d082f75f28148c3b78) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added BUILD_OPTIMIZATION variable to glossary.Scott Rifenbark2014-05-301-0/+20
| | | | | | | (From yocto-docs rev: 9fbeed1e440909a9d624a1268107294c1f88c63f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the SELECTED_OPTIMIZATION variable.Scott Rifenbark2014-05-301-2/+11
| | | | | | | (From yocto-docs rev: d780744287fec32093dc1bf30cdfe6238c7aca27) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the "Making Images More Secure" section.Scott Rifenbark2014-05-301-6/+16
| | | | | | | | | | | | | | | | Fixes [YOCTO #5482] I added some key references to the section on considerations specific to the OpenEmbedded build system. In particular, I provided some cross-linking back to the extrausers.bbclass section to reference an example of adding a user account. I also split out the topics of adding an extra user and setting a password on the image in the bulleted list. (From yocto-docs rev: 19dcd70b9b5aba1bd5e7ce090d5449afcef726bf) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the ROOTFS_POSTPROCESS_COMMAND variable.Scott Rifenbark2014-05-301-0/+3
| | | | | | | | | Added a link to IMAGE_ROOTFS. (From yocto-docs rev: b87975da8f99926f220d11a02b1655245d00f8e1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Removed some extra space beyond the literal example.Scott Rifenbark2014-05-301-3/+0
| | | | | | | (From yocto-docs rev: 66bb31c9b59e5eaf4e35ade932a3d0f9083c4c47) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated the "Making Images More Secure" section.Scott Rifenbark2014-05-301-23/+157
| | | | | | | | | | | | | | | Fixes [YOCTO #5482] I did some significant re-writing and re-organization of this section. It now includes a bit about securing an image in general, provides general considerations, considerations specific to the OpenEmbedded build system, pointers to some tools in meta-security layer, and some other items. (From yocto-docs rev: a900286992e781f451b3c180726965f5c7172bb9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: another minor fix to the CPPFLAGS variable.Scott Rifenbark2014-05-301-2/+2
| | | | | | | (From yocto-docs rev: 203d09cfe5f926b14a260886a5d213cf15f33442) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Took out the links to the "Making Images Secure" section.Scott Rifenbark2014-05-301-12/+0
| | | | | | | | | | | | | Updated the following variables: CFLAGS CPPFLAGS CXXFLAGS (From yocto-docs rev: 58d82513ef70287717e7e208742aa72196708fc1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: More edits to some compiler passing variables.Scott Rifenbark2014-05-301-6/+6
| | | | | | | (From yocto-docs rev: 39a6ade52082b4c82a91ac985f7312496a1e837b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to a few variables in the glossary.Scott Rifenbark2014-05-301-5/+5
| | | | | | | | | | | | | | | I updated the following variables with minor changes: TARGET_CC_ARCH BUILD_CPPFLAGS BUILDSDK_CPPFLAGS CPPFLAGS TARGET_CPPFLAGS (From yocto-docs rev: f7d48ed379778a8568c7e5f812cdb1cbc5339f39) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to the QA checks message section and insane.bbclass.Scott Rifenbark2014-05-302-27/+40
| | | | | | | | | | | | | Fixes [YOCTO #6159] I applied some review edits to various parts of the QA chapter as derived by Paul Eggleton. Also, updated two areas of the insane.bbclass list. (From yocto-docs rev: 6529a261961339b747bb3b89b3080ef794244809) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>