summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-24 18:51:38 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-24 18:51:38 +0000
commit66361fb162eb030141edb11e60067a72918dbaa6 (patch)
treef46975a744dda0385c7e3992be385f3bab6e025a
parentbce1aacf14692b1f1c776f8f1bbbfc4dd085405e (diff)
Don't use $(PWD), use $(shell pwd) instead
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
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; \
@@ -353,8 +353,6 @@ dist release: distclean
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 {} \; ; \
\
tar -cvzf uClibc-$(VERSION).tar.gz --exclude CVS uClibc-$(VERSION)/;