diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-22 01:44:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-22 01:44:51 +0000 |
commit | b20ee706efe1c40b016efe41e1486ef6e10d6880 (patch) | |
tree | 50ac361f0276a2b51593471b7a392287211d582f /Makerules | |
parent | 28cfdb86441668581d1d8efd11137bb8da9f65a4 (diff) |
rework depends and stripping so that libraries arent rebuilt all the time in a loop
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -7,11 +7,11 @@ # order is important, the stripping uses STRIP_FLAGS for lib-so, but not for lib-a ifeq ($(HAVE_SHARED),y) .LIBPATTERNS: "lib%.so" -libs: lib-so-y lib-a-y +libs: $(lib-so-y) $(lib-a-y) objs: shared_objs ar_objs else .LIBPATTERNS: "lib%.a" -libs: lib-a-y +libs: $(lib-a-y) objs: ar_objs endif @@ -29,12 +29,13 @@ ar_objs: $(ar_objs-y) endif headers-y: $(headers-y) -ld-uClibc-y: $(ld-uClibc-y) interp-y: $(interp) -pre-y: interp-y ld-uClibc-y -libc-y: pre-y $(libc) crt-y $(top_builddir)lib/$(NONSHARED_LIBNAME) -lib-so-y: libc-y $(lib-so-y) -lib-a-y: crt-y $(lib-a-y) +pre-y: $(interp) $(ld-uClibc-y) +libc-y: pre-y $(libc) $(crt-y) $(top_builddir)lib/$(NONSHARED_LIBNAME) +ldso-dep = +libc-so-dep = $(top_builddir)lib/libc.so $(interp) +lib-so-y = $(libc-so-dep) $(lib-so-y) +lib-a-y = $(crt-y) $(lib-a-y) ifneq ($(findstring s,$(MAKEFLAGS)),) DISP := sil @@ -163,7 +164,6 @@ $(CTOR_TARGETS): $(do_ar) endif -crt-y: $(crt-y) $(crt-y): $(CRTS) $(CTOR_TARGETS) $(top_builddir)lib/$(NONSHARED_LIBNAME): $(libc-nonshared-y) |