summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-06-07 11:48:43 +0000
committerDavid McCullough <davidm@snapgear.com>2001-06-07 11:48:43 +0000
commit0a4aa6c3ee0ac38902f1f04c2afc63a56c2d7303 (patch)
tree6521e08a99817ee0e61a9b297ecef32f133f2c80 /Makefile
parent76a5ce1a3ef3d5701589fdb8bfb18812ca4ca539 (diff)
Change the last 2 "make" invocations to use $(MAKE).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0f5cde117..a7b007801 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ headers: dummy
@ln -s $(KERNEL_SOURCE)/include/linux include/linux
@ln -s ../libc/sysdeps/linux/$(TARGET_ARCH)/bits include/bits
(cd include/bits; ln -sf ../../../../../uClibc_config.h uClibc_config.h)
- make -C libc/sysdeps/linux/$(TARGET_ARCH) headers
+ $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers
uClibc_config.h: Config
@echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" > uClibc_config.h
@@ -122,7 +122,7 @@ uClibc_config.h: Config
fi
@if [ "$(TARGET_ARCH)" = "m68k" ] ; then \
echo "#define __VFORK_MACRO__ 1" >> uClibc_config.h ; \
- if [ `expr match "$(CC)" ".*\(m68k-elf-.*\)"`x = x ]; then \
+ if [ `expr "$(CC)" : ".*\(m68k-elf-.*\)"`x = x ]; then \
echo "#define const" >> uClibc_config.h ; \
echo "#define __const" >> uClibc_config.h ; \
echo "#define __extension" >> uClibc_config.h ; \
@@ -204,7 +204,7 @@ clean:
- find include -type l -exec rm -f {} \;
- find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core \) -exec rm -f {} \;
ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
- make -C ldso clean
+ $(MAKE) -C ldso clean
endif
.PHONY: dummy subdirs