From 0a4aa6c3ee0ac38902f1f04c2afc63a56c2d7303 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 7 Jun 2001 11:48:43 +0000 Subject: Change the last 2 "make" invocations to use $(MAKE). --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3