summaryrefslogtreecommitdiffstats
path: root/build
blob: 9951572d6f658e318eddda21e55568cdb34f920a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	cp ../config src/wpa_supplicant/.config
	oh-autobuild -B src/wpa_supplicant/
	touch $@

install: build
	oh-autoinstall -B src/wpa_supplicant/ -- \
		LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
		BINDIR=/usr/sbin
	set -e; for f in ../ifupdown/*; do \
		install -d -m 0755 "dest/etc/network/$${f##*/}.d"; \
		install -m 0755 "$${f}" "dest/etc/network/$${f##*/}.d/wpa"; \
	done
	oh-fixperms
	oh-strip
	oh-installfiles