Commit 8f3ee280 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Use $(CURDIR)

Not a big change, but make provides the current directory,
so why not use it ;-)
parent 8202c057
...@@ -11,7 +11,7 @@ KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g") ...@@ -11,7 +11,7 @@ KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \ else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi) else echo sh; fi ; fi)
TOPDIR := $(shell /bin/pwd) TOPDIR := $(CURDIR)
HPATH = $(TOPDIR)/include HPATH = $(TOPDIR)/include
FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment