summaryrefslogtreecommitdiffstats
path: root/utils/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Make utils includable into main Makefile.in, add compile.u and hcompile.u, ↵Peter S. Mazinger2005-11-231-93/+3
| | | | usable in utils and probably tests. vapier, please quite them if you want to
* use the local elf.h since the host toolchain probably sucks #555Mike Frysinger2005-11-221-0/+2
|
* Do not create header links, use -I to find them. Moved dl-progname.h to ↵Peter S. Mazinger2005-11-211-10/+4
| | | | ldso/ldso, that will exist if top_srcdir != top_builddir.
* Replace TOPDIR, add/update copyrightPeter S. Mazinger2005-11-181-3/+1
|
* Replace TOPDIRPeter S. Mazinger2005-11-181-7/+10
|
* use $TOPDIR instead of ../ and utilize -B so that our target utils use the ↵Mike Frysinger2005-11-151-6/+4
| | | | correct crt files
* update license infoMike Frysinger2005-11-151-13/+2
|
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-121-7/+7
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* chroot_realpath.c is a dependency also for target ldconfigPeter S. Mazinger2005-10-011-1/+1
|
* Allow ldconfig.host to build ld.so.cache for target, regardless ofEric Andersen2005-09-301-3/+9
| | | | the target system's byteorder
* use local header files rather than toolchain header files #444 by ee_dorightMike Frysinger2005-09-281-3/+5
|
* make sure our utils link against the currently built libc rather than the ↵Mike Frysinger2005-09-241-1/+1
| | | | toolchain one
* no check needed in libm/libpthread, we do not recurse anymore if the related ↵Peter S. Mazinger2005-09-221-2/+2
| | | | option is not set, more Makefile cleanups
* touchup CFLAGS and also link the link.h header file like we do with elf.hMike Frysinger2005-09-211-3/+6
|
* utils should be built all the time (iconv), disable building readelfPeter S. Mazinger2005-09-211-1/+1
|
* touchup PIE support for all the utils and fix stripping on iconvMike Frysinger2005-08-111-3/+8
|
* need -s for STRIPTOOL with iconv too as psm pointed outMike Frysinger2005-08-091-1/+1
|
* need to run STRIPTOOL with -s to replace behavior lost from gcc -sMike Frysinger2005-08-091-3/+3
|
* remove strip flags and let STRIPTOOL do the workMike Frysinger2005-08-081-3/+3
|
* get rid of LDPIEFLAG since PIEFLAG is already usedMike Frysinger2005-07-291-2/+2
|
* white space clean upMike Frysinger2005-01-181-9/+8
|
* Per http://bugs.uclibc.org/view.php?id=15, patch from kergoth:Eric Andersen2005-01-161-1/+1
| | | | Sometimes it is desirable to build ldconfig non-static.
* cleanup, and prevent failures due to including architecture specificEric Andersen2005-01-121-3/+3
| | | | header files into ldconfig when building for the host.
* Cleaned up patch from Peter S. Mazinger adding support forEric Andersen2004-12-221-0/+2
| | | | | -fstack-protector and -fno-stack-protector-all security options
* Rip out Peter's unacceptable "fix" and do the sane thing instead; buildManuel Novoa III2004-10-151-16/+13
| | | | the utils using the uClibc-targeted toolchain.
* Peter Mazinger writes:Joakim Tjernlund2004-10-141-2/+2
| | | | | | | | | | | | | | | The attached patch generalizes the use of PIE (all archs are brought in sync that use/mention it: x86/ppc/frv) and makes use of it building the target utils. Tested on x86, ppc should be tested, frv uses -fPIE at one location, but at another place -fpie, I don't know which is correct (could be both) and misses the target addition in Config.in. The test for ppc (requires the earlier sent crt-correction patch to work correctly): enable UCLIBC_PIE_SUPPORT, build uClibc and utils, check: file ./utils/ldd, it should show shared object (instead of executable)
* Peter Mazinger writes:Joakim Tjernlund2004-10-141-3/+6
| | | | | | | The attached patch is an updated version of an earlier sent patch It solves the problem that the target utils (ldconfig/ldd/iconv, readelf is not handled, but can be easily added) are not built w/ the newly created [S]crt[01].o files.
* Peter S. Mazinger writes:Joakim Tjernlund2004-10-061-3/+3
| | | | The attached patches make iconv use XXFLAGS and adapts ldd.host to cvs.
* Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund2004-10-061-1/+1
| | | | | | dl-cache.h and make use of it. Also disables the lib-path-redundancy check for the case the cache is not used. Makes use of _PRELOAD_FILE_SUPPORT. From Peter Mazinger.
* Peter S. Mazinger writes:Joakim Tjernlund2004-10-051-3/+1
| | | | | | | Hello! The attached patches remove unneeded -D<somedefine>, and uses instead #ifdef __somedefine__
* This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen2004-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mazinger implements the changes suggested by me on the uclibc list. On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote: > What I think should be done is > > *) Someone that cares about USE_CACHE should fix that option > up to be sure it works, and give it a proper config entry > in extra/Configs/Config.in, and rename it to something > more appropriate such as LDSO_CACHE_SUPPORT. > > *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be included in the default library search path in > dl-elf.c, ldd, and ldconfig. > > *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be excluded from the default library search path in > dl-elf.c, ldd, and ldconfig, and those wishing to include > X11 stuff should add that into /etc/ld.so.conf and re-run > ldconfig. > > *) At present, LDSO_CONF and LDSO_CACHE use the same names > and same structure as glibc. This precludes > LDSO_CACHE_SUPPORT being uses in any sane fashion on a > dial glibc and uClibc system. Just as it was necessary > for use to use a different name for 'libuClibc' rather > than 'libc', and 'ld-uClibc.so.0' rather than > 'ld-linux.so.2' it seems that these configuration files > really ought to be given different names. >
* Mike Frysinger writes:Joakim Tjernlund2004-08-101-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | while playing around with Gentoo on uClibc, i hit some troubles with ldconfig first, i found that it kept trying to read 'etc/ld.so.conf' ... it didnt want to read '/etc/ld.so.conf' ... looking at the source, the default conf file is defined as UCLIBC_RUNTIME_PREFIX "etc/ld.so.conf" ... all fine and dandy, but the utils/Makefile builds the .c files with this: -DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX) i couldnt find where R_PREFIX was defined/used anywhere else, but i did find that every other time UCLIBC_RUNTIME_PREFIX was defined, it was set like: -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" changing the utils/Makefile to be like this fixed things for me next up, i found that i wasnt getting an /etc/ld.so.cache file when i ran `ldconfig` ... looking at the code, USE_CACHE needs to be defined ... Rules.mak has a line that reads LIBRARY_CACHE:=#-DUSE_CACHE by default, but then LIBRARY_CACHE is never used anywhere :) so the fix here is to add $(LIBRARY_CACHE) to the lines in utils/Makefile where the .c files are compiled perhaps a suggestion then ? in my mind it makes sense to utilize a cache file when running uclibc native but perhaps not while cross compiling ... so perhaps add LIBRARY_CACHE:=-DUSE_CACHE to the section in Rules.mak where LDSO is set to the uclibc linker (i.e. native) but set LIBRARY_CACHE:=#-DUSE_CACHE where LDSO is the $(SYSTEM_LDSO) (i.e. cross compiling) Applied with minor fixes.
* Erik is an idiotEric Andersen2004-01-201-4/+4
|
* support building the uClibc utils for the host system...Eric Andersen2004-01-201-6/+23
|
* Link ldconfig with the appropriate libraries.Manuel Novoa III2003-12-141-1/+1
|
* Building of iconv.o was accidently always disabled.Manuel Novoa III2003-12-041-7/+20
| | | | Also, build the iconv app in utils.
* Include Rules.mk for consistency. Trying not to was simply too painful.Manuel Novoa III2003-12-021-58/+1
|
* Don't bother checking, since we want an error if -msoft-float doesn't work.Manuel Novoa III2003-11-241-2/+2
|
* Ok.. this fixes the buildroot soft-float arm build.Manuel Novoa III2003-11-231-1/+1
| | | | | Also try to make sure the build breaks if we want soft float but don't know how to request it.
* Protect against quoting changes.Manuel Novoa III2003-11-231-1/+1
|
* Fix arm detection for libfloat.Manuel Novoa III2003-11-221-1/+1
|
* Sigh. I forgot to define INSTALL which, understandable,Eric Andersen2003-11-071-5/+7
| | | | broke the install target
* It is remotely possible the utils might even compile this timeEric Andersen2003-11-071-13/+49
| | | | around...
* Begin converting the client utilsEric Andersen2003-11-061-0/+95