summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/hostapd.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/cpe-wrt/hostapd.morph')
-rw-r--r--strata/cpe-wrt/hostapd.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/cpe-wrt/hostapd.morph b/strata/cpe-wrt/hostapd.morph
new file mode 100644
index 00000000..06887d5c
--- /dev/null
+++ b/strata/cpe-wrt/hostapd.morph
@@ -0,0 +1,13 @@
+name: hostapd
+kind: chunk
+
+configure-commands:
+- cp files/hostapd-full.config hostapd/.config
+- echo "CONFIG_LIBNL_TINY=y" >> hostapd/.config
+- echo "CFLAGS += -I/usr/include/libnl-tiny -DLIBNL1_COMPAT -D_GNU_SOURCE" >> hostapd/.config
+
+build-commands:
+- make -C hostapd
+
+install-commands:
+- make -C hostapd DESTDIR="$DESTDIR" install