summaryrefslogtreecommitdiffstats
path: root/Makerules
Commit message (Collapse)AuthorAgeFilesLines
* buildsys: fix detection of silent makeMike Frysinger2012-01-151-1/+1
| | | | | | | | | | The MAKEFLAGS variable contains all the flags without the leading dash. From the GNU make manual: This variable is set up automatically by make to contain the flag letters that make received. Thus, if you do ‘make -ks’ then MAKEFLAGS gets the value ‘ks’. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: cache build flags in varsMike Frysinger2012-01-141-3/+3
| | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/master' into prelinkCarmelo Amoroso2011-06-241-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (61 commits) fts: fix warning due to old-style function definition ldso_tls: fix compiler warning due to missing cast resolv: fix bug in res_init with ipv6 nameservers config: Fix passing defconfig args buildsys: pt-initfini.s depends on uClibc_config.h libdl: search for ELF_RTYPE_CLASS_DLSYM in dlsym() resolv: try next server on SERVFAIL getaddrinfo: allow numeric service without any hints bump version to 0.9.33-git nptl/pthread: Correct path for machine specific pt-initfini.c ctor/dtor nptl: Fix init and fini function compilation Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGS ARM: remove EABI/OABI selection ARM: detect BX availibility at build time ARM: #include <bits/arm_asm.h> where __USE_BX__ is used ARM: transform the EABI/OABI choice into a boolean ARM: remove sub-arch/variants selection from menuconfig ARM: introduce blind options to select & force THUMB mode ARM: reorder "Use BX" option Fix __libc_epoll_pwait compile failure on x86 ... Conflicts: ldso/libdl/libdl.c Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * buildsys: document UCLIBC_EXTRA_CPPFLAGSBernhard Reutner-Fischer2011-05-111-2/+2
| | | | | | | | | | Rename EXTRA_CPPFLAGS to UCLIBC_EXTRA_CPPFLAGS and make them override previous flags (by appending - not prepending - them to the other flags).
* | Merge remote-tracking branch 'origin/master' into prelinkCarmelo Amoroso2011-04-061-1/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (137 commits) utils/ldd: Check for returned pointer from strrchr not the value it holds cris: add provide arch-specific vfork implementation lutimes.c, stubs.c: fix compiling lutimes, if __NR_utimensat is not defined bump version to 0.9.32-rc3-git release 0.9.32-rc3 memalign: include sys/param.h for MAX arm/bits/atomic.h: Include common/bit/atomic.h for thumb1 wctype.h: fix libc_hidden_proto for iswupper and add it for iswspace add libc_hidden_proto for wcs[n]casecmp_l really fix missing __libc_drand48_data Revert "missing prototype of __libc_drand48_data fixed" missing prototype of __libc_drand48_data fixed time.c, time.h: remove unused hidden strftime/strptime nanosleep.c: remove duplicated libc_hidden_proto ctype.c, ctype.h: remove commented parts that were banned for removal after 0.9.31 _wctype.c, wctype.h: remove unused isw* and wctype_l hidden functions time.c, wchar.h: remove unused hidden wcsftime str[n]casecmp.c: fix hidden usage remove unused hidden functions frv/memset.S: add missing libc_hidden_def ... Conflicts: ldso/ldso/ldso.c Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * Makerules: respect HARDWIRED_ABSPATH in interp.cPeter S. Mazinger2011-03-081-0/+6
| | | | | | | | | | | | | | Build LDSO path according to the HARDWIRED_ABSPATH setting While there, remove duplicated slashes in interp.c Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
| * Add Makefile support for DSBT ELF.Bernd Schmidt bernds_cb1@t-online.de2011-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | This adds support for a new binary format, DSBT ELF, to the Makefiles. Every shared library is assigned a DSBT index, and the link.so macro is adjusted to ensure the correct linker argument is passed. Configuration and ldso support will follow in separate commits. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge commit 'origin/master' into prelinkCarmelo Amoroso2010-11-281-1/+2
|\| | | | | | | | | | | | | | | Conflicts: ldso/include/dl-hash.h Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * buildsys: add make {,install_}startfilesBernhard Reutner-Fischer2010-11-241-1/+2
| | | | | | | | | | | | This builds and installs the crt files. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | ldso: Add runtime prelink supportFilippo Arcidiacono2010-09-171-0/+9
|/ | | | | | | | | Added runtime prelink support to be able to run a prelinked application; at process startup only the conflicts will be relocated. This speed up the startup time. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libubacktrace: Provide uClibc with backtrace functionsSalvatore Cro2010-09-151-3/+4
| | | | | | | | | | | | | | 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: tweak quoting of V=Bernhard Reutner-Fischer2010-07-271-14/+16
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix buildsysBernhard Reutner-Fischer2010-07-061-6/+6
| | | | | | | | | 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>
* buildsys: add brief mode; show defines and ld-flagsBernhard Reutner-Fischer2010-06-241-0/+32
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: conceal install_headersBernhard Reutner-Fischer2010-06-111-0/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: fix lib/ directory prerequisiteBernhard Reutner-Fischer2010-06-111-13/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* do not generate garbled interpBernhard Reutner-Fischer2010-06-081-3/+4
| | | | | | for parallel make Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: proper soname handlingNatanael Copa2010-04-221-2/+2
| | | | | | | | | | | 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>
* *.o[sS]: depend on pregenBernhard Reutner-Fischer2010-04-141-10/+9
| | | | | | allows 'make realclean && make utils' to behave properly Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *.i depend on generated headersBernhard Reutner-Fischer2010-04-121-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* pass CFLAGS-dir to CC-mBernhard Reutner-Fischer2010-03-251-1/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* prettify make cleanBernhard Reutner-Fischer2010-03-251-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-1/+1
| | | | | | defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Robustify setting silent modeBernhard Reutner-Fischer2009-11-261-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* realclean: wipe kconfig objectsBernhard Reutner-Fischer2009-11-201-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* remove ARCH_CFLAGS, ARCH_LDFLAGS and CROSSPeter S. Mazinger2009-11-191-2/+2
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Makerules: add a do_sed commandAustin Foxley2009-10-171-0/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-171-23/+30
| | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Partially revent "make utils" fix. This version is less intrusive,Denis Vlasenko2009-01-281-3/+1
| | | | | but still works! :)
* "make utils" now successfully makes utils for targetDenis Vlasenko2009-01-281-1/+3
|
* - hide __dl_ldso__ (Peter S. Mazinger)Bernhard Reutner-Fischer2009-01-141-1/+1
|
* - fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer2008-12-221-0/+6
| | | | | | math support - add rule to create preprocessor output for float- and long double math wrapper
* - only strip if cc compiled fineBernhard Reutner-Fischer2008-12-121-1/+1
| | | | | Avoids displaying an additional error from strip when your cc ICEs or fails otherwise.
* Added do_awk commanf for invoking awk parser. It will be usedCarmelo Amoroso2008-12-041-0/+5
| | | | | | for generating some file on-the-fly on the NPTL case. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-6/+6
|
* - fix locale dependencies and make default locale generation less verbose.Bernhard Reutner-Fischer2008-10-141-2/+12
| | | | The verbosity can be set to the previous level by passing V=2 to make.
* - prevent spurious rebuildsBernhard Reutner-Fischer2008-10-091-1/+1
| | | | Previously this led to superfluous re-stripping and the re-ar'ing
* - cut down on attempted pattern rule matchesBernhard Reutner-Fischer2008-10-091-0/+1
|
* - beautify hcompile.uBernhard Reutner-Fischer2008-10-091-2/+12
|
* - revert bad hunk from (my) r22403Bernhard Reutner-Fischer2008-10-081-1/+1
| | | | CRT need config too
* - do not attempt to rm twiceBernhard Reutner-Fischer2008-09-161-1/+1
| | | | - clean targets are supposed to clean independently of any .config
* - the help target is phonyBernhard Reutner-Fischer2008-09-111-1/+1
|
* - honour EXTRA_CPPFLAGSBernhard Reutner-Fischer2008-09-111-1/+1
| | | | Makes it easier to say something like make libc/sysdeps/linux/common/close.i EXTRA_CPPFLAGS=-P
* - should either be defined or callers should do_t_strip manually afterwardsBernhard Reutner-Fischer2008-08-271-1/+1
|
* - the interp is an order-only prereq of lib-so-yBernhard Reutner-Fischer2008-07-111-1/+2
| | | | - hint vi on the filetype while at it
* - move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer2008-06-171-10/+20
|
* - remove improper commentBernhard Reutner-Fischer2008-06-161-2/+0
|
* - disregard any and all $(top_builddir) in deps.Bernhard Reutner-Fischer2008-06-111-10/+20
| | | | Fixes e.g. make -C ldso rebuilding unneeded stuff
* - no need to export the included dependencies generated by ccBernhard Reutner-Fischer2008-06-101-4/+8
|
* - Improve prerequisites and avoid spurious reconfigurations.Bernhard Reutner-Fischer2008-06-091-3/+24
| | | | More details: http://uclibc.org/lists/uclibc/2008-June/019509.html