summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Hob: Improve the matching for runnable machine typeDongxiao Xu2012-03-291-1/+2
| | | | | | | (Bitbake rev: 1b14488bcfb345a3258b15ebfdaa2e1235a5fe87) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Define a variable to store the image name and toolchainDongxiao Xu2012-03-292-5/+12
| | | | | | | (Bitbake rev: d0b64d901b33c9e5247dbb2b05c89a1d65abbf8b) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix adding duplicated meta-hob layerDongxiao Xu2012-03-291-1/+3
| | | | | | | | | | While adding meta-hob layer, we need to detect whether it already exists in current layers. (Bitbake rev: b195823d19bcb71bd5eef19acfe22b2dd670d90a) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Remove un-used signal and functionsDongxiao Xu2012-03-292-12/+1
| | | | | | | (Bitbake rev: 9c632467eddc267ed54b78a40d5b1413287e3032) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: fix layers_changed testJoshua Lock2012-03-291-1/+4
| | | | | | | | | | | | | | | | Because we sort the treeview to list specific layers at the top, and therefore implicitly change the sorting of the underlying model, we can't be certain that the original layer list will equal the new layer list despite the included layers being the same. To ensure we can do a simple equality test to determine whether the layers have been modified first sort the lists to ensure we're comparing based on contents alone. (Bitbake rev: ae86cd8b4ef1e43b79230326ccba69e2900d074f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: hob progress bar should not be red when user stops buildJoshua Lock2012-03-295-13/+22
| | | | | | | | | | If the user explicitly stops the build telling them the build failed is a misnomer. (Bitbake rev: 722f4f0e31f9debf5ad20a91da759a8c25151567) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/builder: allow user to cancel Layer selection dialogueJoshua Lock2012-03-291-1/+3
| | | | | | | | | | Because layer changes may take some time allow the user to cancel out of the dialogue and prevent Hob from applying any of the changes made. (Bitbake rev: a2d1c035a5dd3d112a887e4386dfaf9b0c37c104) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hobwidget: change text sizes in HobImageButtonJoshua Lock2012-03-291-1/+1
| | | | | | | (Bitbake rev: 4301cc1e859a68d93eba3122be099bfaa90fbdfb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/imageconfigurationpage: add extra space between widgetsJoshua Lock2012-03-291-1/+1
| | | | | | | | | Add space between the target machine combo and the 'Layers' button. (Bitbake rev: bdd50d92e90f96bf7ff433bb539cdde4b0d21cdb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hobwidget: add padding to HobImageButtonJoshua Lock2012-03-291-2/+2
| | | | | | | | | Add more padding between the icon and the text (Bitbake rev: a81f6a33cf1fa9fe869ac617f2d14d66e07009ff) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change some words in settings dialog to make them consistentShane Wang2012-03-291-11/+11
| | | | | | | (Bitbake rev: 1def8d4d8e725bd9fc4330179557604dda27b917) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change some words on recipes screen and package screen to make them ↵Shane Wang2012-03-292-5/+5
| | | | | | | | | consistent (Bitbake rev: 63bfa397059823bea6fa453703cf0653fc123f0b) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change some words on image configuration screen to make them consistentShane Wang2012-03-291-3/+3
| | | | | | | (Bitbake rev: 6d5bcf80afbd081d41572985b724c615bd3a16b6) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change some words for build configurations on build details screenShane Wang2012-03-291-11/+11
| | | | | | | | | This patch is to change some words of variables to make them consistent with the GUI. (Bitbake rev: 4af7ab24ff3b170dfa74159c057e7110a615a8d3) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add Templates and Settings on image details screenShane Wang2012-03-293-9/+51
| | | | | | | | | | | | | | | | This patch is to add Templates and Settings tool buttons on the image details screen, which makes things easier and simplier. In order to fulfill that, the code splits the functions show_load_template_dialog() and show_adv_settings_dialog() in builder.py because they will possibly be called from different screens later. [Yocto #2163] (Bitbake rev: 29bea7b7076a7b74d36237da86a4eff6605d17ec) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Set one of deployable images or runnable images as the default toggled itemShane Wang2012-03-291-26/+46
| | | | | | | | | | | | | | | | | | With this patch, even though there are a lot of images built out, a default image which is either deployable or runnable is toggled by default. So, for users, one more action to select an image before running qemu or deploying is not needed any more. Note: If there are more than one runnable or deployable images (such as ext2, ext3, jffs2 and btrfs), only the first image is toggled by default for run-qemu or deployment. If the user wants to run or deploy others, he/she needs to toggle them manually. [Yocto #2155] (Bitbake rev: 4568dfbd5e693cce0e6e947f323eaf08a3176744) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/knotty: Add a footer to the build output for interactive terminals as ↵Richard Purdie2012-03-293-19/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | knotty2 UI On terminals which support it, add summary information to the end of the build output about the number of tasks currently running and how many tasks we've run so far. This provides a summary at a glace of what the current state of the build is and what the build is currently doing which is lacking in the current UI. Also disable echo of characters on stdin since this corrupts the disable, particularly Crtl+C. The "waiting for X tasks" code can be merged into this code too since that is only useful on interactive terminals and this improves the readability of that output too. Improvements since v0: * The tasks are ordered in execution order. * The display is only updated when the list of tasks changes or there is output above the footer. * Running task x oy y and package messages are supressed from the console This UI can be accessed with "bitbake -u knotty2". (From Poky rev: e38b4569648f2916c4370871c79e6a6090eb8bc1) (Bitbake rev: 156189c799d2bb1f69bdaa04b5cd718fe7881425) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uihelper: Keep track of pids in execution orderRichard Purdie2012-03-291-0/+6
| | | | | | (Bitbake rev: cec2f3eaa45a6fd8d3c53c09aaf010ac6101e7ba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: remove existing license.manifest before appending new dataEric Bénard2012-03-291-0/+4
| | | | | | | | | | without this fix, we append license each time we build again the same image, ending with a large not up to date file. (From OE-Core rev: 2d49a8f659694b60cdb706e8993cd9550e2002bd) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix remaining CP_ prallel make racesRichard Purdie2012-03-292-47/+89
| | | | | | (From OE-Core rev: 8fe53bdc807184bc41469d8587368b31192e6252) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb.build: use relative log links, not absoluteChristopher Larson2012-03-291-2/+3
| | | | | | | | | | | | Using symlinks to absolute paths isn't gaining us anything, and can cause problems in situations such as automated build systems when they try to resolve the link, depending on the mechanism used to pull the build artifacts (e.g. nfs). (Bitbake rev: f9cf2671c0ecad153db11bca1aebe151213bfb42) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Ensure we depend on file1.2_M4.rc41.2_M4.rc1Richard Purdie2012-03-281-1/+1
| | | | | | | | | | rpm links to libmagic from file so it needs to be listed in DEPENDS else we can have race conditions causing build failures such as those seen on the autobuilder recently. (From OE-Core rev: 432e36300d7231c9b01cd2c6c4b39b84cf4fddca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Update SRCREVKhem Raj2012-03-284-27/+131
| | | | | | | | | Get new patches and remove the one that got merged upstream (From OE-Core rev: 0e1a843a1f0c54f00736170de39a8a8f62d26879) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Added TBD entry to 1.2 manual history table.Scott Rifenbark2012-03-285-0/+25
| | | | | | | | | | | | There needed to be an entry in all the manual history tables that indicated this version of the manual is for 1.2 but is WIP. Reported-by: Rudolf Streif <rudolf.streif@linux.com> (From yocto-docs rev: 6792b88af4f0171cfc84e4d77bda871d4af3d36c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter: clutter_git is really clutter-1.8_git, renameRichard Purdie2012-03-281-0/+0
| | | | | | | | | | | | | | Both these clutter recipes provide 1.8. With different PN namespace, a world build cna build both causing the clutter libraries to "disappear" at certain points of the build. In particular, this causes issues for mx. This patch puts then into the same PN namespace so only one can be built. [YOCTO #2158] (From OE-Core rev: d5a7a9090b57793be1de63dca86fe40437628e9d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Make builds deterministicRichard Purdie2012-03-281-2/+2
| | | | | | | | | | | | | | libtiff now depends on lzma which can be obtained from xz and doesn't use lzo. Previously, libtiff would detect and use lzma if it was present leading to a number of race conditions including failures in things linking to libtiff such as ghostscript since lzma could be removed while being rebuild leading to failures in linking. This patch corrects the dependency. (From OE-Core rev: b6369ed4ea03fb5410f94c1ee646d488bf981987) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-intermediate: Ensure we move the libraries from the correct locationRichard Purdie2012-03-281-1/+2
| | | | | | | | | | | | | | | This fixes multilib issues if you try for example to use a BASELIB of /lib32 which wouldn't work without this change since the compiler install location is taken from gcc -print-multi-os-directory which can still turn out to be "/lib". The reason is that a 32 bit gcc has no multilib code enabled and will always return "." as that value rather than "../${base_libdir}" which our changes to gcc enable and return in 64 bit mode. (From OE-Core rev: cc953e2259bf77e9e1f7a1e3d0dbe1509c79477e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fixes for parallel_makeRichard Purdie2012-03-282-10/+844
| | | | | | (From OE-Core rev: e3408adc6912629f268795a1d3adb9df7134979b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: allow users to setup the proxiesShane Wang2012-03-283-11/+171
| | | | | | | | | | | This patch is to read the proxy variables such as all_proxy, http_proxy, https_proxy, ftp_proxy, GIT_PROXY_HOST, GIT_PROXY_PORT, CVS_PROXY_HOST, and CVS_PROXY_PORT from the bitbake server, show them on the Settings dialog for users to change and set proxies for the build. (From Poky rev: bbef66e4005def54d70d3720ec131fa7edc22e2a) (Bitbake rev: 66c63167cd139706100bfa35eb4ca66c98407615) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed some not compatible places for make runningbuild.py can be reused ↵Liming An2012-03-283-12/+20
| | | | | | | | | | | | | by another application The runningbuild.py has been shared by different applications, not only hob, so fixed the some not compatibled codes (From Poky rev: 99fa7388500fa97fe4629456daa50bb5637e51e6) (Bitbake rev: 23c13560fa76442c798058700863bd91491ca826) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the implementation way about get config info for building logLiming An2012-03-284-37/+95
| | | | | | | | | | | | | Make the building log config information to get from the bitbake parameters directly, and then cancel the old way of filting the building log on running [YOCTO #2144] (From Poky rev: b52025a0fe2ca65e4d8549b1b90f5813b0c2e39f) (Bitbake rev: 983f8848da0be02dadb1bb6530ff736325d014ba) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: use hob icon checker to check the gtk icon for make the icon constaintlyLiming An2012-03-281-5/+3
| | | | | | | | | | | | | Because we have hob icon, so need to make some gtk icon to transfer to hob icon. so use hob icon checker to fixed the gtk icon [YOCTO #2108] (From Poky rev: d1d84e5529e0d0752fdcd8d3458ed7595d373115) (Bitbake rev: 65bbc07a3557ac760c6b900880ea6ae2937afde3) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the recipe pasing error dialog icon from 'dialog-info' to ↵Liming An2012-03-281-1/+1
| | | | | | | | | | | | | 'dialog-error' [YOCTO #2109] (From Poky rev: 1fbd6eefc68ec38875968b8513739b732da412b8) (Bitbake rev: 840a566ce4c18a1c63ee82257de06c3ed910fe88) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed visually differentiate warnings and errors icon in building logLiming An2012-03-281-20/+47
| | | | | | | | | | | | | fixed the bug of 'error' and 'warning' icon is not constaintly with hob ui design [YOCTO #2097] (From Poky rev: 5b4f379b5341222e2678043f078b3d33c0556a86) (Bitbake rev: 3807a95cd48a01486b3ecd5360a59ddfc3a3b6d6) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add refresh icon as ui request in building logLiming An2012-03-282-4/+185
| | | | | | | | | | | add a refresh icon to indicator the running task, for avoid add more heavy to bitbake building process, increased the timer interval counter, and decreased the refresh icon render size. (From Poky rev: cf76d2cef0905a442e61769560173b2e6a58fb62) (Bitbake rev: d5923a484f80bc1577f78035152c2d0728e4a1f3) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/imagedetails: use secondary button style for 'View files'Joshua Lock2012-03-281-1/+5
| | | | | | | | | | | | | | Use HobAltButton, rather than gtk.LinkButton, for the 'View files' button. Use xdg-open to display the folders contents. (From Poky rev: 22955b47ac485e0d069ddd8301a11658d76bcfee) (Bitbake rev: 9647c188c0d06ec045c15281eae785e935c25d2b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/imageconfigurationpage: ensure widgets stay positionedJoshua Lock2012-03-281-6/+14
| | | | | | | | | | | | | Tweak the table layout and insert some dummy widgets when the buttons aren't drawn such that when the buttons do get drawn the existing widgets don't all jump up. (From Poky rev: 9edd833e7e36aea6a7350a36a5aad0ef300959c4) (Bitbake rev: c09f71414d459eb926aa567d90a63407407d173e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: tweak build status displayJoshua Lock2012-03-282-5/+7
| | | | | | | | | | | Use two lines to display the active task and recipe, per visual design. (From Poky rev: ea61503fc439e033b341bb7a50bac77c5e88834e) (Bitbake rev: ab508907308e8b1bc1b097df1f583dffd7ef25af) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: apply primary/secondary dialogue button stylingJoshua Lock2012-03-282-53/+89
| | | | | | | | | | | | | | | | | | | The design calls for primary buttons which are orange and large and secondary buttons which are subtle with pale blue text. This is so that the user is drawn towards the primary action and their use of the application is more guided. This patch uses HobButton and HobAltButton classes to style all dialogue buttons accordingly. Fixes [YOCTO #2125] (From Poky rev: 1a52fe9f9e79f33686bd92613fc93eb97daacab8) (Bitbake rev: 723ad434d427398b202b70f27762878315ffb22c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: don't print error message with kernel 3.0+Andreas Oberritter2012-03-282-1/+46
| | | | | | | | | | | | | | | * All procps tools print a message like this when the kernel version consists of only two numbers: | Non-standard uts for running kernel: | release ... gives version code ... * Import a patch from Debian to quieten this message. (From OE-Core rev: ec8c54946572200c4fb779ff1fe2d2848660acab) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powerpc e500: set -mfloat-gprs=doubleChristopher Larson2012-03-282-2/+2
| | | | | | | | | | | | Use of FPRs instead of GPRs is incompatible with e500/SPE, so let's be explicit about the use of GPRs to avoid potential errors. For example, with the Sourcery G++ toolchain, one can hit: conftest.c:1:0: error: E500 and FPRs not supported. (From OE-Core rev: 32bb6afe3e6f3e374e4d14edc238b46a90d44169) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl: add mapping for powerpc-nfChristopher Larson2012-03-281-0/+1
| | | | | | | | | | This ensures we get the files from the correct multilib dir in the external toolchain when using powerpc with soft-float. (From OE-Core rev: 27edc9f8c053e2d5fa7c1bb44ae7d028666c5722) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/bitbake: Update to help rebuild pseudo-nativeMark Hatle2012-03-281-5/+31
| | | | | | | | | | | | | | Attempt to detect when pseudo-native has been updated. If it has been updated, or if the user is attempting an operation with pseudo-native in the name, force a build of pseudo-native, prior to running the main build. Note: This causes a build, then clean in the case of bitbake -c cleansstate pseudo-native (From OE-Core rev: f79184d4000708020f76d82330428b5e7a803642) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Pseudo: Update to 1.3Peter Seebach2012-03-288-418/+14
| | | | | | | | | | | | | | | | | | The various local patches have made it into upstream, so we update the build files and jump to pseudo 1.3. This also includes a popen() fix which fixes some edge cases that caused failures trying to check git branches and the like. [Yocto bug #2181] (From OE-Core rev: 0b007519fcfb1bcf2be9cad40b0f6265f8798518) Signed-off-by: Seebs <peter.seebach@windriver.com> Updated the pseudo_git.bb to match. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample.extended: Add documentation of archive source code ↵Richard Purdie2012-03-281-0/+19
| | | | | | | | configuration (From OE-Core rev: cb3a2cfd07f016453e42989ec66044a1aa50af12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zypper: Fix build with gcc 4.7Khem Raj2012-03-282-1/+22
| | | | | | | | | More details in patch header (From OE-Core rev: 38a18c9d52b2f0276445b3f8be7dbf464f5b64c7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: support externalsrc buildsBruce Ashfield2012-03-281-0/+2
| | | | | | | | | | | | | | There are a few extra task that modify the source tree that should be removed when externalsrc is inherited by a recipe that uses a linux-yocto tree. Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped and externalsrc works as intended. (From OE-Core rev: e3117fb15498c899282f25a195f3dd3dc889168c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune/armv7: DeleteKhem Raj2012-03-283-59/+2
| | | | | | | | | | | | | | | | | | | | | | armv7 is least common denominator of armv7-a armv7-m and armv7-r and armv7-m does not support ARM instructions but only thumb2 instruction set which means armv7 when chosen will complain if code is compiled in arm mode which is default in OE if not specified other wise if we chose this tuning errors like below pop up error: target CPU does not support ARM mode This tuning seems theoretical and base tune for armv7 would be one of armv7-a, armv7-m or armv7-r (From OE-Core rev: 75b8adbc042e0f65fb1286bc550d02becd3b6aea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr 4.8.9: failed to build on x86_64 boardRobert Yang2012-03-273-1/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nspr failed to build on x86_64 board(e.g., qemux86-64): x86_64-poky-linux-gcc -m64 ... -m32 ... ... fatal error: gnu/stubs-32.h: No such file or directory This is because there are both '-m64' and '-m32' in gcc's options, and the later one is used, but what we need is '-m64' since it is x86_64, this is caused by an incorrect logic in configure.in, we should assume that the pkg uses 64bit when target_cpu is x86_64 (it has two options: --enable-n32 and --enable-64bit, both of them are not set by default), we only can assume that the pkg uses 32bit when USE_N32 is set. But what it did was that assumed 32bit when target_cpu was x86_64 unless --enable-64bit was set, this seems unreasonable and caused the "gcc -m64 -m32" error. Some had noticed this error before: https://lists.yoctoproject.org/pipermail/poky/2011-May/005799.html NOTE: * Both fix configure and configure.in since we can't run the "autoreconf" for nsrp, please see more explanation in trickly-fix-build-on-x86_64.patch. * Also fixed powerpc64, this is just fixed by conclusion since we don't suport ppc64. [YOCTO #2179] (From OE-Core rev: 1d8fea3b9c9dd8f3e2b72ee8c8a9b834f4a3d729) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* contacts.inc: conditionally install shemaRobert Yang2012-03-272-1/+40
| | | | | | | | | | | | | | | Install schema should respect to GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL, If GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, the schema should not be installed, but it always installed shema before, this was incorrect and it would cause host contamination since it would read $HOME/gconf/.gconf. [YOCTO #2178] (From OE-Core rev: 674fa286d882ff94830cbf748e3f5abc63a5575a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>