2020-06-15 08:08:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
target=${TARGET?}
|
|
|
|
env_file=${HOME}/config/config.env
|
|
|
|
|
|
|
|
[ -f $env_file ] && export $( cat ${env_file} | xargs )
|
|
|
|
|
|
|
|
export BUILD_DIR="${HOME}/build"
|
|
|
|
export BR2_EXTERNAL="${HOME}/config/buildroot"
|
|
|
|
export RELEASE_DIR="${HOME}/release"
|
|
|
|
export BUILDROOT_REPO=git://git.busybox.net/buildroot
|
2020-07-07 21:13:18 +00:00
|
|
|
export HEADS_REPO=https://source.puri.sm/coreboot/purism-heads.git
|
2020-07-11 23:08:30 +00:00
|
|
|
export FAKETIME="@${GIT_DATETIME?}"
|
|
|
|
export SOURCE_DATE_EPOCH="${GIT_EPOCH?}"
|
|
|
|
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
|
|
|
|
export ROOTFS_ISO9660_GENISOIMAGE_OPTS="-creation-date=${GIT_EPOCH} "
|