From 9b0f98f7fbf06fc44240d8c92ea7137190cd594b Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 21 Jun 2021 11:15:35 +0200 Subject: [PATCH] add basic build info to README.md --- .build.yml | 23 +++++++++++++++++++++++ README.md | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 4ccdf4a..15ecd92 100644 --- a/.build.yml +++ b/.build.yml @@ -11,6 +11,29 @@ steps: commands: - git submodule update --init --recursive +- name: patch + image: alpine/git + depends_on: [ submodules ] + commands: + - |- + sed -i 's/GNU bash, version (3\\\.\[1-9\]|4)/GNU bash, version (3.[1-9]|4|5)/g' modules/sdk/crosstool-NG/configure.ac + + - mkdir -p modules/sdk/crosstool-NG/.build/tarballs + - wget https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz -O modules/sdk/crosstool-NG/.build/tarballs/expat-2.1.0.tar.gz + +- name: toolchain + image: debian:sid + depends_on: [ patch ] + commands: + - apt update + - apt install -y make bash gawk g++ gcc libc6-dev flex bison automake autoconf gperf texinfo wget git bzip2 help2man libtool libtool-bin unrar-free unzip ncurses-dev libexpat-dev python-dev python3 + - cd modules/sdk + - export CT_EXPERIMENTAL=y + - export CT_ALLOW_BUILD_AS_ROOT=y + - export CT_ALLOW_BUILD_AS_ROOT_SURE=y + - make standalone=y -j$(nproc) + - wget -N https://raw.githubusercontent.com/espressif/esptool/master/esptool.py -O xtensa-lx106-elf/bin/esptool.py + - name: firmware image: docker-repo.service.intern.lab.or.it:5000/fiatlux-build-env depends_on: [ submodules ] diff --git a/README.md b/README.md index 0495a08..e05b0ad 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,4 @@ install `docker` on your platform and buil with ```bash make firmware_docker -j$(nproc) -``` \ No newline at end of file +```