From 7631c658857420a0c968f9e26715e137635e2b31 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Thu, 6 Sep 2012 12:55:47 +0200 Subject: newpackage: add possibility to create extra barebox packages Signed-off-by: Marc Kleine-Budde Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_lib_template.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'scripts/lib/ptxd_lib_template.sh') diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh index ceccc5359..b4d8ff0d8 100644 --- a/scripts/lib/ptxd_lib_template.sh +++ b/scripts/lib/ptxd_lib_template.sh @@ -382,6 +382,17 @@ export -f ptxd_template_new_kernel ptxd_template_help_list[${#ptxd_template_help_list[@]}]="kernel" ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create package for an extra kernel" +ptxd_template_new_barebox() { + export class="barebox-" + ptxd_template_read_basic && + ptxd_template_read "enter barebox image" image "barebox.bin" + ptxd_template_read_author && + ptxd_template_write_platform_rules +} +export -f ptxd_template_new_barebox +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="barebox" +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create package for an extra barebox" + ptxd_template_new_image_tgz() { export class="image-" ptxd_template_read_name && -- cgit v1.2.3