summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Martin <paul.martin@codethink.co.uk>2015-06-08 11:56:45 +0000
committerRichard Dale <richard.dale@codethink.co.uk>2015-06-25 15:06:13 +0100
commit3c987b409cbe9ac6462cd96982ce084a0f037187 (patch)
tree1a5377d971f8c0e7a48d5132877a5ead1446fb07
parent1aaf14e11bdeeb2cdbca77c23a1fd1f5ce85e212 (diff)
downloaddefinitions-3c987b409cbe9ac6462cd96982ce084a0f037187.tar.gz
Changes for building on MIPS
-rw-r--r--strata/bsp-mips64b-openwrt.morph24
-rw-r--r--strata/bsp-openwrt/linux-x86-64-openwrt.morph (renamed from strata/bsp-x86_64-openwrt/linux-x86-64-openwrt.morph)0
-rw-r--r--strata/bsp-openwrt/nasm-wrt.morph (renamed from strata/bsp-x86_64-openwrt/nasm-wrt.morph)0
-rw-r--r--strata/bsp-openwrt/syslinux-wrt.morph (renamed from strata/bsp-x86_64-openwrt/syslinux-wrt.morph)0
-rw-r--r--strata/bsp-x86_64-openwrt.morph6
-rw-r--r--systems/minimal-system-mips64b-openwrt.morph21
6 files changed, 48 insertions, 3 deletions
diff --git a/strata/bsp-mips64b-openwrt.morph b/strata/bsp-mips64b-openwrt.morph
new file mode 100644
index 00000000..5fc8a758
--- /dev/null
+++ b/strata/bsp-mips64b-openwrt.morph
@@ -0,0 +1,24 @@
+name: bsp-mips64b-openwrt
+kind: stratum
+description: The set of platform specific components required for booting a 64-bit
+ MIPS BE OpenWRT based system.
+build-depends:
+- morph: strata/core-wrt.morph
+chunks:
+#- name: linux-x86-64-openwrt
+# morph: strata/bsp-x86_64-openwrt/linux-x86-64-openwrt.morph
+# repo: upstream:linux
+# ref: 39a8804455fb23f09157341d3ba7db6d7ae6ee76
+# unpetrify-ref: v4.0
+- name: nasm-wrt
+ morph: strata/bsp-openwrt/nasm-wrt.morph
+ repo: upstream:nasm
+ ref: 78bdad3d14fb875d5f2062957e326ba2a9e4ccb0
+ unpetrify-ref: baserock/morph
+- name: syslinux-wrt
+ morph: strata/bsp-openwrt/syslinux-wrt.morph
+ repo: upstream:syslinux
+ ref: 2aab8555987b547b617cbb887e61083fece01541
+ unpetrify-ref: baserock/morph
+ build-depends:
+ - nasm-wrt
diff --git a/strata/bsp-x86_64-openwrt/linux-x86-64-openwrt.morph b/strata/bsp-openwrt/linux-x86-64-openwrt.morph
index cb827e95..cb827e95 100644
--- a/strata/bsp-x86_64-openwrt/linux-x86-64-openwrt.morph
+++ b/strata/bsp-openwrt/linux-x86-64-openwrt.morph
diff --git a/strata/bsp-x86_64-openwrt/nasm-wrt.morph b/strata/bsp-openwrt/nasm-wrt.morph
index f7b92066..f7b92066 100644
--- a/strata/bsp-x86_64-openwrt/nasm-wrt.morph
+++ b/strata/bsp-openwrt/nasm-wrt.morph
diff --git a/strata/bsp-x86_64-openwrt/syslinux-wrt.morph b/strata/bsp-openwrt/syslinux-wrt.morph
index 18539f28..18539f28 100644
--- a/strata/bsp-x86_64-openwrt/syslinux-wrt.morph
+++ b/strata/bsp-openwrt/syslinux-wrt.morph
diff --git a/strata/bsp-x86_64-openwrt.morph b/strata/bsp-x86_64-openwrt.morph
index 9e0220dd..04a60e3a 100644
--- a/strata/bsp-x86_64-openwrt.morph
+++ b/strata/bsp-x86_64-openwrt.morph
@@ -11,19 +11,19 @@ chunks:
ref: ae58de0fcb4a6528dd365e23d383bbe2eaf2d566
unpetrify-ref: v18
- name: linux-x86-64-openwrt
- morph: strata/bsp-x86_64-openwrt/linux-x86-64-openwrt.morph
+ morph: strata/bsp-openwrt/linux-x86-64-openwrt.morph
repo: upstream:linux
ref: 39a8804455fb23f09157341d3ba7db6d7ae6ee76
unpetrify-ref: v4.0
build-depends:
- kmod-wrt
- name: nasm-wrt
- morph: strata/bsp-x86_64-openwrt/nasm-wrt.morph
+ morph: strata/bsp-openwrt/nasm-wrt.morph
repo: upstream:nasm
ref: 78bdad3d14fb875d5f2062957e326ba2a9e4ccb0
unpetrify-ref: baserock/morph
- name: syslinux-wrt
- morph: strata/bsp-x86_64-openwrt/syslinux-wrt.morph
+ morph: strata/bsp-openwrt/syslinux-wrt.morph
repo: upstream:syslinux
ref: de528dd1d9e1aa53cb484fe32706f9c8e4c2763c
unpetrify-ref: baserock/4.06-musl
diff --git a/systems/minimal-system-mips64b-openwrt.morph b/systems/minimal-system-mips64b-openwrt.morph
new file mode 100644
index 00000000..b24917ab
--- /dev/null
+++ b/systems/minimal-system-mips64b-openwrt.morph
@@ -0,0 +1,21 @@
+name: minimal-system-mips64b-openwrt
+kind: system
+description: The set of strata required to have a minimal system for a 64-bit x86
+ system.
+arch: mips64b
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+ artifacts:
+ - build-essential-minimal
+- name: cpe-wrt
+ morph: strata/cpe-wrt.morph
+- name: bsp-mips64b-openwrt
+ morph: strata/bsp-mips64b-openwrt.morph
+ artifacts:
+ - bsp-mips64b-openwrt-runtime
+configuration-extensions:
+- set-hostname
+- simple-network
+- nfsboot
+- install-files