-
Notifications
You must be signed in to change notification settings - Fork 3
/
snapcraft.yaml
39 lines (37 loc) · 874 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: sabrelite
version: 16-0.1
summary: Sabre Lite MX6
description: |
Bootloader files and partitoning data to create a
bootable Ubuntu Core image for the Sabre Lite MX6 board.
type: gadget
architectures:
- armhf
confinement: strict
grade: stable
parts:
uboot:
plugin: make
source: git://git.denx.de/u-boot.git
source-branch: v2017.01
artifacts: [u-boot.imx]
prepare: |
git apply ../../../uboot.patch
make mx6qsabrelite_config
install: |
tools/mkenvimage -r -s 131072 -o $SNAPCRAFT_PART_INSTALL/uboot.env ../../../uboot.env.in
cd $SNAPCRAFT_PART_INSTALL/; ln -s uboot.env uboot.conf
build-packages:
- libpython2.7-dev
- build-essential
- bc
slots:
i2c-0:
interface: i2c
path: /dev/i2c-0
i2c-1:
interface: i2c
path: /dev/i2c-1
i2c-2:
interface: i2c
path: /dev/i2c-2