Verified Commit f4e51ba1 authored by Matt Devillier's avatar Matt Devillier
Browse files

Drop static CONFIG_LOCALVERSION; set dynamically at build time



Change-Id: Ib0428002ce9a0a24146fc771ce0b85fb7da53d9f
Signed-off-by: Matt Devillier's avatarMatt DeVillier <matt.devillier@puri.sm>
parent 0b5cb856
......@@ -64,8 +64,12 @@ update_crossgcc_toolchain || die
rm -rf ./build || true
#make distclean
# get git version
GIT_VERSION=$(git describe --tags --dirty)
# copy config
cp configs/config.${BOARD} .config
echo "CONFIG_LOCALVERSION=\"${GIT_VERSION}\"" >> .config
make olddefconfig >/dev/null
# build coreboot and payload(s)
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_CBFS_SIZE=0x5C0000
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_skl/descriptor.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_kbl/descriptor.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/librem_14/flashdescriptor.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1-UEFI-TEST"
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/librem_14/flashdescriptor.bin"
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/librem_14/me.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_CBFS_SIZE=0x5C0000
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_skl/descriptor.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_kbl/descriptor.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_BOOTSPLASH_FILE="bootsplash_1280.jpg"
CONFIG_VENDOR_PURISM=y
......
CONFIG_LOCALVERSION="4.13-Purism-1-UEFI-test"
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/mini/flashdescriptor.bin"
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/mini/me.bin"
......
CONFIG_LOCALVERSION="4.13-Purism-1"
CONFIG_BOOTSPLASH_IMAGE=y
CONFIG_BOOTSPLASH_FILE="bootsplash_1280.jpg"
CONFIG_VENDOR_PURISM=y
......
CONFIG_LOCALVERSION="4.13-Purism-1-UEFI-TEST"
CONFIG_VENDOR_PURISM=y
CONFIG_IFD_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/mini_v2/flashdescriptor.bin"
CONFIG_ME_BIN_PATH="3rdparty/purism-blobs/mainboard/purism/librem_cnl/mini_v2/me.bin"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment