Browse Source

Always build the utils. Always clean libc/misc, since there is
some auto generated stuff in there
-Erik

Eric Andersen 22 years ago
parent
commit
7c574d35f1
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Makefile

+ 7 - 1
Makefile

@@ -33,7 +33,7 @@ include Rules.mak
 
 DIRS = extra ldso libc libcrypt libresolv libutil libm libpthread
 
-all: headers uClibc_config subdirs shared finished
+all: headers uClibc_config subdirs shared util finished
 
 Config:
 	@echo
@@ -58,6 +58,11 @@ else
 	@echo
 endif
 
+util:
+ifeq ($(strip $(HAVE_SHARED)),true)
+	@$(MAKE) -C ldso utils
+endif
+
 finished: shared
 	@echo
 	@echo Finally finished compiling...
@@ -328,6 +333,7 @@ distclean clean:
 	- find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec rm -f {} \;
 	$(MAKE) -C test clean
 	$(MAKE) -C ldso clean
+	$(MAKE) -C libc/misc clean
 	$(MAKE) -C libc/unistd clean
 	$(MAKE) -C libc/sysdeps/linux/common clean
 	$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean