summaryrefslogtreecommitdiffstats
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* buildsys: headers target should not depend on sysnum.hCarmelo Amoroso2011-01-061-2/+3
| | | | | | | | | | | The generation of the sysnum.h has to be a prerequisite of 'pregen' target instead of headers, because it needs the compiler already available. The so called C bootstrap headers are required to build the compiler by invoking 'make headers', so the 'headers' target cannot relies itself on the compiler to be invoked. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* buildsys: fix make release targetCarmelo Amoroso2011-01-061-1/+1
| | | | | | | | | | According to git man page the syntax for git archive should have the <tree-ish> as last argument. Indeed using git 1.5.5.6 the tarball was not properly created. Newer version (i.e. 1.6.3.3) works fine even if HEAD comes before other option. For backward compatibility use a syntax that is fine with older git. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* remove uClibc_ctype.h if !LOCALEBernhard Reutner-Fischer2011-01-051-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Revert "Makefile.in: Add header to 'all' target"Bernhard Reutner-Fischer2011-01-051-2/+1
| | | | | | | | The respective source has to depend on a given set of headers. Depending all on headers is papering over an eventual missing other dependency, so reverting. This reverts commit 4d81f2a74578f819285b131c682e8d2f6c315c4e.
* Makefile.in: Add header to 'all' targetKhem Raj2010-12-181-1/+2
| | | | | | Stage bits/uClibc_ctype.h when locales are enabled Signed-off-by: Khem Raj <raj.khem@gmail.com>
* install_headers: Fix the header installation when using out of sourceKhem Raj2010-12-181-1/+8
| | | | | | build ( O=/x/y/z ) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* create DEVEL_PREFIX/MULTILIB_DIR dir rather than DEVEL_PREFIX/libNatanael Copa2010-12-021-2/+2
| | | | | | | | | This fixes issue with GNU Make 3.82 when running: make install DESTDIR=$someplace Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* buildsys: add make {,install_}startfilesBernhard Reutner-Fischer2010-11-241-2/+8
| | | | | | This builds and installs the crt files. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc: Sort HEADERS_RM alphabeticallyCarmelo Amoroso2010-09-221-41/+26
| | | | | | | | No functional changes, just a code tidy-up. Please keep them sorted in future changes. 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-0/+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>
* misc: utmpx based logging supportSalvatore Cro2010-09-141-1/+3
| | | | | | | | misc: Added support for accessing user accounting database based on utmpx structure. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* add config parserBernhard Reutner-Fischer2010-08-051-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* utils: add pregen requisiteBernhard Reutner-Fischer2010-08-041-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix buildsysBernhard Reutner-Fischer2010-07-061-4/+4
| | | | | | | | | 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 symlinking headersBernhard Reutner-Fischer2010-06-131-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: conceal install_headersBernhard Reutner-Fischer2010-06-111-6/+11
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: fix lib/ directory prerequisiteBernhard Reutner-Fischer2010-06-111-3/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* powerpc: Add TLS and NPTL supportKhem Raj2010-05-091-2/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Makefile.in: install sgtty.hRoman I Khimov2010-04-251-2/+1
| | | | | | | Proper and useful header, for example used by pacemaker. Signed-off-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Fix infinite loop when no threading support is enabledCarmelo Amoroso2010-04-251-2/+1
| | | | | | | | | The build loops forever due to when invoking make $(pregen-headers-y) and $(pregen-headers-y) is empty (no thread support). Parallel build should continue to work as well. It fixes Bugzilla #1633. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* nptl: proper soname handlingNatanael Copa2010-04-221-5/+5
| | | | | | | | | | | 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 remote branch 'origin/master' into nptlAustin Foxley2010-04-121-1/+1
|\ | | | | | | | | | | | | Conflicts: libc/unistd/confstr.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * prettify make cleanBernhard Reutner-Fischer2010-04-121-1/+1
| | | | | | | | | | | | forgot extra/config Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge commit 'origin/master' into nptlAustin Foxley2010-04-021-47/+51
|\| | | | | | | | | | | | | | | | | | | | | | | 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>
| * prettify make cleanBernhard Reutner-Fischer2010-03-251-5/+5
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * buildsys: touchup 'make dist' a tiny bitBernhard Reutner-Fischer2010-03-121-5/+6
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * buildsys: Fix O= PREFIX= caseBernhard Reutner-Fischer2010-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | make sure that something like: $ rm -rf /dev/shm/o/* /dev/shm/o/.conf* /dev/shm/DELME $ time (make defconfig O=/dev/shm/o 2>&1 >& /dev/null && make \ install_dev -j O=/dev/shm/o PREFIX=/dev/shm/DELME 2>&1 >& /dev/null) works Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * buildsys: fix dir order-only prereq of unifdefBernhard Reutner-Fischer2010-03-121-1/+2
| | | | | | | | | | | | |$(@D) -> zilch, so spell it out Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-26/+26
| | | | | | | | | | | | defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * install: fix O= PREFIX= installBernhard Reutner-Fischer2010-03-121-11/+11
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * reduce number of mkdir callsBernhard Reutner-Fischer2010-03-121-8/+9
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | pregen-headers: Add new target which depends on headers.Khem Raj2010-02-231-2/+2
| | | | | | | | | | | | | | | | * This target is necessary to serialize making of headers before pregen-headers and pregen-headers before the rest of build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | pregen: Fix the parallel build problem in pregen targetKhem Raj2010-02-231-5/+3
| | | | | | | | | | | | | | | | * pregen-headers really need the headers to get themselves generated. so we create explicit dependency and invoke make as an action on pregen. This fixes the parallel build issue for better. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | order headers before pregen-headersAustin Foxley2010-02-231-1/+1
| | | | | | | | | | | | | | | | until someone gets a chance to fix this for real, this will unbreak building from a clean repo, as some of the pregen headers need some of the static headers Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | initialize new pregen-headers-y variable before including sub makefilesAustin Foxley2010-02-221-1/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl/headers: Convert the makefile targets into variables.Khem Raj2010-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce pregen-headers-y which is list of generated headers during the build and add this to pregen target in top level makefile. Also add nptl_headers, nptl_arch_headers, nptl_linux_headers to this if compiling with nptl. * Replace pthread_pregen var with pregen-headers-y. * Make nptl_headers, nptl_arch_headers, nptl_linux_headers variables instead of sub targets. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Merge commit 'origin/master' into nptlAustin Foxley2010-02-051-1/+1
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * Revert "ftw.h installation: fix inverted logic"Bernhard Reutner-Fischer2010-02-051-1/+1
| | | | | | | | | | | | | | | | | | The logic was fine previously. Thanks to Peter Kjellerstedt for pointing out my confusion. This reverts commit d75f980f379dfbbe70ae8fb0956693a95af2fca2. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge branch 'master' into nptlCarmelo Amoroso2010-01-251-2/+2
|\| | | | | | | | | | | | | | | | | | | Conflicts: libc/inet/Makefile.in libc/inet/hostid.c Synchronise nptl branch with master branch @ c4b750195714ec7c10aa4de15610c5aae0751c1c Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * Makefile.in: Make install_dev depend on install_runtime.Henning Heinold2010-01-231-1/+1
| | | | | | | | | | | | | | * Helps in parallel build. Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * ftw.h installation: fix inverted logicBernhard Reutner-Fischer2010-01-231-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Revert "nptl: make build depend directly on nptl headers"Austin Foxley2009-12-111-1/+1
| | | | | | | | | | | | This reverts commit 641e7e36ad0a9b2899b04f256c5b243ada7da279. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: make build depend directly on nptl headersAustin Foxley2009-12-091-1/+1
| | | | | | | | | | | | | | | | | | gets rid of nptl_headers,nptl_arch_headers,nptl_linux_headers targets also, clean up extra slashes in i386/sparc and unify the implementation of nptl header generation between all archs Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | generate nptl headers without a recursive make callAustin Foxley2009-11-291-8/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Merge remote branch 'origin/master' into nptl_mergeAustin Foxley2009-11-221-12/+15
|\| | | | | | | | | | | | | | | | | Conflicts: Rules.mak libc/misc/sysvipc/msgq.c test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * install shared libs with +x permsMike Frysinger2009-11-211-3/+3
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * realclean: wipe kconfig objectsBernhard Reutner-Fischer2009-11-201-0/+3
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * remove some unneeded headers on installPeter S. Mazinger2009-11-191-1/+5
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * no need for bits/syscalls.h on targetPeter S. Mazinger2009-11-191-4/+1
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * Add missing order-only prereq for unifdefBernhard Reutner-Fischer2009-11-191-2/+2
| | | | | | | | | | | | | | For O= make sure that top_builddir/extra/scripts is created before trying to build unifdef into it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>