diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-01-27 13:28:57 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-01-27 13:57:30 +0000 |
commit | 4799f87aaef757d741f65f3d23f188f3032d824c (patch) | |
tree | bdbb0960127d1121f6ab227399748bb072a7bf1d | |
parent | 211274e454abf6b55e92ba227ae925b1db228041 (diff) | |
download | definitions-baserock/ps/wip-toybox.tar.gz |
WIP toybox implementationbaserock/ps/wip-toybox
-rw-r--r-- | strata/build-essential.morph | 37 | ||||
-rw-r--r-- | strata/build-essential/stage2-toybox.morph | 10 | ||||
-rw-r--r-- | strata/build-essential/toybox.morph | 10 |
3 files changed, 52 insertions, 5 deletions
diff --git a/strata/build-essential.morph b/strata/build-essential.morph index 1611dbe8..43b90750 100644 --- a/strata/build-essential.morph +++ b/strata/build-essential.morph @@ -130,6 +130,17 @@ chunks: build-mode: bootstrap prefix: /tools +- name: stage2-toybox + morph: strata/build-essential/stage2-toybox.morph + repo: github:gfto/toybox.git + ref: master + build-depends: + - stage1-binutils + - stage1-gcc + - stage2-glibc + build-mode: bootstrap + prefix: /tools + - name: stage2-busybox morph: strata/build-essential/stage2-busybox.morph repo: upstream:busybox @@ -204,7 +215,7 @@ chunks: unpetrify-ref: master build-depends: - stage2-binutils - - stage2-busybox + - stage2-toybox - stage2-glibc - stage2-fhs-dirs - stage2-gawk @@ -220,7 +231,7 @@ chunks: unpetrify-ref: baserock/v3.8 build-depends: - stage2-binutils - - stage2-busybox + - stage2-toybox - stage2-glibc - stage2-fhs-dirs - stage2-gawk @@ -236,7 +247,7 @@ chunks: unpetrify-ref: baserock/glibc-2.20 build-depends: - stage2-binutils - - stage2-busybox + - stage2-toybox - stage2-fake-bash - stage2-glibc - stage2-fhs-dirs @@ -258,7 +269,7 @@ chunks: unpetrify-ref: baserock/build-essential build-depends: - stage2-binutils - - stage2-busybox + - stage2-toybox - stage2-glibc - stage2-fhs-dirs - stage2-gawk @@ -277,7 +288,7 @@ chunks: unpetrify-ref: baserock/build-essential build-depends: - stage2-binutils - - stage2-busybox + - stage2-toybox - stage2-glibc - stage2-fhs-dirs - stage2-gawk @@ -288,6 +299,22 @@ chunks: - glibc - zlib +- name: toybox + morph: strata/build-essential/toybox.morph + repo: github:gfto/toybox.git + ref: master + build-depends: + - stage2-binutils + - stage2-toybox + - stage2-glibc + - stage2-fhs-dirs + - stage2-gawk + - stage2-gcc + - stage2-linux-api-headers + - stage2-make + - stage2-reset-specs + - glibc + - name: busybox morph: strata/build-essential/busybox.morph repo: upstream:busybox diff --git a/strata/build-essential/stage2-toybox.morph b/strata/build-essential/stage2-toybox.morph new file mode 100644 index 00000000..eff46875 --- /dev/null +++ b/strata/build-essential/stage2-toybox.morph @@ -0,0 +1,10 @@ +name: stage2-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 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 |