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

include ../source.mk

nop:
	@:

build: source
	oh-autoconfigure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libip4tc.la"
	rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libip6tc.la"
	rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libiptc.la"
	rm -f "dest/usr/lib/$(OPK_HOST_ARCH)/libxtables.la"
	oh-fixperms
	oh-strip
	oh-installfiles