From 0ed24df603a196c24a4fa3a140d4b514e9d8cb11 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 6 Nov 2022 10:41:01 +0100 Subject: Use the default configuration for the board instead of duplicate it --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 2df77ad..3ef0c29 100755 --- a/build.sh +++ b/build.sh @@ -32,7 +32,10 @@ case "$BOARDNAME" in esac # Merge custom buildroot configurations -CONFIG_="BR2" KCONFIG_CONFIG="configs/${BOARDNAME}_defconfig" "$BUILDROOT_DIR/support/kconfig/merge_config.sh" -m -r configs/config "configs/$BOARDNAME" +CONFIG_="BR2" KCONFIG_CONFIG="configs/${BOARDNAME}_defconfig" "$BUILDROOT_DIR/support/kconfig/merge_config.sh" -m -r \ + "${BUILDROOT_DIR}/configs/${BOARDNAME}_defconfig" \ + configs/config \ + "configs/$BOARDNAME" sed "1i ### DO NOT EDIT, this file was automatically generated\n" -i "configs/${BOARDNAME}_defconfig" ## Create full buildroot configuration -- cgit v1.2.3