mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-15 01:19:36 +00:00
Merge pull request #364 from ukleinek/makefile-cleanup
Makefile cleanup
This commit is contained in:
commit
c1c7ce88cb
1 changed files with 4 additions and 8 deletions
12
Makefile
12
Makefile
|
@ -28,7 +28,7 @@ EXTRA_CFLAGS += -I$(src)/hal/phydm
|
||||||
CONFIG_AUTOCFG_CP = n
|
CONFIG_AUTOCFG_CP = n
|
||||||
|
|
||||||
########################## WIFI IC ############################
|
########################## WIFI IC ############################
|
||||||
CONFIG_RTL8188E = y
|
CONFIG_RTL8188EU = m
|
||||||
######################### Interface ###########################
|
######################### Interface ###########################
|
||||||
CONFIG_USB_HCI = y
|
CONFIG_USB_HCI = y
|
||||||
########################## Features ###########################
|
########################## Features ###########################
|
||||||
|
@ -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."
|
||||||
|
|
||||||
|
@ -152,8 +152,6 @@ EXTRA_CFLAGS += -I$(src)/hal/btc
|
||||||
|
|
||||||
RTL871X = rtl8188e
|
RTL871X = rtl8188e
|
||||||
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_RTL8188E
|
|
||||||
|
|
||||||
_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
|
_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
|
||||||
hal/Hal8188EPwrSeq.o\
|
hal/Hal8188EPwrSeq.o\
|
||||||
hal/$(RTL871X)_xmit.o\
|
hal/$(RTL871X)_xmit.o\
|
||||||
|
@ -472,15 +470,13 @@ obj-$(CONFIG_RTL8188EU) := 8188eu.o
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
export CONFIG_RTL8188EU = m
|
|
||||||
|
|
||||||
all: test modules
|
all: test modules
|
||||||
|
|
||||||
test:
|
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
|
||||||
|
@ -501,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