summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* move template generation to a separate scriptMichael Olbrich2011-12-171-215/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add environment make targetAndreas Bießmann2011-12-021-0/+3
| | | | | | | | | The new make target 'environment' set up links to sane tools found by configure. This change was first discussed in http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/8157/focus=8180 Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: allow PTXDIST_PTXRC_DEFAULT to be set from environmentJon Ringle2011-09-291-2/+2
| | | | | Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* make really clean question configurableJan Weitzel2011-09-091-1/+1
| | | | | | | | Add option to ptxdist setup to avoid the "really clean all" question for ptxdist clean. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ask before cleaning complett BSPJan Weitzel2011-09-091-0/+8
| | | | | | | | ask user to avoid Arggghh after accidentally cleaning the complete BSP Skip asking with "--force" or "--quiet" option. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* also update collection with migrateJan Weitzel2011-08-281-0/+3
| | | | | | | | If you use migrate to go to a new ptxdist version, collections are untouched. This can result in problems Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: pick the last toolchain when more than one is foundMichael Olbrich2011-08-091-8/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: remove old local-kernel methodRobert Schwebel2011-07-121-22/+2
| | | | | | | | | | As we know have the possibility to overwrite any package in local_src/<package>.<platform>, remove the old methods to set PTXCONF_KERNEL_LOCAL_FLAG and PTXCONF_SETUP_KERNELDIR_PREFIX Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* [get] add md5sum checking for downloaded archivesMichael Olbrich2011-05-041-0/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: make sure we're building on a local diskMichael Olbrich2011-04-181-0/+11
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: relax toolchain vendor checkMichael Olbrich2011-03-171-4/+12
| | | | | | | before: "vendor is" == "vendor should" after: "vendor is" starts with "vendor should" Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] fix broken existing target detectionMichael Olbrich2011-01-191-2/+1
| | | | | | | PROJECTRULESDIR has been removed. Use PTXDIST_PATH_RULES to look for existing rules. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [template-src-make-prog] cleanupMichael Olbrich2011-01-031-1/+1
| | | | | | needs a version too. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Merge branch 'next/kconfig'Michael Olbrich2010-11-171-3/+4
|\
| * ptxdist: enable building nconf and add option to use itMichael Olbrich2010-11-171-3/+4
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [ptxdist] always use a platform dirMichael Olbrich2010-11-151-1/+1
|/ | | | | | | | | With PTXCONF_PLATFORM="" build-* sysroot-* etc. was generated directly in the workspace and not in platform-<suffix>/. With this change platform/ is used in this case. This moves all files created during the build to one directory. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] setup_platform: remove bad chars from project_versionMarc Kleine-Budde2010-08-051-0/+3
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] add help text for --git optionMarc Kleine-Budde2010-08-051-0/+2
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] clean: remove everything even in production buildsMarc Kleine-Budde2010-07-191-9/+18
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Merge branch 'next/image_cleanups' of git://git.pengutronix.de/git/mkl/ptxdistMarc Kleine-Budde2010-07-161-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: scripts/lib/ptxd_make_install.sh This is due to "360f73777af1661d85ae0aa2434b6acde22da9fa" Fix dependencies to files in projectroot. The modifications to ptxd_make_install_init have been moved to ptxd_make_xpkg_prepare. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * [ptxdist] world before images isn't needed anymoreMarc Kleine-Budde2010-07-161-1/+0
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * [check_path] fix removal of "." from the PATHMarc Kleine-Budde2010-07-151-1/+1
| | | | | | | | | | | | | | Without this patch the PATH=".:/foo:.:/bar:." will be transformed into "/foo/bar". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | [ptxdist] fix {ptx,platform,collection}config links for platformdir = workspaceMichael Olbrich2010-07-151-4/+7
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [ptxdist] add command line option to enable patchin with gitMichael Olbrich2010-07-151-0/+4
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [ptxdist] fix toolchain link for platformdir = workspaceMichael Olbrich2010-07-141-1/+2
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [ptxdist] generate selected_* links in the platform dirMichael Olbrich2010-07-081-5/+20
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [newpacket] remove deprecated featureMarc Kleine-Budde2010-07-011-8/+1
|/ | | | | | | | Since commit 5a4bf8f43d1bc3796a9c9aec7ece43dc4dba6421, which was first released with 2010.02.0 the "newpacket" command has been renamed to "newpackage". The fallback was active for 6 month now, so switch it off. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] bash-feature: set PATH in init-fileMarc Kleine-Budde2010-06-251-0/+1
| | | | | | | | Prior to the execution of the bash the PATH already contains ptxdist's sysroot-host. If the PATH variable is overwritten in a config file, the sysroot-host PATH is lost, so set PATH in our init-file. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] fix version check, bail out if using two incompatible releasesMarc Kleine-Budde2010-06-111-1/+1
| | | | | | | | This patch fixes a problem with the version check. ptxdist should refuse to build a BSP() made for a different ptxdist release. Without this patch ptxdist will build a BSP for 2010.04.0 with ptxdist 2010.05.0. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] really fix things for older bash versionsMichael Olbrich2010-06-041-5/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] in older bash versions read does not support "-i"Michael Olbrich2010-06-031-2/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] ask for section in 'ptxdist newpackage'Michael Olbrich2010-04-211-0/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] use user name/email from 'ptxdist setup' for newpackage authorMichael Olbrich2010-04-211-2/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] use readline and prompt for read in newpackageMichael Olbrich2010-04-211-14/+8
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] copy previous ptxdistrc if current one is missingMichael Olbrich2010-04-211-0/+19
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [templates] add qmake templateMichael Olbrich2010-04-211-1/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] add option to modify scheduling priority (nice)Marc Kleine-Budde2010-04-201-0/+11
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] add description for "-l" optionMarc Kleine-Budde2010-04-201-0/+2
| | | | | | | ....which was introduced in commit: af354857987311001adbf7fe9c5aefab21503691 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] rework version generationMarc Kleine-Budde2010-04-021-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch aims to fix some problems of the version handling of ptxdist which were introducted with switching to timed releases: a) The version is specified in "configure.ac", the "local version" ("00003-gbf29f16") is generated by "setlocalversion". "setlocalversion" generates it's ouput relative to the latest tag. This leads to strange version strings, after creating a tag, and forgetting to run "./autogen.sh && ./configure && make". b) The ptxdist created with a "make dist", even if a not tagged version, always thinks it's a release. c) BSPs working with "master" need a migrate after each release. Because the compatibility checker uses year and month. The problems are^Wshould be fixed with these changes: a) "setlocalversion" now generates the whole full version, e.g.: "2010.04.0-00003-gbf29f16". "configure.ac" uses "m4_esyscmd" to figure out the current version while running "configure". (Yes, "configure"). b) A file ".tarball-version" is added to the tarball to track the version while creating the tarball (same goes for the installation). "setlocalversion" will use the version information from ".tarball-version" c) If both ptxdist and config file are not using a release, i.e. their versions an "appendix", we say it's compatibe, too. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] rename template "simple" -> "file" and add helpMichael Olbrich2010-03-261-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] Allow -- to stop parse_first option parsingJon Ringle2010-03-231-0/+7
| | | | | | | | | | | | | | | | | | | When trying to invoke a command via 'ptxdist bash cmd [args...]' If cmd takes an argument that matches one of the option that is parsed in parse_first in ptxdist, then cmd never gets that argument. For example, ptxdist bash foo -d bar would get invoked as: foo bar This commit allows one to overcome this limitation: ptxdist bash -- foo -d bar so that it gets invoked properly as: foo -d bar Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] streamline message printingMarc Kleine-Budde2010-03-111-80/+81
| | | | | | Use PTXDIST_LOG_PREFIX, neither PROMPT nor PREFIX. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] clean root: also remove *.cmdsMarc Kleine-Budde2010-03-101-0/+1
| | | | | | which is generated by the $(call install_copy ) and friend Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist bash] Integrate prefixing "[ptx] " to PS1 in "ptxdist bash"Jon Ringle2010-03-091-1/+13
| | | | | | | | | | Invoke 'ptxdist bash' will give you a ptxdist environment with your PS1 prompt prefixed with "[ptx] ", so that you are aware of the environment your current shell is in. Signed-off-by: Jon Ringle <jon@ringle.org> [mkl: use ${BASH}, simplified exit] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] ad -l|--load-average= option (used with make)Michael Olbrich2010-03-051-0/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] add -p|--pedantic optionMichael Olbrich2010-03-051-0/+4
| | | | | If this option is used ptxd_pedantic will act like ptxd_bailout. Otherwise it will act like ptxd_warning
* [toolchain] Add support for detecting uClibc toolchainJon Ringle2010-03-031-1/+1
| | | | Signed-off-by: Jon Ringle <jon@ringle.org>
* [template-src-make-prog] reanimate plain makefile targetMarc Kleine-Budde2010-03-031-2/+3
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [newpackage] fix aligment in questionnaireMarc Kleine-Budde2010-03-031-6/+6
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [newpackage] return if "sed" replacement of template files failMarc Kleine-Budde2010-03-031-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>