diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-29 03:34:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-29 03:34:13 +0000 |
commit | 8f09de8da8f774a6ccd9af69e485426a3c7e3be0 (patch) | |
tree | 230c4f9fad77515c3eab6e6e10a66a5bc5a6e53a /libc/sysdeps/linux/frv | |
parent | 130697527bfd32f3a6a6e4dfcc1e80c0cdfa0b37 (diff) |
merge parallel build support
Diffstat (limited to 'libc/sysdeps/linux/frv')
-rw-r--r-- | libc/sysdeps/linux/frv/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/frv/Makefile b/libc/sysdeps/linux/frv/Makefile index f2e169d74..dbf78d1c6 100644 --- a/libc/sysdeps/linux/frv/Makefile +++ b/libc/sysdeps/linux/frv/Makefile @@ -36,13 +36,13 @@ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(SOBJS) $(COBJS) -all: $(OBJS) $(LIBC) +OBJ_LIST=../../../obj.sysdeps.$(TARGET_ARCH) -$(LIBC): ar-target +all: $(OBJ_LIST) -ar-target: $(OBJS) $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) - $(INSTALL) -d $(TOPDIR)lib +$(OBJ_LIST): $(OBJS) $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS) + echo $(patsubst %, sysdeps/linux/$(TARGET_ARCH)/%, $(OBJS)) > $(OBJ_LIST) + $(INSTALL) -d $(TOPDIR)lib/ cp $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS) $(TOPDIR)lib/ $(CRT0_OBJ): $(CRT0_SRC) crtreloc.o @@ -75,6 +75,6 @@ headers: $(LN) -fs ../libc/sysdeps/linux/frv/link.h $(TOPDIR)/include/ clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h $(RM) $(TOPDIR)/include/link.h |