summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..b21acc5
--- /dev/null
+++ b/build
@@ -0,0 +1,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