From 2ce7bf41d22dd5bc5cdf1f8f65b00fe9d403a9a0 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Mon, 21 Oct 2019 16:08:37 -0700 Subject: Pass the config file to uboot-script-gen as parameter Signed-off-by: Stefano Stabellini --- scripts/uboot-script-gen | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/uboot-script-gen') diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index e72f73e..7f217b6 100644 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -130,7 +130,12 @@ function check_compressed_file_type() check_file_type $filename "$type" } -. config +if test $# -lt 1 +then + echo "Usage $0 " + exit 1 +fi +source $1 rm -f $UBOOT_SOURCE $UBOOT_SCRIPT memaddr=$(( $MEMORY_START + $offset )) -- cgit v1.2.3