1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 17:25:34 +03:00

[PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc clean

This commit is contained in:
kay.sievers@vrfy.org 2004-12-15 11:26:05 +01:00 committed by Greg KH
parent e3686a8858
commit 0d9057a1ce

View File

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