summaryrefslogtreecommitdiff
path: root/strata/build-essential/toybox.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/build-essential/toybox.morph')
-rw-r--r--strata/build-essential/toybox.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/build-essential/toybox.morph b/strata/build-essential/toybox.morph
new file mode 100644
index 00000000..69a76c67
--- /dev/null
+++ b/strata/build-essential/toybox.morph
@@ -0,0 +1,10 @@
+name: toybox
+kind: chunk
+configure-commands:
+- chmod +x ./configure
+- ./configure --prefix="$PREFIX"
+build-commands:
+- CFLAGS="--static" make defconfig
+- make toybox
+install-commands:
+- PREFIX="$DESTDIR$PREFIX" make install