blob: 346f699461f4e010006343dd447184fe20a5901c [file] [log] [blame]
Mike Kershaw7153dbf2007-09-29 11:05:35 -04001# 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 Berg63ba65e2007-09-29 17:43:57 +02005# 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 Kershaw7153dbf2007-09-29 11:05:35 -04007#
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 Berg63ba65e2007-09-29 17:43:57 +020013# by default); only required if your installed nl80211.h is out of date.
Mike Kershaw7153dbf2007-09-29 11:05:35 -040014CONFIG_KERNEL_LOC = /lib/modules/`uname -r`/build/
Johannes Berg63ba65e2007-09-29 17:43:57 +020015CFLAGS += -I$(CONFIG_KERNEL_LOC)/include
Mike Kershaw7153dbf2007-09-29 11:05:35 -040016
Johannes Berg1b5ba352007-10-09 20:40:24 +020017# 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 Kershaw7153dbf2007-09-29 11:05:35 -040023# CFLAGS += -I$(CONFIG_LIBNL_LOC)/include
24# LDFLAGS += -L$(CONFIG_LIBNL_LOC)/lib