summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* [ptxdist] refuse to targetinstall host- or cross- packagesMarc Kleine-Budde2009-10-221-3/+22
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] add fallback for toolchainsMarc Kleine-Budde2009-08-291-0/+7
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] clean up config file fallback handlingMarc Kleine-Budde2009-08-291-6/+15
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] move toolchain guessing into seperate functionMarc Kleine-Budde2009-08-291-63/+80
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] during select use _DEFAULT als target of link, to plain config fileMarc Kleine-Budde2009-08-281-1/+1
| | | | | | | | | | | | | | fixes commit this problem introducted in 19d9bb1543fe77dfe8d11cba5ebc30f1b91a6348: [frogger@hardanger:OSELAS.BSP-Pengutronix-Visbox-ng-trunk]$ ptxdist select configs/ptxconfig error: '/home/frogger/pengutronix/bsp/OSELAS.BSP-Pengutronix-Visbox-ng-trunk/configs/ptxconfig' is not a link. This is mostly not critical, as it usually means that ptxconfig is not selectable in this project. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] add fallback if selected_platformconfig is missing for BSPs with ↵Michael Olbrich2009-08-241-0/+5
| | | | | | | | | one platform Selecting a non-existing platform config with '--platformconfig=' or a broken selected_platformconfig link will still fail. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] add fallback to configs/ptxconfig if selected_ptxconfig does not ↵Michael Olbrich2009-08-241-0/+6
| | | | | | | | | exist. Selecting a non-existing config with '--ptxconfig=' or a broken selected_ptxconfig link will still fail. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] allow menuconfig even if production location is unsetMarc Kleine-Budde2009-08-171-9/+34
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] fix "ptxdist -k" featureMarc Kleine-Budde2009-08-101-3/+5
| | | | | | | | | | Using an array for make's args prevents to let space slip into the args, which confuses make. $ ptxdist -k go make: *** No rule to make target ` -k'. Stop. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] add support for building a production releaseMarc Kleine-Budde2009-08-071-6/+25
| | | | | | | In production releases the platform will be placed outside of the workspace, e.g. in /opt. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] support late logfile creation if logdir is not inside workspaceMarc Kleine-Budde2009-08-061-3/+14
| | | | | | | | If the logdir lies outside of the workspace it might not be created without root privileges. So we defer it, the logdir will be created later by the sudo helper. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [ptxdist] create PTXDIST_PLATFORMDIR with sudo supportMarc Kleine-Budde2009-08-061-42/+39
| | | | | | | | This patch add support for platformdir pointing to locations which are not writable in the frist place. This feature is needed for production releases, see next patches. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [template] add cmake prog templateMichael Olbrich2009-08-031-0/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxdist] remove "." from the path instead of bailing outMarc Kleine-Budde2009-07-171-11/+2
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10970 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] add PTX_AUTOBUILD_DESTDIR to environment whitelistMarc Kleine-Budde2009-06-281-1/+1
| | | | | | | | the toolchain uses PTX_AUTOBUILD_DESTDIR, so whitelist it Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10886 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] releax version check for toolchain projectMarc Kleine-Budde2009-06-281-10/+15
| | | | | | | | | | The toolchain project is a bit more relaxed, can be build with current ptxdist releases, too. So switch back to old version check for the toolchain project. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10885 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] don't fail if config files don't define certain symbolsMarc Kleine-Budde2009-06-171-3/+4
| | | | | | | | | | | | | | | | This patch fixes the commit git: 0f0daf95ab605fe17d02d8daf214abf467d42549 svn: 10807 wich introduced a bug, so that projects with one of these symbols ("PTXCONF_PLATFORM, PTXCONF_PROJECT, PTXCONF_PROJECT_VERSION") missing cannot be build. Reported-by: Erwin Rol <erwin@erwinrol.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10811 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] fail propperly if config files contain garbageMarc Kleine-Budde2009-06-161-4/+6
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10807 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] better error handlingMarc Kleine-Budde2009-06-161-22/+22
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10806 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] do a "check_premake" before a get ruleMarc Kleine-Budde2009-06-161-14/+17
| | | | | | | | | check_premake will create the download dir, a missing one will procude funny error messages during download. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10805 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] config file and ptxdist version must matchMarc Kleine-Budde2009-06-161-0/+14
| | | | | | | | as long as we're not stable, ptxdist and config file versions must match Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10804 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] "migrate" enables --force automaticallyMarc Kleine-Budde2009-06-161-0/+2
| | | | | | | | in order to migrate from one version to another --force is needed. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10803 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] rename check_premake check_premake_compilerMarc Kleine-Budde2009-06-161-6/+6
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10798 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist_vars] namespace cleanup: PTX_LIBDIR -> PTXDIST_LIB_DIRMarc Kleine-Budde2009-06-141-0/+1
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10771 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] cleanup usage of "local" for non globar varsMarc Kleine-Budde2009-06-141-7/+5
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10769 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] provide sane error message if user uses an invalid package nameMarc Kleine-Budde2009-06-141-4/+10
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10764 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] fix environment whitelist featureMarc Kleine-Budde2009-06-141-2/+2
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10763 33e552b5-05e3-0310-8538-816dae2090ed
* stellaris: add template for stellaris projectsRobert Schwebel2009-06-121-0/+7
| | | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10755 33e552b5-05e3-0310-8538-816dae2090ed
* newpacket: fix existing-target decisionRobert Schwebel2009-06-121-2/+3
| | | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10754 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] newpacket: fix target cross host caseRobert Schwebel2009-06-101-1/+1
| | | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10736 33e552b5-05e3-0310-8538-816dae2090ed
* kernel driver template: addedRobert Schwebel2009-06-101-4/+5
| | | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10732 33e552b5-05e3-0310-8538-816dae2090ed
* ptxdist: fix newpacket sanity checkRobert Schwebel2009-06-101-8/+7
| | | | | | | | | | | The sanity check for 'ptxdist newpacket' was recently changed to work from a workspace; fix it to also work from a ptxdist toplevel directory. In contrast to the old implementation, don't run this command from a rules/ directory any more. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10731 33e552b5-05e3-0310-8538-816dae2090ed
* generate autoconf cache in PTXDIST_GEN_CONFIG_DIR for host and targetMarc Kleine-Budde2009-06-101-2/+0
| | | | | | | | just an empty cache for now Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10697 33e552b5-05e3-0310-8538-816dae2090ed
* [dgen] added post install stage infrastructureMarc Kleine-Budde2009-06-101-3/+4
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10695 33e552b5-05e3-0310-8538-816dae2090ed
* templates: fix wizard nameRobert Schwebel2009-06-101-2/+2
| | | | | | | | | Fix typo in shell wizard name. Reported-by: Jochen Frieling <j.frieling@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10692 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] simplify first stage parser error handlingMarc Kleine-Budde2009-06-101-5/+5
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10685 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] make menu more dynamicMarc Kleine-Budde2009-06-101-13/+16
| | | | | | | | kernel and platformconfig are now dynamic, too Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10684 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] tidy up environment by defaultMarc Kleine-Budde2009-06-091-16/+37
| | | | | | | | | | | With this commit ptxdist clears the environment before starting. Use "ptxdist setup" -> "Developer Options" -> "environment variable whitelist" to specify a list of space seperated variables to preserve. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10669 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] simplify error handling in parser and mainMarc Kleine-Budde2009-06-091-39/+47
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10668 33e552b5-05e3-0310-8538-816dae2090ed
* * ptxdist: only show u-boot-v2 in the menu if it is selectedWolfram Sang2009-06-091-2/+6
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10665 33e552b5-05e3-0310-8538-816dae2090ed
* Rework template generationRobert Schwebel2009-06-091-34/+132
| | | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10657 33e552b5-05e3-0310-8538-816dae2090ed
* ptxd_abspath may fail, add sane error messageRobert Schwebel2009-06-081-5/+5
| | | | | | | | | | If the path given to ptxd_abspath() contains a slash, but a part of the path does not exist, no sane error message was given. Fix and test all ptxd_abspath calls for failure. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10643 33e552b5-05e3-0310-8538-816dae2090ed
* add variable PTXDIST_GEN_CONFIG_DIRMarc Kleine-Budde2009-05-311-0/+1
| | | | | | | | | | | | | | introduced variable pointing to directory where generated config files should be stored. to be more precise, config files, that are interesting not only in ptxdist, e.g.: - gdbinit - toolchain.cmake this directory is created automatically by ptxdist Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10618 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] added feature requested by molMarc Kleine-Budde2009-05-291-0/+6
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10613 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] fix typo: unset PTXDIST_FORCE_DOWNLOADMarc Kleine-Budde2009-05-271-1/+1
| | | | | | | Reported-by: Jon Ringle <jon@ringle.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10576 33e552b5-05e3-0310-8538-816dae2090ed
* [setup] add feature to disable downloadsMarc Kleine-Budde2009-05-271-1/+7
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10574 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] propagate failures properly to shellMarc Kleine-Budde2009-04-051-15/+15
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10223 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] fix space in path problem during selectMarc Kleine-Budde2009-03-271-1/+1
| | | | | | | | | | | | | For unspeakable reasons, I was running OSELAS Toolchain inside a path containing a space: /Volumes/Disk Image/ ptxdist was _sad_ spotted by: Jesse Vincent Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10177 33e552b5-05e3-0310-8538-816dae2090ed
* [ptxdist] missing PTXCONF_PLATFORMCONFIG_VERSION, let --force workMarc Kleine-Budde2009-03-021-7/+2
| | | | | | | | | With this patch "--force" works as expected, if the platformconfig is missing the "PTXCONF_PLATFORMCONFIG_VERSION" symbol. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9898 33e552b5-05e3-0310-8538-816dae2090ed
* [fix-permissions] reworked fix-permissionsMarc Kleine-Budde2009-03-011-2/+3
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9893 33e552b5-05e3-0310-8538-816dae2090ed