chiark / gitweb /
[PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc clean
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Wed, 15 Dec 2004 10:26:05 +0000 (11:26 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:13:48 +0000 (23:13 -0700)
Makefile

index 36c0b474ce5d7ba303090240b5348ef7d50a8c56..04ac59bcfcc9247f231f3614987f99f39595e46e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -193,7 +193,7 @@ $(CRT0):
        @if [ ! -r klibc/linux ]; then \
                ln -f -s $(KERNEL_DIR) klibc/linux; \
        fi
-       $(MAKE) -C klibc SUBDIRS=klibc
+       $(MAKE) -C klibc SUBDIRS=klibc TESTS=
 
 HEADERS = \
        udev.h          \
@@ -339,7 +339,7 @@ clean:
         | xargs rm -f 
        -rm -f core $(ROOT) $(GEN_HEADERS) $(GEN_CONFIGS) $(GEN_MANPAGES) $(INFO) $(DAEMON) $(SENDER) $(TESTER)
        -rm -f ccdv
-       $(MAKE) -C klibc clean
+       $(MAKE) -C klibc SUBDIRS=klibc clean
        @extras="$(EXTRAS)" ; for target in $$extras ; do \
                echo $$target ; \
                $(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \
@@ -347,7 +347,7 @@ clean:
        done ; \
 
 spotless: clean
-       $(MAKE) -C klibc spotless
+       $(MAKE) -C klibc SUBDIRS=klibc spotless
        -rm -f klibc/linux
 
 DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v -e CVS -e "\.tar\.gz" -e "\/\." -e releases -e BitKeeper -e SCCS -e test/sys | sort )