diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-18 16:34:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-18 16:34:59 -0400 |
commit | 74116f561add85d03faabda3200e824dfeb9b6fe (patch) | |
tree | e07e7c6070f24ec00e70d20287bbaa16ae74c078 /drivers | |
parent | d199fb7d6d83e185fde1a784ea9e45103db19581 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wlags49_h2/Makefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/staging/wlags49_h2/Makefile b/drivers/staging/wlags49_h2/Makefile index c7220c610961..31e1d89a3846 100644 --- a/drivers/staging/wlags49_h2/Makefile +++ b/drivers/staging/wlags49_h2/Makefile | |||
@@ -11,7 +11,6 @@ | |||
11 | # | 11 | # |
12 | # If you want to build AP support (untested), comment out -DSTA_ONLY | 12 | # If you want to build AP support (untested), comment out -DSTA_ONLY |
13 | 13 | ||
14 | INSTALLDIR := /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless | ||
15 | ccflags-y := -I$(KERNELDIR)/include | 14 | ccflags-y := -I$(KERNELDIR)/include |
16 | ccflags-y += -I$(src) \ | 15 | ccflags-y += -I$(src) \ |
17 | -DBUS_PCMCIA \ | 16 | -DBUS_PCMCIA \ |
@@ -38,9 +37,6 @@ $(WLNAME)-y += ap_h25.o | |||
38 | endif | 37 | endif |
39 | endif | 38 | endif |
40 | 39 | ||
41 | # If KERNELRELEASE is defined, we've been invoked from the | ||
42 | # kernel build system and can use its language. | ||
43 | ifneq ($(KERNELRELEASE),) | ||
44 | 40 | ||
45 | obj-m += $(WLNAME).o | 41 | obj-m += $(WLNAME).o |
46 | 42 | ||
@@ -57,24 +53,3 @@ $(WLNAME)-y += wl_profile.o \ | |||
57 | dhf.o | 53 | dhf.o |
58 | 54 | ||
59 | $(WLNAME)-$(CONFIG_SYSFS) += wl_sysfs.o | 55 | $(WLNAME)-$(CONFIG_SYSFS) += wl_sysfs.o |
60 | |||
61 | # Otherwise we were called directly from the command | ||
62 | # line; invoke the kernel build system. | ||
63 | else | ||
64 | KERNELDIR ?= /lib/modules/$(shell uname -r)/build | ||
65 | PWD := $(shell pwd) | ||
66 | |||
67 | default: | ||
68 | $(MAKE) -C $(KERNELDIR) M=$(PWD) modules | ||
69 | endif | ||
70 | |||
71 | clean: | ||
72 | rm -fr *.o *.ko *.mod.c *.mod.o .*.*.cmd Module.symvers \ | ||
73 | Module.markers modules.order .tmp_versions | ||
74 | |||
75 | install: default | ||
76 | -rmmod $(WLNAME) | ||
77 | install -d $(INSTALLDIR) | ||
78 | install -m 0644 -o root -g root $(WLNAME).ko $(INSTALLDIR) | ||
79 | /sbin/depmod -aq | ||
80 | |||