Staging: wlags49_h2: Makefile: remove unneeded stuff
There's a lot of unused and unneeded things in this makefile, so delete it all. Reported-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
d199fb7d6d
commit
74116f561a
|
@ -11,7 +11,6 @@
|
||||||
#
|
#
|
||||||
# If you want to build AP support (untested), comment out -DSTA_ONLY
|
# If you want to build AP support (untested), comment out -DSTA_ONLY
|
||||||
|
|
||||||
INSTALLDIR := /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless
|
|
||||||
ccflags-y := -I$(KERNELDIR)/include
|
ccflags-y := -I$(KERNELDIR)/include
|
||||||
ccflags-y += -I$(src) \
|
ccflags-y += -I$(src) \
|
||||||
-DBUS_PCMCIA \
|
-DBUS_PCMCIA \
|
||||||
|
@ -38,9 +37,6 @@ $(WLNAME)-y += ap_h25.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If KERNELRELEASE is defined, we've been invoked from the
|
|
||||||
# kernel build system and can use its language.
|
|
||||||
ifneq ($(KERNELRELEASE),)
|
|
||||||
|
|
||||||
obj-m += $(WLNAME).o
|
obj-m += $(WLNAME).o
|
||||||
|
|
||||||
|
@ -57,24 +53,3 @@ $(WLNAME)-y += wl_profile.o \
|
||||||
dhf.o
|
dhf.o
|
||||||
|
|
||||||
$(WLNAME)-$(CONFIG_SYSFS) += wl_sysfs.o
|
$(WLNAME)-$(CONFIG_SYSFS) += wl_sysfs.o
|
||||||
|
|
||||||
# Otherwise we were called directly from the command
|
|
||||||
# line; invoke the kernel build system.
|
|
||||||
else
|
|
||||||
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
|
|
||||||
PWD := $(shell pwd)
|
|
||||||
|
|
||||||
default:
|
|
||||||
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
|
|
||||||
endif
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -fr *.o *.ko *.mod.c *.mod.o .*.*.cmd Module.symvers \
|
|
||||||
Module.markers modules.order .tmp_versions
|
|
||||||
|
|
||||||
install: default
|
|
||||||
-rmmod $(WLNAME)
|
|
||||||
install -d $(INSTALLDIR)
|
|
||||||
install -m 0644 -o root -g root $(WLNAME).ko $(INSTALLDIR)
|
|
||||||
/sbin/depmod -aq
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue