File tree Expand file tree Collapse file tree 4 files changed +37
-16
lines changed Expand file tree Collapse file tree 4 files changed +37
-16
lines changed Original file line number Diff line number Diff line change
1
+ build /
Original file line number Diff line number Diff line change 8
8
addons :
9
9
apt :
10
10
packages :
11
- - musl
11
+ - libpci-dev
12
+ - libusb-dev
13
+ - libusb-1.0-0-dev
12
14
13
15
script :
14
- - ./.travis/ build.sh
16
+ - ./build.sh
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+
4
+ BASEDIR=" ${PWD} "
5
+ OUTDIR=" ${BASEDIR} /build"
6
+ KEXEC_TOOLS_VERSION=" tags/v2.0.17"
7
+ FLASHROM_VERSION=" tags/v1.0"
8
+
9
+ rm -rf " ${OUTDIR} "
10
+ mkdir -p " ${OUTDIR} "
11
+
12
+ # build kexec-tools
13
+ cd " ${OUTDIR} "
14
+ git clone https://github.com/horms/kexec-tools.git
15
+ cd kexec-tools
16
+ git checkout -b " ${KEXEC_TOOLS_VERSION} "
17
+ ./bootstrap
18
+ CFLAGS=-Os ./configure
19
+ make
20
+ strip build/sbin/kexec
21
+ du -hs build/sbin/kexec
22
+ ldd build/sbin/kexec
23
+
24
+ # build flashrom
25
+ cd " ${OUTDIR} "
26
+ git clone https://review.coreboot.org/cgit/flashrom.git
27
+ cd flashrom
28
+ git checkout -b " ${FLASHROM_VERSION} "
29
+ make
30
+ strip flashrom
31
+ du -hs flashrom
32
+ ldd flashrom
You can’t perform that action at this time.
0 commit comments