summaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)Author
2011-03-08try to fix duplicated slashes in the generated lib*.so files (round 2)Peter S. Mazinger
sed s://:/:g on libc.so/libpthread.so if HARDWIRED_ABSPATH is defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-08Revert "buildsys: prefer the form HEADERS_RM-$(<config>)"Carmelo Amoroso
This reverts commit 07044019e6260991729926645e7d221f38376f9d. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-03-07buildsys: prefer the form HEADERS_RM-$(<config>)Carmelo Amoroso
Fix removal of sgtty.h using HEADERS_RM-$(<config>) syntax. Sort it alphabetically. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-03-06Revert "try to fix duplicated slashes in the generated lib*.so files"Peter S. Mazinger
This reverts commit 624be66cb9b350d5c6538fca8592cdb3a4c23d37. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-04fix removal of sgtty.hPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03add _dl_errno support to errno.h, cleanupPeter S. Mazinger
Add support to use errno.h in ldso. Move __set_errno into _LIBC guard. Remove uClibc_errno.h, unused. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03sgtty.h is useless, remove it on STRICT_HEADERSPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03do not care about libc-internal.h, remove hp-timing.hPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03remove libc-internal.h on installPeter S. Mazinger
Remove libc-internal.h on install, I think internal is a typo. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03remove ucontext.h and guard sigstack structure with SUSV4_LEGACY and ↵Peter S. Mazinger
STRICT_HEADERS Remove ucontext.h if SUSV4_LEGACY is not set and fix it's references. Guard sigstack structure with SUSV4_LEGACY and STRICT_HEADERS. Disable sigstack function prototype, it is not provided by uClibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03try to fix duplicated slashes in the generated lib*.so filesPeter S. Mazinger
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>
2011-01-25libc: fix linker script generation for libubacktrace.soFilippo Arcidiacono
Fix libc.so linker script generation to add libubacktrace AS_NEEDED entry using MULTILIB_DIR instead of hard-coded "lib". Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-01-06buildsys: headers target should not depend on sysnum.hCarmelo Amoroso
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>
2011-01-06buildsys: fix make release targetCarmelo Amoroso
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>
2011-01-05remove uClibc_ctype.h if !LOCALEBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-01-05Revert "Makefile.in: Add header to 'all' target"Bernhard Reutner-Fischer
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.
2010-12-18Makefile.in: Add header to 'all' targetKhem Raj
Stage bits/uClibc_ctype.h when locales are enabled Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-18install_headers: Fix the header installation when using out of sourceKhem Raj
build ( O=/x/y/z ) Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-02create DEVEL_PREFIX/MULTILIB_DIR dir rather than DEVEL_PREFIX/libNatanael Copa
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>
2010-11-24buildsys: add make {,install_}startfilesBernhard Reutner-Fischer
This builds and installs the crt files. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-09-22libc: Sort HEADERS_RM alphabeticallyCarmelo Amoroso
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>
2010-09-15libubacktrace: Provide uClibc with backtrace functionsSalvatore Cro
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>
2010-09-14misc: utmpx based logging supportSalvatore Cro
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>
2010-08-05add config parserBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-08-04utils: add pregen requisiteBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-07-06nptl: fix buildsysBernhard Reutner-Fischer
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>
2010-06-13nptl: fix symlinking headersBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-06-11buildsys: conceal install_headersBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-06-11buildsys: fix lib/ directory prerequisiteBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-05-09powerpc: Add TLS and NPTL supportKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-25Makefile.in: install sgtty.hRoman I Khimov
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>
2010-04-25build: Fix infinite loop when no threading support is enabledCarmelo Amoroso
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>
2010-04-22nptl: proper soname handlingNatanael Copa
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>
2010-04-12Merge remote branch 'origin/master' into nptlAustin Foxley
Conflicts: libc/unistd/confstr.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-12prettify make cleanBernhard Reutner-Fischer
forgot extra/config Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-02Merge commit 'origin/master' into nptlAustin Foxley
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>
2010-03-25prettify make cleanBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12buildsys: touchup 'make dist' a tiny bitBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12buildsys: Fix O= PREFIX= caseBernhard Reutner-Fischer
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>
2010-03-12buildsys: fix dir order-only prereq of unifdefBernhard Reutner-Fischer
|$(@D) -> zilch, so spell it out Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer
defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12install: fix O= PREFIX= installBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12reduce number of mkdir callsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-23pregen-headers: Add new target which depends on headers.Khem Raj
* 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>
2010-02-23pregen: Fix the parallel build problem in pregen targetKhem Raj
* 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>
2010-02-23order headers before pregen-headersAustin Foxley
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>
2010-02-22initialize new pregen-headers-y variable before including sub makefilesAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-02-22nptl/headers: Convert the makefile targets into variables.Khem Raj
* 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>
2010-02-05Merge commit 'origin/master' into nptlAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-02-05Revert "ftw.h installation: fix inverted logic"Bernhard Reutner-Fischer
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>