From 3a7ac9c7a7b4d6181d3cd70a9cb85d93a1938238 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 12 Oct 2005 16:12:36 +0000 Subject: Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$ $(PREFIX)$(DEVEL_PREFIX)lib/libc.so; \ fi -ifeq ($(strip $(COMPAT_ATEXIT)),y) +ifeq ($(COMPAT_ATEXIT),y) if [ -f $(TOPDIR)lib/libc.so -a -f $(PREFIX)$(RUNTIME_PREFIX)lib/$(SHARED_MAJORNAME) ] ; then \ echo "GROUP ( $(DEVEL_PREFIX)lib/$(NONSHARED_LIBNAME) $(RUNTIME_PREFIX)lib/$(SHARED_MAJORNAME) )" \ >> $(PREFIX)$(DEVEL_PREFIX)lib/libc.so; \ @@ -251,7 +251,7 @@ else >> $(PREFIX)$(DEVEL_PREFIX)lib/libc.so; \ fi endif -ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y) +ifeq ($(PTHREADS_DEBUG_SUPPORT),y) $(LN) -sf $(RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB)libthread_db.so.1 \ $(PREFIX)$(DEVEL_PREFIX)lib/libthread_db.so endif @@ -267,7 +267,7 @@ endif # Installs run-time libraries install_runtime: -ifeq ($(strip $(HAVE_SHARED)),y) +ifeq ($(HAVE_SHARED),y) $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ $(PREFIX)$(RUNTIME_PREFIX)lib @@ -292,7 +292,7 @@ finished2: $(SECHO) Finished installing ... $(SECHO) -else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y) +else # ifeq ($(HAVE_DOT_CONFIG),y) all: menuconfig @@ -349,6 +349,7 @@ defconfig: extra/config/conf clean: @$(RM) -r lib include/bits $(RM) libc/*.a libc/obj.* libc/nonshared_obj.* + $(RM) libc/misc/locale/locale_data.c $(RM) libc/misc/internals/interp.c $(RM) ldso/libdl/*.a $(RM) include/fpu_control.h @@ -389,7 +390,7 @@ release: distclean \ tar -cvzf uClibc-$(VERSION).tar.gz uClibc-$(VERSION)/ -endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y) +endif # ifeq ($(HAVE_DOT_CONFIG),y) check: $(MAKE) -C test -- cgit v1.2.3