]> git.neil.brown.name Git - history.git/commitdiff
kbuild: Use $(CURDIR)
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sun, 19 May 2002 05:42:08 +0000 (00:42 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sun, 19 May 2002 05:42:08 +0000 (00:42 -0500)
Not a big change, but make provides the current directory,
so why not use it ;-)

Makefile

index d321cf1ec84b250ee756af494a247f9bff333817..13831146093df7bb63b8f2ef83465658cf3c88ff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
          else if [ -x /bin/bash ]; then echo /bin/bash; \
          else echo sh; fi ; fi)
-TOPDIR := $(shell /bin/pwd)
+TOPDIR := $(CURDIR)
 
 HPATH          = $(TOPDIR)/include
 FINDHPATH      = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net