diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-06-08 21:11:55 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-06-08 21:11:55 +0000 |
commit | 091c82530b51d9f244a5b15ca7a0ea53292c019f (patch) | |
tree | 5474e07d7e3e5a90a0923f3c549a0beb711edbfa | |
parent | 6ff3ac75673d19edd5045b0b21b888b757f71005 (diff) | |
download | ptxdist-091c82530b51d9f244a5b15ca7a0ea53292c019f.tar.gz ptxdist-091c82530b51d9f244a5b15ca7a0ea53292c019f.tar.xz |
Avoid collectionconfig error message
If no package has been marked as "M", 'ptxdist menuconfig collection'
bails out with the error message
/opt/tools/lib/ptxdist-1.99.11/config/collection/Kconfig:10: can't open file "generated/ptx_collection.in"
Fixed by creating an empty ptx_collection.in in any case.
Reported-by: Jon Ringle <jon@ringle.org>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10644 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | scripts/lib/ptxd_lib_colgen.sh | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -82,11 +82,13 @@ TODO before 1.99.14 update: 20090512: mkl: done -[ ] mkl: +[x] mkl: 16:46 < ringlej> /opt/tools/lib/ptxdist-1.99.11/config/collection/Kconfig:10: can't open file "generated/ptx_collection.in" 16:47 < ringlej> That was it. I had none marked as "M" + Update 20090603 rsc: fixed + TODO before 2.0.0 ================= diff --git a/scripts/lib/ptxd_lib_colgen.sh b/scripts/lib/ptxd_lib_colgen.sh index 265a33eb8..ac80ab893 100644 --- a/scripts/lib/ptxd_lib_colgen.sh +++ b/scripts/lib/ptxd_lib_colgen.sh @@ -50,6 +50,8 @@ ptxd_colgen_generate_sections() printf "\n" > col_all_in; close(col_all_in); + printf "" > col_in; + for (i = 1; i <= n; i++) { pkg = sorted[i]; pkg_lc = module_pkgs[pkg]; |