diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-19 11:57:35 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-19 13:19:02 +0200 |
commit | f985e3cd2a1f789ca6205f920bc451a74c74e2b5 (patch) | |
tree | f82422da46a41143ba9652cb0a4df7504a14fee9 /scripts/lib/ptxd_make_image_common.sh | |
parent | 3b2902fbf50690a2f7d1d42fd5d4c3e88d9f1b40 (diff) | |
download | ptxdist-f985e3cd2a1f789ca6205f920bc451a74c74e2b5.tar.gz ptxdist-f985e3cd2a1f789ca6205f920bc451a74c74e2b5.tar.xz |
[production] rename PROD_PLATFORMDIR -> BASE_PLATFORMDIR
This the preparation to have a base platform that is not provided
by a production build.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_image_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_image_common.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/lib/ptxd_make_image_common.sh b/scripts/lib/ptxd_make_image_common.sh index 7cb0ed64d..b0525d746 100644 --- a/scripts/lib/ptxd_make_image_common.sh +++ b/scripts/lib/ptxd_make_image_common.sh @@ -53,14 +53,14 @@ Run first 'ptxdist clean root' then 'ptxdist images' again. # # take care about production build # - if [ -n "${PTXDIST_PROD_PLATFORMDIR}" ]; then - if ! ptxd_get_path "${PTXDIST_PROD_PLATFORMDIR}/packages/*.ipk"; then - ptxd_bailout "use production BSP: no ipkg files found in '${PTXDIST_PROD_PLATFORMDIR}/packages'" + if [ -n "${PTXDIST_BASE_PLATFORMDIR}" ]; then + if ! ptxd_get_path "${PTXDIST_BASE_PLATFORMDIR}/packages/*.ipk"; then + ptxd_bailout "use production BSP: no ipkg files found in '${PTXDIST_BASE_PLATFORMDIR}/packages'" fi ptxd_reply_ipkg_files=( "${ptxd_reply_ipkg_files[@]}" "${ptxd_reply[@]}" ) - if ! ptxd_get_path "${PTXDIST_PROD_PLATFORMDIR}/state/*.perms"; then - ptxd_bailout "use production BSP: no perms files found in '${PTXDIST_PROD_PLATFORMDIR}/state" + if ! ptxd_get_path "${PTXDIST_BASE_PLATFORMDIR}/state/*.perms"; then + ptxd_bailout "use production BSP: no perms files found in '${PTXDIST_BASE_PLATFORMDIR}/state" fi ptxd_reply_perm_files=( "${ptxd_reply_perm_files[@]}" "${ptxd_reply[@]}" ) fi |