summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-11-07 10:52:01 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-11-07 10:52:01 +0100
commit7307a1c8cebf8847940b4656a435abc42bdcae81 (patch)
treea5d638e8f129bf1520e512550ab9e648a6c3671b /tests
parentc1295ba5c905e428499b4761f5f8d16a428b08ad (diff)
downloadptxdist-7307a1c8cebf8847940b4656a435abc42bdcae81.tar.gz
ptxdist-7307a1c8cebf8847940b4656a435abc42bdcae81.tar.xz
[make_uboot_env] make "ptxdist test make_uboot_env" work correctly
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/make_uboot_env3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/make_uboot_env b/tests/make_uboot_env
index 15ff57f48..4d269bde3 100755
--- a/tests/make_uboot_env
+++ b/tests/make_uboot_env
@@ -1,5 +1,8 @@
#!/bin/bash
+ptxd_source_kconfig "${PTXDIST_BOARDSETUP}" ||
+ptxd_bailout "Please run 'ptxdist boardsetup' first!"
+
UBOOT_ENV="${1}"
ptxd_get_path "${PTXDIST_PLATFORMCONFIGDIR}/u-boot-env/config{${PTXDIST_PLATFORMSUFFIX},}{.in,}" ||