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

include ../source.mk

build:

install:
	oh-autoinstall -T headers_check -- INSTALL_HDR_PATH="$${PWD}/dest/usr"
	find dest/usr/include \
		\( -name .install -o -name ..install.cmd \
		-o -name .check -o -name ..check.cmd \) \
		-a -exec rm -f '{}' ';'
	mkdir dest/usr/include/$(OPK_HOST_ARCH)
	mv dest/usr/include/asm dest/usr/include/$(OPK_HOST_ARCH)/asm
	oh-installfiles
	oh-fixperms