summaryrefslogtreecommitdiffstats
path: root/build
blob: d7dc8ddb7145958131b3c80bf5bdbbc78aa85c81 (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
30
31
32
33
#!/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
	# Bash scripts and their configuration:
	rm dest/etc/e2scrub.conf
	rm dest/usr/sbin/e2scrub
	rm dest/usr/sbin/e2scrub_all
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps