From 06d92ee94ba7fa805b83491f7e408ad5b1b46ad4 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Tue, 22 Oct 2019 18:38:57 -0700 Subject: Add command line arguments for uboot-script-gen Add some simple command line arguments and some dependency checking that makes running this outside of a container much easier. The environment variable LOAD_CMD has been removed and all the config options are done via command line arguemtnt for consistency. Signed-off-by: Brian Woods Signed-off-by: Stefano Stabellini Reviewed-by: Stefano Stabellini --- scripts/imagebuilder_tftp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/imagebuilder_tftp') diff --git a/scripts/imagebuilder_tftp b/scripts/imagebuilder_tftp index 1dd2e3f..70b5379 100644 --- a/scripts/imagebuilder_tftp +++ b/scripts/imagebuilder_tftp @@ -5,5 +5,4 @@ mkdir /tmp/output cp config /tmp/output cp -r /home/builder/output/* /tmp/output cd /tmp/output -export LOAD_CMD="tftpb" -bash /uboot-script-gen ./config +bash /uboot-script-gen -c ./config -d ./ -t tftp -- cgit v1.2.3