Skip to content

Instantly share code, notes, and snippets.

@monaka
Last active June 30, 2019 05:05
Show Gist options
  • Save monaka/b88ecfeeac969c843bb7ffed2696c701 to your computer and use it in GitHub Desktop.
Save monaka/b88ecfeeac969c843bb7ffed2696c701 to your computer and use it in GitHub Desktop.
apiVersion: 1.0.0
metadata:
name: jsp_corearmv4-integrator
projects:
- name: jsp_core
source:
type: git
location: 'https://github.com/PizzaFactory/jsp_core.git'
components:
- type: dockerimage
alias: toolchain
image: camino.azurecr.io/vintage-pizza/pf-gnuchains4x-arm-elf:4.7.4-20140603
memoryLimit: 512Mi
mountSources: true
commands:
- name: "build configurator"
actions:
- type: exec
component: toolchain
command: make CC=gcc-4.7 CXX=g++-4.7 && echo && echo Build complete.
workdir: ${CHE_PROJECTS_ROOT}/jsp_core/cfg
- name: "configure sample1"
actions:
- type: exec
component: toolchain
command: ./configure -C armv4 -S integrator
workdir: ${CHE_PROJECTS_ROOT}/jsp_core
- name: "make depend"
actions:
- type: exec
component: toolchain
command: make depend TARGET=arm-pizzafactory-elf && echo && echo Done.
workdir: ${CHE_PROJECTS_ROOT}/jsp_core
- name: "build JSP kernel"
actions:
- type: exec
component: toolchain
command: cd && make TARGET=arm-pizzafactory-elf
workdir: ${CHE_PROJECTS_ROOT}/jsp_core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment