From 66361fb162eb030141edb11e60067a72918dbaa6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 24 Apr 2002 18:51:38 +0000 Subject: Don't use $(PWD), use $(shell pwd) instead --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a02929da5..e1ebdd053 100644 --- a/Makefile +++ b/Makefile @@ -83,11 +83,11 @@ headers: dummy ln -fs $(KERNEL_SOURCE)/include/asm-mips include/asm; \ elif [ $(TARGET_ARCH) = "mipsel" ];then \ ln -fs $(KERNEL_SOURCE)/include/asm-mips include/asm; \ - cd $(PWD)/libc/sysdeps/linux; \ + cd $(shell pwd)/libc/sysdeps/linux; \ ln -fs mips mipsel; \ - cd $(PWD)/ldso/ldso; \ + cd $(shell pwd)/ldso/ldso; \ ln -fs mips mipsel; \ - cd $(PWD)/libpthread/linuxthreads/sysdeps; \ + cd $(shell pwd)/libpthread/linuxthreads/sysdeps; \ ln -fs mips mipsel; \ elif [ $(TARGET_ARCH) = "h8300" ];then \ ln -fs $(KERNEL_SOURCE)/include/asm-h8300 include/asm; \ @@ -352,8 +352,6 @@ dist release: distclean cd ..; \ rm -rf uClibc-$(VERSION); \ cp -a uClibc uClibc-$(VERSION); \ - find uClibc-$(VERSION)/ -type d \ - -name CVS -exec rm -rf {} \; ; \ find uClibc-$(VERSION)/ -type d \ -name .\#* -exec rm -rf {} \; ; \ \ -- cgit v1.2.3