mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-15 01:19:36 +00:00
rtl8188eu: Use make builtin variable CURDIR
This variable holds the current working directory and so is suitable to be used instead of $(shell pwd).
This commit is contained in:
parent
3686cfc4bd
commit
6533925f01
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -82,7 +82,7 @@ CONFIG_PLATFORM_I386_PC = y
|
||||||
|
|
||||||
CONFIG_DRVEXT_MODULE = n
|
CONFIG_DRVEXT_MODULE = n
|
||||||
|
|
||||||
export TopDIR ?= $(shell pwd)
|
export TopDIR ?= $(CURDIR)
|
||||||
|
|
||||||
MSG="Directory .git does not exist indicating that you downloaded the source as a zip file. Only the 'git clone' method is now supported."
|
MSG="Directory .git does not exist indicating that you downloaded the source as a zip file. Only the 'git clone' method is now supported."
|
||||||
|
|
||||||
|
@ -476,7 +476,7 @@ test:
|
||||||
@if [ ! -e ./.git ] ; then echo $(MSG); exit 1; fi;
|
@if [ ! -e ./.git ] ; then echo $(MSG); exit 1; fi;
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
|
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(CURDIR) modules
|
||||||
|
|
||||||
strip:
|
strip:
|
||||||
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
||||||
|
@ -497,7 +497,7 @@ config_r:
|
||||||
.PHONY: modules clean
|
.PHONY: modules clean
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
#$(MAKE) -C $(KSRC) M=$(shell pwd) clean
|
#$(MAKE) -C $(KSRC) M=$(CURDIR) clean
|
||||||
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
|
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
|
||||||
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
|
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
|
||||||
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
|
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
|
||||||
|
|
Loading…
Reference in a new issue