summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_template.sh
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-09-06 12:55:47 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-09-06 18:13:48 +0200
commit7631c658857420a0c968f9e26715e137635e2b31 (patch)
treef2cd29407e602ff69cd0d750f1d619234499fefc /scripts/lib/ptxd_lib_template.sh
parent2bf34e753f15d5c6c0c5894f5797e065fdd8d4c1 (diff)
downloadptxdist-7631c658857420a0c968f9e26715e137635e2b31.tar.gz
ptxdist-7631c658857420a0c968f9e26715e137635e2b31.tar.xz
newpackage: add possibility to create extra barebox packagesptxdist-2012.09.0
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_template.sh')
-rw-r--r--scripts/lib/ptxd_lib_template.sh11
1 files changed, 11 insertions, 0 deletions
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 &&