diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-12 16:12:36 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-12 16:12:36 +0000 |
commit | 3a7ac9c7a7b4d6181d3cd70a9cb85d93a1938238 (patch) | |
tree | f87aedb508cd30ff8d50b75dbe832d34ac5dad85 /Rules.mak | |
parent | b0c8130cec05f40ce926058d18fbc520b1a0e856 (diff) |
Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all 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.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -184,7 +184,7 @@ ifeq ($(strip $(TARGET_ARCH)),sh) CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mb CPU_CFLAGS-$(CONFIG_SH2)+=-m2 CPU_CFLAGS-$(CONFIG_SH3)+=-m3 -ifeq ($(strip $(UCLIBC_HAS_FLOATS)),y) +ifeq ($(UCLIBC_HAS_FLOATS),y) CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a CPU_CFLAGS-$(CONFIG_SH4)+=-m4 else @@ -266,7 +266,7 @@ XARCH_CFLAGS=$(subst ",, $(strip $(ARCH_CFLAGS))) CPU_CFLAGS=$(subst ",, $(strip $(CPU_CFLAGS-y))) LDADD_LIBFLOAT= -ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y) +ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) # Add -msoft-float to the CPU_FLAGS since ldso and libdl ignore CFLAGS. # If -msoft-float isn't supported, we want an error anyway. # Hmm... might need to revisit this for arm since it has 2 different @@ -304,14 +304,14 @@ else endif ifeq ($(UCLIBC_HAS_THREADS),y) -ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) +ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) PTNAME := nptl else PTNAME := linuxthreads endif PTDIR := $(TOPDIR)libpthread/$(PTNAME) # set up system dependencies include dirs (NOTE: order matters!) -ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) +ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) PTINC := -I$(PTDIR)/compat \ -I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \ -I$(PTDIR)/sysdeps/$(TARGET_ARCH) \ |