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

PKGS = busybox

$(PKGS): busybox.buildstamp

.SILENT: busybox.buildstamp
busybox.buildstamp:
	cd src && \
		make -j $${JOBS:-1} && \
		make CONFIG_PREFIX=$$(pwd)/../dest install
	oh-strip -g /bin/busybox
	chmod u+s dest/bin/busybox
	oh-installfiles $(PKGS)
	oh-installdocs busybox
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch busybox.buildstamp