summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-19 23:40:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-19 23:40:41 +0000
commitff680cf9e8ee1db042c9622e463b0700d6b627ae (patch)
tree89f43727c70a52c974c521b31b1806f8aa1546f7
parent5f9dfa09818f5e1bca9370ea7848d281323cc2c6 (diff)
add a tiny hack so that the headers target isnt rebuilt all the time, only when it should be
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 540ec5f9a..4ec8feef9 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,9 @@ all: headers pregen subdirs shared finished
shared: subdirs
ifeq ($(strip $(HAVE_SHARED)),y)
+ @echo
+ @echo Building shared libraries ...
+ @echo
@$(MAKE) -C libc shared
@$(MAKE) -C ldso shared
@$(MAKE) -C libcrypt shared
@@ -109,6 +112,7 @@ endif
fi
$(MAKE) -C libc/sysdeps/linux/common headers
$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers
+ touch headers
# Command used to download source code
WGET:=wget --passive-ftp
@@ -317,6 +321,7 @@ defconfig: extra/config/conf
clean:
- find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec $(RM) {} \;
@$(RM) -r tmp lib include/bits libc/tmp _install
+ $(RM) libc/obj.* headers
$(MAKE) -C test clean
$(MAKE) -C ldso clean
$(MAKE) -C libc/misc/internals clean