~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise-security

« back to all changes in this revision

Viewing changes to drivers/staging/wlags49_h2/Makefile

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2011-12-06 15:56:07 UTC
  • Revision ID: package-import@ubuntu.com-20111206155607-pcf44kv5fmhk564f
Tags: 3.2.0-1401.1
[ Paolo Pisati ]

* Rebased on top of Ubuntu-3.2.0-3.8
* Tilt-tracking @ ef2487af4bb15bdd0689631774b5a5e3a59f74e2
* Delete debian.ti-omap4/control, it shoudln't be tracked
* Fix architecture spelling (s/armel/armhf/)
* [Config] Update configs following 3.2 import
* [Config] Fix compilation: disable CODA and ARCH_OMAP3
* [Config] Fix compilation: disable Ethernet Faraday
* Update series to precise

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#
12
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
14
ccflags-y := -I$(KERNELDIR)/include
16
15
ccflags-y += -I$(src) \
17
16
                -DBUS_PCMCIA \
18
 
                -DUSE_WPA \
19
17
                -DUSE_WEXT \
20
18
                -DSTA_ONLY \
21
19
                -DWVLAN_49 \
39
37
endif
40
38
endif
41
39
 
42
 
# If KERNELRELEASE is defined, we've been invoked from the
43
 
# kernel build system and can use its language.
44
 
ifneq ($(KERNELRELEASE),)
45
40
 
46
41
obj-m           += $(WLNAME).o
47
42
 
58
53
                dhf.o
59
54
 
60
55
$(WLNAME)-$(CONFIG_SYSFS)       += wl_sysfs.o
61
 
 
62
 
# Otherwise we were called directly from the command
63
 
# line; invoke the kernel build system.
64
 
else
65
 
        KERNELDIR ?= /lib/modules/$(shell uname -r)/build
66
 
        PWD := $(shell pwd)
67
 
 
68
 
default:
69
 
        $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
70
 
endif
71
 
 
72
 
clean:
73
 
        rm -fr *.o *.ko *.mod.c *.mod.o .*.*.cmd Module.symvers \
74
 
                Module.markers modules.order .tmp_versions
75
 
 
76
 
install: default
77
 
        -rmmod $(WLNAME)
78
 
        install -d $(INSTALLDIR)
79
 
        install -m 0644 -o root -g root $(WLNAME).ko $(INSTALLDIR)
80
 
        /sbin/depmod -aq
81