summaryrefslogtreecommitdiff
path: root/project.conf
diff options
context:
space:
mode:
Diffstat (limited to 'project.conf')
-rw-r--r--project.conf62
1 files changed, 47 insertions, 15 deletions
diff --git a/project.conf b/project.conf
index 15069bb1..9ea4e31d 100644
--- a/project.conf
+++ b/project.conf
@@ -1,21 +1,53 @@
-# Gedit text editor flatpakish build demo
+# Building baserock build-essential in BuildStream
#
-name: gedit
+name: build-essential
aliases:
- gnome: git://git.gnome.org/
+ upstream: ssh://git@git.baserock.org/delta/
+ baserock: ssh://git@git.baserock.org/baserock/
+ gnomesdk: https://sdk.gnome.org/
+
-# We're gonna eventually try to build a flatpak,
-# so lets start trying to override the environment
-# in the appropriate ways.
-#
variables:
- prefix: /app
+ cpu: "%{bst-arch}"
+ abi: gnu
+ target-stage1: "%{cpu}-bootstrap-linux-%{abi}"
+ target: "%{cpu}-baserock-linux-%{abi}"
-environment:
- CFLAGS: "-O2 -g"
- CXXFLAGS: "-O2 -g"
- PATH: /app/bin:/usr/bin:/bin:/usr/sbin:/sbin
- PKG_CONFIG_PATH: /app/lib/pkgconfig:/usr/lib/pkgconfig
- XDG_DATA_DIRS: /app/share:/usr/share
- GI_TYPELIB_PATH: /app/lib/girepository-1.0:/usr/lib/girepository-1.0
+# Resolve the cpu and ABI portions of the host triple based
+# on archetecture names.
+arches:
+ x86_32:
+ variables:
+ cpu: i686
+ armv5l:
+ variables:
+ abi: gnueabi
+ armv7b:
+ variables:
+ abi: gnueabi
+ armv7l:
+ variables:
+ abi: gnueabi
+ armv7lhf:
+ variables:
+ abi: gnueabi
+ armv8l64:
+ variables:
+ cpu: aarch64
+ armv8b64:
+ variables:
+ cpu: aarch64_be
+ mips64b:
+ variables:
+ cpu: mips64
+ abi: gnuabi64
+ mips64l:
+ variables:
+ cpu: mips64el
+ mips32b:
+ variables:
+ cpu: mips
+ mips32l:
+ variables:
+ cpu: mipsel