summaryrefslogtreecommitdiffstats
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* ptxdist: use the actual realpath as soon as possibleMichael Olbrich2021-07-161-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kconfig: update to v5.11-rc3Michael Olbrich2021-01-221-21/+1
| | | | | | | | | | | | | | | | | | Rework the entire buildsystem. The Makefiles upstream has changed completely so there is no need stick to anything that resembles the old kernel Makefile. So clean it up and use autoconf to fill in the variables from configure. Use only pkg-config to find ncurses. This should work on all Linux distributions. There was a report about problems with ncurses instead of ncursesw, so use the later if it's available. Drop anything qconf and gconf releated. We never built that anyways. Always generate the parser code. Linux has been doing this for some time now and it works just fine there. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: fix man page generationptxdist-2020.07.0Michael Olbrich2020-07-031-1/+1
| | | | | | | ref_parameter.inc was renamed to ref_parameter.rst. Update the man page generation to use the new file name. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Python handling was changes in the past, so remove a leftover as wellJuergen Borleis2020-04-011-1/+0
| | | | | | | | | | | | | | In commit a1a8045112e06d5b15869c60ce4b70056c020666 "remove hard dependency on Python2" the handling of the external Python component was changed and a substitution removed from configure.ac - but the 'Makefile.in' still uses the PYTHON symbol and creates a strange softlink now. Remove that. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Message-Id: <202003300907.01952.jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile: overwrite existing man-page fileMichael Olbrich2019-02-191-1/+1
| | | | | | Without this, gzip will ask before overwriting the file. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile: install .doneMichael Olbrich2018-12-111-1/+0
| | | | | | | | | This is a partial revert of commit 98ea4609fd2baad35f6a6984713451c6818a5ddf ("Makefile: don't install .done, .gitignore and vim swap files"). .done is uses as a sanity check that PTXdist is actually built. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile: don't install .done, .gitignore and vim swap filesRoland Hieber2018-11-171-0/+3
| | | | | | | | | .done is created by make all, and is an empty file. .gitignore is only reasonable in git repositories, and we exclude .git/. vim swap files happen sometimes (e.g. when editing the makefile). Signed-off-by: Roland Hieber <rohieb@rohieb.name> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: Use pkg-config for ncurses detectionClemens Gruber2017-11-161-0/+1
| | | | | | | | | | | Use pkg-config to detect ncurses instead of AC_SEARCH_LIBS. We still have a --with-ncurses option to prepend the search path of the ncurses headers. The CFLAGS from pkg-config are always appended, as they not only contain -I but also -D flags. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: fix manpage rule to report errors from RST2MANMichael Olbrich2017-09-041-2/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: fix installing if sphinx-build is not foundMichael Olbrich2016-06-231-1/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: fix man-page buildingptxdist-2016.06.0Michael Olbrich2016-06-221-1/+1
| | | | | | doc/ref_parameter.rst was renamed to doc/ref_parameter.inc Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add support for BSP specific documentationMichael Olbrich2016-06-201-8/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: rename files to avoid warningsMichael Olbrich2016-06-201-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: fix 'make dist'ptxdist-2015.12.0Michael Olbrich2015-12-181-1/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* generate basic man-pageMichael Olbrich2015-12-031-1/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* docs: extract ptxdist version when building the documentationMichael Olbrich2015-12-031-1/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Sphinx-Build: it makes no sense to build the docs parallelJuergen Borleis2015-12-031-1/+1
| | | | | | And also hangs some times if one tries to do it parallel. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* Add documentation supportJuergen Borleis2015-12-031-0/+5
| | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* make dist: tar --owner=0 --group=0Jon Ringle2015-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I have PowerBroker installed on my Ubuntu so that my machine is part of our corporate Active Directory. A side effect of that is that the UID/GID values are quite large and tar doesn't like it: preparing PTXdist environment ... done tar xf "ptxdist-2015.01.0_GP.tar" echo -n "2015.01.0_GP" > "ptxdist-2015.01.0_GP/.tarball-version" cd "ptxdist-2015.01.0_GP" && ./autogen.sh tar -rf "ptxdist-2015.01.0_GP.tar" \ "ptxdist-2015.01.0_GP/configure" \ "ptxdist-2015.01.0_GP/.tarball-version" tar: value 1432897037 out of uid_t range 0..2097151 tar: value 1432897037 out of uid_t range 0..2097151 tar: Exiting with failure status due to previous errors make: *** [dist] Error 2 The git archive produces a tar archive with UID/GID of 0/0, so it seems reasonable that the extra files being append should also be 0/0. Signed-off-by: Jon Ringle <jringle@gridpoint.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add '--auto-version' and helper scriptMichael Olbrich2014-06-201-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: search for GNU lnAndreas Bießmann2014-04-211-0/+1
| | | | | | | | | Commit e9b63339f6377df5d15feb4bd0685bb49a675593 broke ptxdist on machines with BSD ln in $PATH. The introduced -T switch is not known to BSD variant and therefore the ln command stops with error. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: search for GNU mktempAndreas Bießmann2014-04-211-0/+1
| | | | | | | | | | | | | | | | | | | | Commit d35a034a99d4bd6053dfe4bd9b1e2169b951430e broke ptxdist on machines with BSD mktemp in $PATH. The introduced -t switch is different in BSD variants and therefore the resulting path is somethink like ---8<--- % mktemp -t -d ptxdist.XXXXXX /var/folders/mp/g80tgyd55bbc9vqjp9zd20600000gp/T/-d.bQehko2k ptxdist.gaZrCM --->8--- which is obviously wrong. Prevent that by providing always the GNU mktemp variant in $PATH. Also remove the now redundant check for installed mktemp. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: don't use 'xargs -r', it's a GNU extensionMichael Olbrich2012-12-121-1/+1
| | | | | | | | xargs -r (don't execute the command with no arguments) is not supported by non-GNU xargs implementations (e.g. on Mac OS). Instead we call 'rm -f' which ignores the empty file list. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Make: ensure the GNU make is always foundJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Bash: ensure the bash is always foundJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'tty' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Find: ensure the 'file' command is always foundJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'xargs' is from findutils. So, handle it like all other findutils toolsJuergen Beisert2012-06-131-1/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'cat' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'dirname' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'sort' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> 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-0/+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>
* configure.ac: Check for GNU findBernhard Walle2012-04-081-0/+1
| | | | | | | | | | | | One of the specialities of GNU find over BSD find is that you can omit the path before providing options. This means that "find -name bla" is equivalent with "find . -name bla". Busybox exposes that behaviour. So check for GNU find to be on the safe side, and also add the symlink in the installation directory once we found it. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: Check for GNU readlinkBernhard Walle2012-03-131-0/+1
| | | | | | | | | | | | | | | | 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>
* Makefile.in: Create symlink for xargsBernhard Walle2012-03-131-0/+1
| | | | | | | | We check for a xargs binary that supports the '-r' flag, so put the usual symlink into the bin directory once we have found a proper implementation. Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
* configure.ac: Check for GNU tarBernhard Walle2012-03-061-1/+1
| | | | | | | | | | | | | ptxd_make_world_extract uses the option --remove-files which is a GNU extension to tar. Because GNU tar is not in GNU coreutils, I changed the GNU_COREUTILS macro to GNU_TOOL and added a second parameter: the package where the tool is found. I think that's better than providing a new macro just for GNU tar. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: Check for GNU mknodBernhard Walle2012-03-061-0/+1
| | | | | | | | We need that because scripts/lib/ptxd_make_xpkg_pkg.sh uses the -m parameter of mknod which doesn't exist in BSD mknod. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU mkdir checkAndreas Bießmann2012-02-081-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: rearrange environment in alphabetical orderAndreas Bießmann2012-01-191-3/+3
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: add link to working tarAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU chown checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU stat checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU rmdir checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU install checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU coreutils version of cpAndreas Bießmann2012-01-041-0/+1
| | | | | | | Some places require GNU version of cp, add a link to sufficient version. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* don't call rm for nothingMichael Olbrich2011-12-051-1/+1
| | | | | | | | | This fixes the following error when running "make clean": rm: missing operand Try `rm --help' for more information. make: *** [clean] Error 123 Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile.in: cleanup the environment stuffMichael Olbrich2011-12-021-15/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add python to environmentAndreas Bießmann2011-12-021-0/+2
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add awk to environmentAndreas Bießmann2011-12-021-0/+2
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: add check for GNU coreutilsAndreas Bießmann2011-12-021-1/+8
| | | | | | | | | Some scripts require GNU coreutils (especially the -- argument split is problematical on some BSD systems). This patch adds a macro to detect GNU coreutils version of these tools. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>