summaryrefslogtreecommitdiffstats
path: root/Rules.mak
Commit message (Collapse)AuthorAgeFilesLines
* bump version to 0.9.34-gitBernhard Reutner-Fischer2012-02-011-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Release 0.9.33Bernhard Reutner-Fischer2012-02-011-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: use single slash version of -print-whateverBernhard Reutner-Fischer2012-01-261-1/+1
| | | | | | | The double slash variants are not documented (doc bug?) so better use the single slash variants like we usually do. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Rules: Check for CROSS_COMPILE to be emptyKhem Raj2012-01-231-1/+1
| | | | | | | | | In some case where CROSS is defined to be empty we define CROSS_COMPILE ?= CROSS so at this point it will be defined but will be empty so check for the same Signed-off-by: Khem Raj <raj.khem@gmail.com>
* buildsys: use = for --sort-section linker flagMike Frysinger2012-01-171-2/+2
| | | | | | | | The spaces aren't handled correctly (currently) when outputting the CFLAGS version of the linker flag. Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: handle more clean targetsMike Frysinger2012-01-161-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: fix handling of CFLAG_-W{a,l} varsMike Frysinger2012-01-161-2/+4
| | | | | | | | Need a little indirection/delayed evaluation to handle variables with equal signs and commas in them. Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: skip compiler flag checking for clean targetsMike Frysinger2012-01-161-0/+2
| | | | | | | | | As suggested by Bernhard, there is no point in evaluating the compiler's flag availability when cleaning, so skip things in that case. If there are variables that change targets based on the flags, then things are already broken and need fixing independently. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: cache build flags in varsMike Frysinger2012-01-141-58/+120
| | | | | | | | | | | Running `make clean` atm takes like 20 seconds because every subdir re-evaluates all the toolchain flags. Add some helpers to automate the process of setting up variables to cache the result of tests, as well as the checking of an already set flag. Now `make clean` takes like 2 seconds on my system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* bump version to 0.9.33-rc1-gitBernhard Reutner-Fischer2011-12-301-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* release 0.9.33-rc1Bernhard Reutner-Fischer2011-12-301-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: drop manual TARGET_SUBARCH .config lookupMike Frysinger2011-11-261-1/+0
| | | | | | | We source the .config file, so there should be no need to manually extract it. If the sourcing doesn't work, then a lot of things break in this file. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: s/CROSS/CROSS_COMPILE/gCarmelo Amoroso2011-11-251-13/+13
| | | | | | | | Use CROSS_COMPILE instead of CROSS as other projects are doing (i.e. kernel, busybox, buildroot). CROSS is still supported for backward compatibility only Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libubacktrace: use .so.$(ABI_VERSION)Bernhard Reutner-Fischer2011-11-181-1/+1
| | | | | | Thanks to William Pitcock for noticing Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* bump version to 0.9.33-gitBernhard Reutner-Fischer2011-06-141-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGSKhem Raj2011-06-111-3/+3
| | | | | | | | | UCLIBC_EXTRA_CFLAGS is currently added before the OPTIMIZATION flags and OPTIMIZATION is chosen to be Os by default. But in OE we pass the optimisation flags through UCLIBC_EXTRA_CFLAGS but they are not effective since -Os is specified at last. So we need to change the order of these option flags Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ARM: remove sub-arch/variants selection from menuconfigYann E. MORIN2011-06-111-19/+0
| | | | | | | | | | | | | | | | Rely on the compiler to be correctly set up to generate appropriate code for the target variant. This exposes the Thumb option, as it is no longer auto-selected. The "Use BX" no longer depends on supported CPU to be selected, so it now defaults to 'n' as it shall work by default on CPUs that do not have BX. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ARM: introduce blind options to select & force THUMB modeYann E. MORIN2011-06-111-3/+4
| | | | | | | | | | | | | | | | | | | | | Add three new blind options to set use of Thumb mode: - COMPILE_IN_THUMB_MODE - if set, CFLAGS will contain -mthumb - if unset, the compiler's default is used - HAS_THUMB - CPUS with Thumb instruction set can select this - use of BX depends on this - FORCE_THUMB - CPUs that are Thumb-only must select this - this selects: HAS_THUMB, COMPILE_IN_THUMB_MODE and USE_BX Also, remove leading space in Rules.mak. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* buildsys: Turn on strict aliasing for everyoneBernhard Reutner-Fischer2011-05-111-5/+3
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: do not use $(and)Bernhard Reutner-Fischer2011-04-131-1/+1
| | | | | | make-3.80 does not have $(and) and $(or), so workaround for now. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* bump version to 0.9.32-rc3-gitBernhard Reutner-Fischer2011-03-161-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* release 0.9.32-rc3v0.9.32-rc3Bernhard Reutner-Fischer2011-03-161-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Revert "try to fix duplicated slashes in the generated lib*.so files"Peter S. Mazinger2011-03-061-3/+3
| | | | | | This reverts commit 624be66cb9b350d5c6538fca8592cdb3a4c23d37. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* The C6X portAurelien Jacquiot2011-03-051-0/+12
| | | | | | | | This adds support for the TI C6X family of processors. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* try to fix duplicated slashes in the generated lib*.so filesPeter S. Mazinger2011-03-031-3/+3
| | | | | | | | Try to fix duplicated slashes in the generated lib*.so files and make sure that on installation the *bin directories are really created (avoid the misbehaviour of creating usrbin dir). Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bump version to 0.9.32-rc2-gitCarmelo Amoroso2011-01-211-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* release 0.9.32-rc2v0.9.32-rc2Carmelo Amoroso2011-01-201-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* bump version to 0.9.32-rc1-gitBernhard Reutner-Fischer2010-12-171-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* release 0.9.32-rc1v0.9.32-rc1Bernhard Reutner-Fischer2010-12-171-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: use correct unwind header for unwind-forcedunwindBernhard Reutner-Fischer2010-11-101-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* microblaze: build infrastructureSteven J. Magnani2010-11-101-4/+0
| | | | | | | Fix Microblaze config and makefiles. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: Remove nptl/sysdeps/generic directory from include listCarmelo Amoroso2010-09-161-1/+0
| | | | | | | | All archs have now moved their generic sysdep.h header from sysdeps/generic to sysdeps/common directory, so it is possible to remove the sysdeps/generic directory from the include list. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libubacktrace: Provide uClibc with backtrace functionsSalvatore Cro2010-09-151-1/+8
| | | | | | | | | | | | | | A new shared object, libubacktrace.so.0 is added to uClibc to provide backtrace functions to support application self-debugging. This set of functions requires to dynamically load libgcc_s.so so they need to call dlopen/dlsym that are provided by libdl. For this reason they cannot be included into libc.so.0 but are provided by a new library. User application that wants to use backtrace needs to be compiled with -fexceptions option and -rdynamic to get full symbols printed and must be linked against libubacktrace.so Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* buildsys: Do not error on GNUHASH for clean targetsBernhard Reutner-Fischer2010-08-191-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: check_gcc warning flagsBernhard Reutner-Fischer2010-08-051-5/+18
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Rules.mak: ARM926T is really an armv5t and arm9e core.Khem Raj2010-07-221-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nptl: x86_64: fix compilation of unwinderBernhard Reutner-Fischer2010-07-141-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix buildsysBernhard Reutner-Fischer2010-07-061-1/+5
| | | | | | | | | Now automatically picks the correct (arch and subarch specific) impls in favour of generic impls. make O=/tmp/objs PREFIX=/my/sysroot -j works now as expected (both out-of-tree as well as parallel-safe). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix order of includes for out-of-tree buildsBernhard Reutner-Fischer2010-06-171-4/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Fix typo (OPTIMIZATIONS -> OPTIMIZATION)Tony Wu2010-04-281-4/+4
| | | | | Signed-off-by: Tony Wu <tung7970@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* change ABI_VERSION back to just include the major numberAustin Foxley2010-04-231-3/+1
| | | | | | | | By default, GCC hard codes the name for ld.so to /lib/ld-uClibc.so.0 so our default should match that. If distribution makers want to change it, they need to change the default gcc configuration as well. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: proper soname handlingNatanael Copa2010-04-221-6/+10
| | | | | | | | | | | Since sublevel releases are not ABI compatible we need to adjust the soname to include the sublevel version. This makes it possible to install ABI incompatible versions of the library side by side so clean upgrades are possible. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merge commit 'origin/master' into nptlAustin Foxley2010-04-021-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.in extra/Configs/Config.in libc/sysdeps/linux/common/bits/kernel-features.h libc/sysdeps/linux/common/poll.c libc/sysdeps/linux/common/sysdep.h libc/sysdeps/linux/sh/sysdep.h Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * bump version to 0.9.32-gitBernhard Reutner-Fischer2010-04-021-2/+2
| | | | | | | | | | | | NPTL merge candidate, finally! Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * Release 0.9.31v0.9.310.9.31Bernhard Reutner-Fischer2010-04-021-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * bump versionBernhard Reutner-Fischer2010-03-121-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * bump version to 0.9.31-rc1v0.9.31-rc10.9.31-rc1Bernhard Reutner-Fischer2010-03-121-2/+2
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-1/+2
| | | | | | | | | | | | forgot to checkin this file Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * libc: Add a common sysdep headerCarmelo Amoroso2010-02-101-0/+1
| | | | | | | | | | | | | | | | | | | | Add a common header file to provide macros useful in asm code: C_LABEL to construct the asm name for a C symbol cfi_xxx to generate eh_frame unwind information. Ported from NPTL branch. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | improve parallel make behaviourAustin Foxley2010-02-231-0/+2
| | | | | | | | | | | | | | | | * add library dependencies for libdl,libpthread * fix typo in librt/Makefile.in * also remove extra trailing slashes on i386, sparc pregen headers Signed-off-by: Austin Foxley <austinf@cetoncorp.com>