diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-13 02:20:46 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-13 02:20:46 -0700 |
| commit | 267cc7f05b9347eca3ec5d9769f03357f7ddcf51 (patch) | |
| tree | cb9e6f1b3bee7ba96318f1dec3b21cdfe992ebed | |
| parent | 1e0b9f1c7e0004605ef6d499075ffc80a7f479a2 (diff) | |
hostap: Move definitions to config.h
| -rw-r--r-- | extra/hostap/config.h | 11 | ||||
| -rw-r--r-- | extra/hostap/gen.rc | 12 |
2 files changed, 12 insertions, 11 deletions
diff --git a/extra/hostap/config.h b/extra/hostap/config.h new file mode 100644 index 00000000..c84bc563 --- /dev/null +++ b/extra/hostap/config.h @@ -0,0 +1,11 @@ +#define CONFIG_CTRL_IFACE +#define CONFIG_CTRL_IFACE_UNIX +#define CONFIG_DRIVER_NL80211 +#define CONFIG_ELOOP_POLL +#define CONFIG_LIBNL20 +#define CONFIG_LIBNL32 +#define CONFIG_NO_CONFIG_BLOBS +#define CONFIG_NO_CONFIG_WRITE +#define CONFIG_PEERKEY +#define CONFIG_SHA256 +#define CONFIG_TDLS diff --git a/extra/hostap/gen.rc b/extra/hostap/gen.rc index 462c8b9b..c2b89935 100644 --- a/extra/hostap/gen.rc +++ b/extra/hostap/gen.rc @@ -1,15 +1,5 @@ cflags\ - -D CONFIG_CTRL_IFACE\ - -D CONFIG_CTRL_IFACE_UNIX\ - -D CONFIG_DRIVER_NL80211\ - -D CONFIG_ELOOP_POLL\ - -D CONFIG_LIBNL20\ - -D CONFIG_LIBNL32\ - -D CONFIG_NO_CONFIG_BLOBS\ - -D CONFIG_NO_CONFIG_WRITE\ - -D CONFIG_PEERKEY\ - -D CONFIG_SHA256\ - -D CONFIG_TDLS\ + -include '$dir'/config.h\ -isystem '$builddir'/core/libressl/include\ -isystem '$builddir'/extra/libnl/include\ -I '$srcdir'/src/utils\ |
