[ptxdist] [ANNOUNCE] PTXdist 2011.10.1 released
Hi, I've just released PTXdist 2011.10.1. Just one patch this time, but an annoying issue, the Qt 4.7.4 md5sum changed. Regards, Michael Olbrich Bernhard Sessler (1): qt4: change md5sum to correct values -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*
this fixes migrate on systems where sed is not in /bin/ (e.g. OS X). Signed-off-by: Michael Olbrich m.olbr...@pengutronix.de --- Hi, what about this? It's less invasive than using autoconf. mol scripts/libptxdist.sh |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh index 48dbd64..4385566 100644 --- a/scripts/libptxdist.sh +++ b/scripts/libptxdist.sh @@ -156,12 +156,12 @@ ptxd_kconfig_migrate() { local part=${1} local assistent=${PTX_MIGRATEDIR}/migrate_${part} - if [ \! -x ${assistent} ]; then + if [ \! -f ${assistent} ]; then return 0 fi cp -- .config .config.old || return - ${assistent} .config.old .config + sed -f ${assistent} .config.old .config retval=$? if [ $retval -ne 0 ]; then -- 1.7.6.3 -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Makefile in subfolder of rules directory?
Hello Juergen, ... The menustructure in ptxdist is shown correctly, but it seems that Makefiles in subfolders are not recognized by ptxdist? ... Take a look into the results of a: $ ptxdist newpackage src-make-prog And maybe reading http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf could help you (section 4.2). Today we reviewed your hints and had a close look to the result of ptxdist newpackage src-make-prog, but still have issues with it. Maybe my question was too imprecise. It is possible to put the in-files into subdirectories e.g. project/rules/somedir/test.in! But in this example the corresponding makefile in project/rules/somedir/test.make is not recognized by ptxdist. It seems to me, that ptxdist only scans project/rules but not any subdirs for makefiles. As a workaround/solution we use lndir to create a set of symbolic links to our common packages in project/rules. Thanks for your help! Regards, Gavin Schenk -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Makefile in subfolder of rules directory?
On Mon, Oct 10, 2011 at 06:31:41PM +0200, Gavin Schenk wrote: Today we reviewed your hints and had a close look to the result of ptxdist newpackage src-make-prog, but still have issues with it. Maybe my question was too imprecise. It is possible to put the in-files into subdirectories e.g. project/rules/somedir/test.in! But in this example the corresponding makefile in project/rules/somedir/test.make is not recognized by ptxdist. It seems to me, that ptxdist only scans project/rules but not any subdirs for makefiles. Right, and this is by design. Why do you want to use a sub directory? The strategy is usually to put any project-local .in and .make files into rules/. Any file put there should be generic enough to be used in any config/platform to be used with the project, so I cannot imagine a good reason for splitting up into sub directories. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Makefile in subfolder of rules directory?
On Mon, Oct 10, 2011 at 06:31:41PM +0200, Gavin Schenk wrote: Today we reviewed your hints and had a close look to the result of ptxdist newpackage src-make-prog, but still have issues with it. Maybe my question was too imprecise. It is possible to put the in-files into subdirectories e.g. project/rules/somedir/test.in! But in this example the corresponding makefile in project/rules/somedir/test.make is not recognized by ptxdist. It seems to me, that ptxdist only scans project/rules but not any subdirs for makefiles. Right, and this is by design. Why do you want to use a sub directory? The strategy is usually to put any project-local .in and .make files into rules/. Any file put there should be generic enough to be used in any config/platform to be used with the project, so I cannot imagine a good reason for splitting up into sub directories. rsc The only reason is that I want to share the .in and .make files using subversion, by checking out a common rules-folder as external into the project. Changes to this external are visible to all colleagues immediately, the external can be sticked to a version, switched to trunk, tag, branch or whatever one need. My solution is to check out the common_rules beside the projects rules-folder and copy the common_rules content, using lndir, into the rules-folder. That meets all requirements, I only have to update the symbolic links after an update from subversion. Thanks and Regards, Gavin -- ptxdist mailing list ptxdist@pengutronix.de