summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
Commit message (Collapse)AuthorAgeFilesLines
* Revise stripping and splitting of debug informationMark Hatle2011-02-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | We now support two styles of debug information generation, the '.debug' style, which is the same as previously implemented. This style simply splits the debug information and makes it available in the same general directory. /bin/foo -> /bin/.debug/foo The new 'debug-file-directory' style splits the debug information and places it into the single debug-file-directory, /usr/lib/debug: /bin/foo -> /usr/lib/debug/bin/foo.debug Both also find and copy all referenced source code to a new /usr/src/debug directory. This allows the -dbg files to be used for stand-a-lone debugging on or off the target device. File stripping is now handled as a seperate operation from file splitting. This allows us to split the debug information, but also leave it in the original file -- or prevent the debug information from being split. Also enhance the comments within local.conf.sample to provide a better understanding of the control the user has over debug file generation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* bitbake.conf: Add DISTROOVERRIDES variableSaul Wold2011-02-231-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf: change revision fetching to use newer fetch2 codeSaul Wold2011-02-141-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf: fix SDK_NAMEKoen Kooi2011-02-091-1/+1
| | | | | | | | | | | | | | It was using a '/' in a name variable, subtly breaking things like this: populate_sdk.bbclass: mkdir -p ${SDK_DEPLOY} cd ${SDK_OUTPUT} tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . Tar will error out since SDK_DEPLOY/DISTRO/ doesn't exist. Change the default to be more like the one from poky.conf, without the poky specific POKYLIBC. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Force git fetches to a new location after fetcher layout changesRichard Purdie2011-02-071-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTIONMark Hatle2011-02-031-8/+22
| | | | | | | | | | | | | | | A new default SUMMARY and DESCRIPTION was defined for any package that previously did not contain one. This value is based on the original SUMMARY_${PN} value. The new default SUMMARY and DESCRIPTION is used as a basis for all of the automatic summary and descriptions for the various package splits, include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales. A recipe may also override any of the automatic summaries by simply specifying the value. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* bitbake.conf: Fix missing NM definitionMark Hatle2011-02-031-0/+2
| | | | | | | | The definition of NM was missing, causing certain configure calls to revert to using the host system's version of NM. This can cause problems on some MIPS based targets, but is theoretically wrong everywhere. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* bitbake.conf: Set LC_ALL instead of requring bitbake or env scripts to do thisRichard Purdie2011-02-021-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: machine specific sysroots implementationDongxiao Xu2011-01-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the sysroots path to be machine specific. Changes includes: 1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific paths. 2) task stamp files. Adding ${MACHINE} info into stamp files for do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged. 3) siteconfig path. Separate the site config path for different machines to avoid one machine adopting the cache file of another machine. 4) sstate. Add machine name to sstate manifest file. Change relocation code for sstate paths since sysroot is machine. Keep native, nativesdk, crosssdk, and cross-canadian unchanged. 5) toolchain scripts. Change the environment path to point to machine specific sysroots in toolchain scripts bbclass. 6) Relocate la files when populating to a different machine of the same architecture. 7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate siginfo since they contain ${MACHINE} information. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* gcc/libc: Change bootstrap to use an intermediate sysroot and hence no ↵Richard Purdie2011-01-251-0/+1
| | | | | | | | longer overwrite files Based upon patches from Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu2011-01-211-0/+1
| | | | | | | | | | Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf: add USERNAME to BB_HASHBASE_WHITELISTKevin Tian2011-01-211-1/+1
| | | | | | previously only USER is in the whitelist, however both are possible on different distros Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* bitbake.conf: Whitelist FILESPATH as a variable not to include in taskhashesRichard Purdie2011-01-121-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Whitelist MACHINE variable in PACKAGE_ARCHSRichard Purdie2011-01-121-0/+3
| | | | | | | | | | | | PACKAGE_ARCHS represents all compatible architectures for a given machine. It makes no sense for this variable to change any task checksums as it doesn't inject any machine dependency into any known task. Multimachine means machine specific packages will be detected through other variables. Before this patch, even native packaging tasks were ending up being marked as machine specific. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fetcher: break the "SRCREVINACTION" deadlockYu Ke2011-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Current fetcher has annoying "SRCREVINACTION" deadlock, which occurs when SRCREV=${AUTOREV}=@bb.fetch.get_srcrev(): get_srcrev()->setup_localpath()->srcrev_internal_helper() ->evaluate SRCREV->get_srcrev() current fetcher resolve the deadlock by introducing a "SRCREVINACTION" condition check. Althoguh it works, it is indeed not clean. This patch use antoehr idea to break the deadlock: break the dependency among SRCREV and get_srcrev(), i.e. assign a specific keyword "AUTOINC" to AUTOREV. when Fetcher meet this keyword, it will check and set the latest revision to urldata.revision. get_srcrev later can use the urldata.revision for value evaluation(SRCPV etc). In this case, SRCREV no longer depends on get_srcrev, and there is not deadlock anymore. Signed-off-by: Yu Ke <ke.yu@intel.com>
* bitbake/poky.conf: Add TARGET_LINK_HASH_STYLE option to TARGET_LDFLAGS as ↵Richard Purdie2011-01-101-1/+2
| | | | | | per OE.dev Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Set a default hash policy globally, not just in the poky ↵Richard Purdie2010-12-301-0/+6
| | | | | | distro config Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/poky-env-internal: Adjust PSEUDO variables to match pseudo ↵Richard Purdie2010-12-171-2/+2
| | | | | | enabled/disabled modes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Drop variables that do nothingRichard Purdie2010-12-101-3/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* task-cross-canadian: Ensure it reflects TARGET_ARCH in PNRichard Purdie2010-12-101-0/+2
| | | | | | | If this recipe doesn't reflect TARGET_ARCH in its name, only one flavour of cross toolchain can be installed at once. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Poky -> Yocto name changeRichard Purdie2010-10-271-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie2010-10-221-0/+1
| | | | | | | | | | | | | | If sstate was used to accelerate a build, the pseudo directory might not have been created leading to subsequent task failures. Also, sstate packages were not being installed under pseudo context meaning file permissions could have been lost. Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures exists before running tasks and running the appropriate setscene tasks under fakeroot context. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Make invalid LICENSE fields fatalRichard Purdie2010-09-301-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie2010-09-291-1/+1
| | | | | | unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/documentation.conf: Start using SUMMARY variable and document itRichard Purdie2010-09-211-4/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTORSaul Wold2010-09-081-1/+5
| | | | | | | | This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to adjust dynamicly how much space to add for each image, thus there is 20% overhead space by default. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* meta-toolchain: update to reflect opkg state directory moveJoshua Lock2010-08-261-0/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake.conf: Add DESCRIPTION for -dev, -dbg and -doc packagesRichard Purdie2010-08-231-0/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Add shared/pkgconfig files to standard -dev globMark Hatle2010-08-201-1/+2
| | | | | | | | | | Add the pkgconfig files that may appear into the shared directory into the -dev globbing. Also change the udev integration to remove the manual instance of the shared directory .pc file. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* bitbake.conf: Set FAKEROOTENVRichard Purdie2010-08-181-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Fix up OVERRIDES documentation (some bits from OE) and also ↵Richard Purdie2010-08-121-6/+10
| | | | | | add forcevariable OVERRIDE Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Set PKG_CONFIG_LIBDIRRichard Purdie2010-08-121-0/+1
| | | | | | | If this isn't set, pkg-config will use its inbuilt paths which mean it can end up looking in the native sysroot. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONSRichard Purdie2010-08-121-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo: Change pseudo integration to better support local DBsMark Hatle2010-08-041-3/+2
| | | | | | | | | Change the pseudo integration: * Uprev to latest open source version * Restructure the patches to allow for many local DBs, as well as pseudo specific lib dirs. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* bitbake.conf: change inode calculation for genext2fs [BUGFIX#138]Kevin Tian2010-07-271-4/+6
| | | | | | | | | | | | | | genext2fs 1.4.1 creates minimal inode number based on specified rootfs directory. This is desired in some embedded devices as storage/memory are precious. However it's not suitable in development phase where target rootfs may be changed heavily on the fly (remote debug, test, ...). Sometimes this may even cause "No space on device" error due to limited free inodes exhaulted at the 1st boot. Here a new option is added to allow falling back to original 1.3 behavior, i.e caculating inode number based on specified bytes-per-inode parameter. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* meta/conf/bitbake.conf: Configure pseudo to not expand symlinksMark Hatle2010-07-241-1/+1
| | | | | | | | When using the fake chroot ability of pseudo, it will expand absolute symlinks to their full non-fake path by default. The simple change disables that behavior, as it is undesired when generating a rootfs. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* pseudo: EnhancementsJoshua Lock2010-07-241-1/+3
| | | | | | | | | | | | | Enable changing the data directory on the fly from the environment and then use this feature within poky to confine pseudo usage to each WORKDIR. This fixes issues that could be seen under heavy inode reusage e.g. with rm_work. Work based mainly off a patch from Joshua Lock but finished by Richard Purdie. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/cross.bbclass: Inject MULTIMACH_TARGET_SYS into the toolchain ↵Richard Purdie2010-07-231-1/+2
| | | | | | paths to prevent multimachine cross contamination Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Increase the image generation free spaceRichard Purdie2010-07-221-1/+1
| | | | | | | The current free space doesn't leave much room for using the image, increase it. Patch from Saul Wold with tweaks. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: move PSTAGE_DIR and DL_DIR with build outputJoshua Lock2010-07-211-2/+2
| | | | | | | | | Having PSTAGE_DIR be a top level directory by default doesn't make sense, move it to be a child of the build directory so that it lives with all other built output. Also move DL_DIR to a child of the build directory for the use case of an unwriteable $OEROOT. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Use pseudo rather than fakeroot for fake root privilegesJoshua Lock2010-07-161-0/+6
| | | | | | | Make use of the ability to configure the fake root provider and use Wind River's pseudo utility. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake.conf: Add base_libdir_nativesdkRichard Purdie2010-07-151-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Update sdk build flags after layout changesRichard Purdie2010-07-141-1/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-toolchain: Improve layoutRichard Purdie2010-07-021-0/+4
| | | | | | | | | | * Switch from /usr/local/poky to /opt/poky * Use a sysroots directory for both the "native" sdk binaries and the target * Drop the meta-toolchain extras packages. These are replaced with packaged-staging. * Change the nativesdk layout to match our usual filesystem layout * Clean up various hardcoded prefix references Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* lib/oe/patch.py: Fix patch application failure interaction handlingRichard Purdie2010-06-101-2/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Remove util-linux from ASSUME_PROVIDEDJoshua Lock2010-06-021-1/+0
| | | | | | We need to build our own util-linux now Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake.conf: add the LOG_DIR variableNitin A Kamble2010-06-021-0/+1
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* Install cross-packages into the native sysrootJoshua Lock2010-04-271-3/+1
| | | | | | | | | | | Cross is no longer required so can go away, we now install cross packages into the native sysroot and use them from there. This patch includes updates to classes and some recipes which reference CROSS_DIR. Others still need fixing an image can be built and run with this patch applied. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Move STAGING_BINDIR_CROSS into target sysroot, instead of nativeJoshua Lock2010-04-271-1/+1
| | | | | | | | | Cross scripts now live in sysroot/$arch-distro-os/crossscripts, this conveys that they are no longer native system dependant and emphasises their purpose. Bump the staging ABI and implement a simple migration from ABI 3 to ABI 4. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* base.bbclass: Split up as per the patch in OE.dev by Chris Larson making ↵Richard Purdie2010-03-191-0/+15
| | | | | | code more readable and modularised Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>