summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* ptxdist: accept the long option --keep-goingMichael Olbrich2012-10-281-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add 'image' command do build individual imagesMichael Olbrich2012-10-151-0/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add compiler check for 'nfsroot'Michael Olbrich2012-09-141-0/+1
| | | | | | we may need to build something here Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add command to export the nfsroot with a userspace nfsdMichael Olbrich2012-09-121-0/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add documentation for --verbose optionMarc Kleine-Budde2012-08-011-0/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* ptxdist: add --verbose option and start using itMichael Olbrich2012-07-291-1/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: try to keep PTXDIST_PLATFORMCONFIGDIR relative to PTXDIST_WORKSPACEMichael Olbrich2012-07-031-1/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Core CPU count detection: do not rely on a fixed path to the 'sysctl' toolJuergen Beisert2012-06-131-1/+1
| | | | | | | | Using a fix path is a bad idea. Lets 'configure' search for the tool and use it as is. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: support multiple targets per commandMarc Kleine-Budde2012-06-121-28/+51
| | | | | | | | | | | | | Without this patch ptxdist supports only one target per command. With this patch, ptxdist supports multiple targets, e.g.: ptxdist clean libpcap tcpdump or ptxdist targetinstall kernel ncurses Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Honor the Barebox bootloaderJuergen Beisert2012-06-021-0/+2
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: Check for GNU readlinkBernhard Walle2012-03-131-1/+21
| | | | | | | | | | | | | | | | ptxdist heavily uses "readlink -f" which only works with GNU readlink. So add the usual check here. However, because "readlink -f" is also used before the symlinks in the ptxdist directory is added to the PATH, that "readlink -f" call is replaced by a bash-only implementation. This one is inspired from http://mailman.archlinux.org/pipermail/pacman-dev/2009-February/008130.html. Tested on Mac OS 10.7. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> [mol: fixed some more quoting] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: fix "environment variable PTXDIST_DEP_TARGET undefined"Michael Olbrich2012-03-131-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: use install to create directoriesMichael Olbrich2012-02-081-5/+5
| | | | | | | This way we also set the specified permissions for created parent directories Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Support reading number of CPUs on Darwin and BSDsBernhard Walle2012-01-251-1/+3
| | | | | | | Tested on Mac OS 10.7 (Lion). Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Setup vim folding in the logfile automaticallyBernhard Walle2012-01-231-0/+3
| | | | | | | | | | | | | | | | | | | This patch adds the modeline # vim: set fdm=marker fdl=1: to the Logfile. There's already a modeline for Emacs in the file, so it shouldn't be too annoying for users that don't use vim. The first setting tells vim to recognize the fold markers '{{{' and '}}}' in the logfile (which doesn't have any file type in vim). However, with this setting vim automatically closes all folds, including the first '{{{' which only is for Emacs. That's why I add fdl=1, which results in vim opening the file visible one fold per ptxdist run. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 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>