summaryrefslogtreecommitdiff
path: root/utils/Makefile
AgeCommit message (Collapse)Author
2004-08-10Mike Frysinger writes:Joakim Tjernlund
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.
2004-01-20Erik is an idiotEric Andersen
2004-01-20support building the uClibc utils for the host system...Eric Andersen
2003-12-14Link ldconfig with the appropriate libraries.Manuel Novoa III
2003-12-04Building of iconv.o was accidently always disabled.Manuel Novoa III
Also, build the iconv app in utils.
2003-12-02Include Rules.mk for consistency. Trying not to was simply too painful.Manuel Novoa III
2003-11-24Don't bother checking, since we want an error if -msoft-float doesn't work.Manuel Novoa III
2003-11-23Ok.. this fixes the buildroot soft-float arm build.Manuel Novoa III
Also try to make sure the build breaks if we want soft float but don't know how to request it.
2003-11-23Protect against quoting changes.Manuel Novoa III
2003-11-22Fix arm detection for libfloat.Manuel Novoa III
2003-11-07Sigh. I forgot to define INSTALL which, understandable,Eric Andersen
broke the install target
2003-11-07It is remotely possible the utils might even compile this timeEric Andersen
around...
2003-11-06Begin converting the client utilsEric Andersen