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

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--enable-symlink-install \
		--enable-verbose-makecmds \
		--enable-elf-shlibs \
		--disable-e2initrd-helper \
		--disable-uuidd \
		--disable-fuse2fs \
		--disable-ubsan \
		--disable-addrsan \
		--disable-threadsan \
		ac_cv_path_mkdir=mkdir
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/lib/$(OPK_HOST_ARCH)/*.a
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps