summaryrefslogtreecommitdiffstats
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* buildsys: simplify include_clean greatlyMike Frysinger2012-01-151-12/+7
| | | | | | | | | | Since we want to clean out all the headers we symlinked into include/, just use `find` to locate all the symlinks for us. This simplifies it greatly, and actually fixes bugs where we build for one arch, switch to another, and then do a clean but the previous arch headers are left behind. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* buildsys: s/CROSS/CROSS_COMPILE/gCarmelo Amoroso2011-11-251-4/+4
| | | | | | | | 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>
* buildsys: do not install ld.so linker scriptCarmelo Amoroso2011-11-081-1/+2
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* buildsys: eventually remove sys/eventfd.hBernhard Reutner-Fischer2011-11-021-1/+1
| | | | | | rm sys/eventfd.h unless linux_specific was chosen Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* stubs: handle linux-specificBernhard Reutner-Fischer2011-11-021-1/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* config: add support for <custom>_defconfigCarmelo Amoroso2011-10-251-0/+5
| | | | | | | | Add support for platform specific and/or custom defconfig per arch. They have to be suffixed by '_defconfig' and are automatically detected and displayed by issuing 'make ARCH=<arch> help'. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* config: revise defconfigs strategyCarmelo Amoroso2011-10-251-1/+1
| | | | | | | | Revise the way defconfigs are defined, by renaming them from defconfigs/<arch> to defconfigs/<arch>/defconfig. It allows to have multiple defconfigs per arch. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* config: tidy-up of config targetsCarmelo Amoroso2011-10-251-20/+22
| | | | | | | Introduce two local variables for 'conf' and 'mconf' binaries. Use $^ automatic variable to invoke [m]conf tool. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* config: Fix passing defconfig argsBernhard Reutner-Fischer2011-06-141-2/+2
| | | | | | | | | | | | | | Don't rely on argument-shuffling but use correct arguments in the first place. In bug#3589 Thomas Suckow writes: The modified kconfig defines -D to be the same function as -d. In addition -d does not take an argument and Config.in should be passed as a non-option argument. The existing argument order appears to work on distributions such as Fedora but chokes on Cygwin (newlib?). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: fix pregen target (!NPTL with LOCALE)Carmelo Amoroso2011-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When NPTL is not enabled, and LOCALE support is used, compilation fails with the following error: ------------------------------------------------------------------------- MKDIR include/bits GEN include/bits/sysnum.h make[1]: *** No rule to make target `../..//include/bits/uClibc_ctype.h', needed by `../../extra/locale/gen_wc8bit.c'. Stop. make: *** [pregen] Error 2 ------------------------------------------------------------------------- The problem is that "headers" is not listed as prerequisite of pregen. These have been changed multiple times recently: o Austin: order headers before pregen-headers 1f5c73c9f8a98b1d2a35cea868a585c97ab0e436 o Khem: pregen: Fix the parallel build problem in pregen target 046035ecde92262d96eff2192ba3cda716f04909 o Khem: pregen-headers: Add new target which depends on headers. ef18cfe8ebab25f5ef92e81956f50e2dc57df602 o Carmelo: build: Fix infinite loop when no threading support is enabled ff5e4de7088fe8d34812c2a1e604bf04be713606 In all of these commits headers was actually as prerequisite In commit 9381d622e2411a35a5fd73a5a573eb269e2dd9c9 [nptl: fix buildsys] by Bernhard, headers was removed, causing the problem reported above. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libubacktrace: Fix ASNEEDED emissionBernhard Reutner-Fischer2011-05-311-1/+1
| | | | | | | In master the variable is called SHARED_LIBNAME and not SHARED_MAJORNAME. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: make $(LOCAL_INSTALL_PATH) phonyBernhard Reutner-Fischer2011-05-021-0/+1
| | | | | | | Could depend on the individual files too but this makes sure that nothing is missed. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Added fts support for traversing UNIX file hierarchies.Salvatore Cro2011-04-201-0/+1
| | | | | | | It is required by libdwfl in elfutils package. Signed-off-by: Salvatore Cro <salvatore.cro at st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Makefile.in: remove uClibc_fpmax.h independently of any config optionPeter S. Mazinger2011-03-081-1/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Makefile.in: remove uClibc_uwchar.h and uClibc_va_copy.h on installPeter S. Mazinger2011-03-081-0/+2
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* try to fix duplicated slashes in the generated lib*.so files (round 2)Peter S. Mazinger2011-03-081-0/+2
| | | | | | sed s://:/:g on libc.so/libpthread.so if HARDWIRED_ABSPATH is defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Revert "buildsys: prefer the form HEADERS_RM-$(<config>)"Carmelo Amoroso2011-03-081-1/+3
| | | | | | This reverts commit 07044019e6260991729926645e7d221f38376f9d. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* buildsys: prefer the form HEADERS_RM-$(<config>)Carmelo Amoroso2011-03-071-3/+1
| | | | | | | Fix removal of sgtty.h using HEADERS_RM-$(<config>) syntax. Sort it alphabetically. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Revert "try to fix duplicated slashes in the generated lib*.so files"Peter S. Mazinger2011-03-061-11/+11
| | | | | | This reverts commit 624be66cb9b350d5c6538fca8592cdb3a4c23d37. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* fix removal of sgtty.hPeter S. Mazinger2011-03-041-1/+3
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* add _dl_errno support to errno.h, cleanupPeter S. Mazinger2011-03-031-1/+0
| | | | | | | | 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>
* sgtty.h is useless, remove it on STRICT_HEADERSPeter S. Mazinger2011-03-031-0/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* do not care about libc-internal.h, remove hp-timing.hPeter S. Mazinger2011-03-031-1/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* remove libc-internal.h on installPeter S. Mazinger2011-03-031-1/+1
| | | | | | Remove libc-internal.h on install, I think internal is a typo. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* remove ucontext.h and guard sigstack structure with SUSV4_LEGACY and ↵Peter S. Mazinger2011-03-031-3/+1
| | | | | | | | | | 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>
* try to fix duplicated slashes in the generated lib*.so filesPeter S. Mazinger2011-03-031-11/+11
| | | | | | | | 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>
* libc: fix linker script generation for libubacktrace.soFilippo Arcidiacono2011-01-251-2/+2
| | | | | | | | 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>
* 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>