summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* [newpackage] improve source tree template generationMarc Kleine-Budde2010-03-031-7/+18
| | | | | | | | | | | This patch improves the generation of source tree templates. - add default "yes" to create a source tree template - "wizard.sh" isn't mandatory anymore - use "bash" instead of "sh" to call wizard.sh - handle packages without version number gracefully; don't add a "-" after the pacakge name Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [newpackage] clean up implementationMarc Kleine-Budde2010-03-031-40/+27
| | | | | | | | | | | | | This patch cleans up the $(ptxdist newpackage $action) implementation by defining sane defaults for: - template - template_src Further "class" is derived from "action" if "autoconf_class" is set. Differences from the default are overwritten in the case statement. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [template-target] rename filesMarc Kleine-Budde2010-03-031-1/+1
| | | | | | | | | | This patch renames the templates from: - template-{in,make} into - template-target-{in,make} to match the "action" in "ptxdist newpackage $action". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [template-src-cmake] rename filesMarc Kleine-Budde2010-03-031-1/+1
| | | | | | | | | | This patch renames the templates from: - template-src-cmake-{in,make} into - template-src-cmake-prog-{in,make} to match the "action" in "ptxdist newpackage $action". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [template-src-driver] rename filesMarc Kleine-Budde2010-03-031-1/+1
| | | | | | | | | | This patch renames the templates from: - template-src-driver-{in,make} into - template-src-linux-driver-{in,make} to match the "action" in "ptxdist newpackage $action". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [newpackage] remove unused template_src from klibc actionMarc Kleine-Budde2010-03-031-1/+0
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] setup PTXDIST_PLATFORMCONFIGDIR even if no platformconfig selectedMarc Kleine-Budde2010-02-261-5/+11
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] only allow boardsetup with selected configsMarc Kleine-Budde2010-02-251-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] remove permission files during "clean root"Marc Kleine-Budde2010-02-221-2/+4
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] make "clean root" more tidyMarc Kleine-Budde2010-02-221-0/+3
| | | | | | | | Also remove: - imagedir - the xpkg.map files Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] convert readlink -e -> readlink -fMarc Kleine-Budde2010-02-211-4/+4
| | | | | | | The "-e" option is only supported by recent new GNU readlink. "-f" works with old versions and on BSD systems, too. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [newpackage] remove obsolete "src-plain-make" from help textMarc Kleine-Budde2010-02-181-1/+0
| | | | | Reported-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] let "newpackage help" work without a rules directoryMarc Kleine-Budde2010-02-031-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [PATCH] rename newpacket command to newpackage ...Uwe Kleine-König2010-02-031-33/+40
| | | | | | | | | | | ... and provide a fallback for a smooth user experience. While at it fix most wrong usages of "packet". There are a few left in TODO (done items) and the Changelog. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [mkl: use ' instead of " during deprecation warning] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] newpacket: add autoconf_class for klibc packagesMarc Kleine-Budde2010-01-061-0/+1
| | | | | | the variable autoconf_class is used in the existing target template. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] consolidate rc file handlingMarc Kleine-Budde2010-01-061-6/+7
| | | | | | | | | | | | | First this patch moves the ptxdistrc file into '~/.ptxdist/' since my homedir contains quite a low of .ptxdistrcs now. Then another variable is introduced: - PTXDIST_VERSION_PTXRC which holds the the version for the rc file. It consists for simplicity reasons of just "$year.$month". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] adopt config file version check to timed releasesMarc Kleine-Budde2010-01-061-36/+36
| | | | | | | | Since ptxdist is doing timed releases now, year and month of config file an ptxdist must match, further the "bugfix" level of ptxdist must be greater or equal to the "bugfix" level of the config file. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] adopt config file version handling to cope with dynamic fullversionMarc Kleine-Budde2010-01-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the past ptxdist's fullversion was replaced by configure in these files: - platforms/ptxdist-version.in.in (PLATFORMCONFIG_VERSION) - rules/ptxdist-version.in.in (CONFIGFILE_VERSION) resulting in: - platforms/ptxdist-version.in - rules/ptxdist-version.in However the fullversion is rather dynamic now since it can hold version information from the version control system. ptxdist refuses to run if the versions don't match. During development this may change quite often which is probably too annoying for the developers. This patch introduces two new version variables: - PTXDIST_VERSION_CFG_SCM - PTXDIST_VERSION_CFG_FULL The _SCM variable holds "-git" if ptxdist isn't release. For released versions _SCM is empty. PTXDIST_VERSION_CFG_FULL contains '$year.$month.$bugfix$scm' (scm is PTXDIST_VERSION_CFG_SCM), for example: '2010.01.0-git' for modifies i.e. dirty '2010.01.0' release. Further we don't no longer modify the "*/ptxdist-version.in.in", we use the kconfig 'option env="VAR"' to get the correct version from the environment. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>