Mike Kershaw | 7153dbf | 2007-09-29 11:05:35 -0400 | [diff] [blame] | 1 | # Example iw build time configuration |
| 2 | # |
| 3 | # This file lists the configuration options that are used when building the |
| 4 | # iw binary. All lines starting with # are ignored. Configuration option |
Johannes Berg | 63ba65e | 2007-09-29 17:43:57 +0200 | [diff] [blame] | 5 | # lines must be commented out completely, if they are not to be included, |
| 6 | # i.e. just setting VARIABLE=n is not disabling that variable. |
Mike Kershaw | 7153dbf | 2007-09-29 11:05:35 -0400 | [diff] [blame] | 7 | # |
| 8 | # This file is included in Makefile, so variables like CFLAGS and LIBS can also |
| 9 | # be modified from here. In most cases, these lines should use += in order not |
| 10 | # to override previous values of the variables. |
| 11 | |
| 12 | # Kernel location for GIT NL80211 kernel code (assumed to be running, |
Johannes Berg | 63ba65e | 2007-09-29 17:43:57 +0200 | [diff] [blame] | 13 | # by default); only required if your installed nl80211.h is out of date. |
Mike Kershaw | 7153dbf | 2007-09-29 11:05:35 -0400 | [diff] [blame] | 14 | CONFIG_KERNEL_LOC = /lib/modules/`uname -r`/build/ |
Johannes Berg | 63ba65e | 2007-09-29 17:43:57 +0200 | [diff] [blame] | 15 | CFLAGS += -I$(CONFIG_KERNEL_LOC)/include |
Mike Kershaw | 7153dbf | 2007-09-29 11:05:35 -0400 | [diff] [blame] | 16 | |
Johannes Berg | 1b5ba35 | 2007-10-09 20:40:24 +0200 | [diff] [blame] | 17 | # LibNL location |
| 18 | # (if not installed in a way that makes the compiler/linker find it) |
| 19 | # by default, libnl's 'make install' installs to /usr/local/ so you may |
| 20 | # need this |
| 21 | # |
| 22 | # CONFIG_LIBNL_LOC = /usr/local/ |
Mike Kershaw | 7153dbf | 2007-09-29 11:05:35 -0400 | [diff] [blame] | 23 | # CFLAGS += -I$(CONFIG_LIBNL_LOC)/include |
| 24 | # LDFLAGS += -L$(CONFIG_LIBNL_LOC)/lib |