Support for user customizeable sources config

This commit is contained in:
zador-blood-stained 2016-10-26 18:01:41 +03:00
parent 0b21f2f2a7
commit ac93f20307

View file

@ -64,6 +64,11 @@ else
exit_with_error "Sources configuration not found" "$LINUXFAMILY"
fi
if [[ -f $SRC/userpatches/sources/$LINUXFAMILY.conf ]]; then
display_alert "Adding user provided $LINUXFAMILY overrides"
source $SRC/userpatches/sources/$LINUXFAMILY.conf
fi
case $ARCH in
arm64)
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER="aarch64-linux-gnu-"