summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-29 17:54:04 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-29 17:54:04 (EDT)
commitcfaecbde398689dfb50f0e9d671a359417a977aa (patch)
treecf4f3754da23aeda963b95fd7fae69300c0120d7 /build
Initial commit.
Package from Joe, plus modifications by P. J.
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