瀏覽代碼

Change the last 2 "make" invocations to use $(MAKE).

David McCullough 24 年之前
父節點
當前提交
0a4aa6c3ee
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Makefile

+ 3 - 3
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