summaryrefslogtreecommitdiffstats
path: root/build
blob: c7e1b985ce141307bab8ef74dc6298ce131888f4 (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
#!/usr/bin/make -f

include ../source.mk

ARGS = \
	PREFIX=/usr \
	LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
	MANDIR=/usr/share/man \
	BUILD_STATIC_LIB=0

nop:
	@:

build:
	oh-autobuild -- $(ARGS)
	touch $@

install: build
	oh-autoinstall -- $(ARGS)
	# Perl script:
	rm dest/usr/sbin/sensors-detect
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps