aboutsummaryrefslogtreecommitdiffstats
path: root/include/prereq-build.mk
Commit message (Collapse)AuthorAgeFilesLines
* prereq: stop relying on man pages and grep for --recursive on the ↵Felix Fietkau2016-03-051-1/+1
| | | | | | | | git-submodule script directly (fixes #21968) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix git prereq check to forcibly disable man pagers on the --help checkFelix Fietkau2016-03-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix git prereq check to not rely on being in a git directory (#21968)Felix Fietkau2016-03-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: improve git submodule handling for packagesFelix Fietkau2016-02-291-2/+2
| | | | | | | | | | | | | | | | | | | Move the `--recursive` switch from `git clone` to `git submodule` so that submodules are cloned for upstream branches where the PKG_SOURCE_VERSION commit-ish has a different .gitmodules configuration than the repository default. This is, for example, required when the master branch for a source package does not use submodules, but its topic branch for OpenWRT does. This changes the buildroot dependency from git-1.6.2 to git 1.7.12.2, which was released September 2012. Signed-off-by: Darik Horn <dajhorn@vanadac.com> Signed-off-by: Karl Palsson <karlp@tweak.net.au> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support LibreSSL as provider of opensslFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | | | The build scripts check for openssl by grepping the string "OpenSSL" in the output of openssl version command. LibreSSL fails this test as it outputs something like "LibreSSL 2.2.4". This patch fix the prereq-bulid.mk file so that it accepts LibreSSL as openssl provider as well. Signed-off-by: Marek Behun <kabel@blackhole.sk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use host cflags/ldflags for openssl prereq checkFelix Fietkau2015-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: test availability of Perl Thread::Queue moduleJo-Philipp Wich2015-09-291-0/+4
| | | | | | | | This is needed for building automake. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: test for static zlib availabilityJo-Philipp Wich2015-09-161-2/+8
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: accept apple llvm as fallback for gcc/g++Felix Fietkau2015-02-071-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: fix prereq tests for perl and file (#18911)Jo-Philipp Wich2015-02-061-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: rework git prereq test to not require 'man'Jo-Philipp Wich2015-02-061-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove static tool linking supportJo-Philipp Wich2015-02-061-18/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: set shell to "sh" for prereq testsJo-Philipp Wich2015-02-051-0/+1
| | | | | | | | | Bash is not guaranteed to be present, e.g. on a fresh FreeBSD install so perform prereq tests with /bin/sh. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: prereq-build.mk: use TestHostCommand and SetupHostCommandJo-Philipp Wich2015-02-051-150/+123
| | | | | | | | | Also move tests from tools/Makefile and include/host.mk here to have all tests in a central place. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: rename the openssl check to libssl, add back the old check - ↵Felix Fietkau2014-10-201-3/+7
| | | | | | | | it is required after all Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: replace the openssl command check with a check for headersFelix Fietkau2014-10-201-2/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: clarify the file prereq check messageFelix Fietkau2014-04-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a prereq check for file (#15692)Felix Fietkau2014-04-241-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add package signing infrastructureSteven Barth2013-10-021-0/+4
| | | | | | | | | | | | | Add package signing key and certificate configuration options to the "Image configuration" submenu. If enabled, the Packages.gz list will be signed as file Packages.sig. The passphrase for the signing key can be sourced from a file or entered by the user. The signing certificate is automatically added to the firmware image if opkg-smime is selected. Signed-off-by: Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "prereq-build: check for "bc" (#13767)"Florian Fainelli2013-07-011-4/+0
| | | | | | | | | Makes all buildbot builds fail; until we get the right software installed, revert this changeset. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: check for "bc" (#13767)Florian Fainelli2013-06-301-0/+4
| | | | | | | | | bc is required by the kernel to compute timeconsts files, add bc to the list of prereq to build OpenWrt. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: BSD compile fixesFelix Fietkau2013-03-071-5/+3
| | | | | | | | | | | | | | | | following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] prereq-build.mk: do not perform static linking tests on DarwinJo-Philipp Wich2012-08-121-15/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] add remaining missing build prereq checksJo-Philipp Wich2012-08-111-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] add a build preeq check for glibc-staticJo-Philipp Wich2012-08-101-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: flex is built in tools/ - do not require it to be installed on ↵Felix Fietkau2012-06-071-4/+0
| | | | | | the host git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] Add git version check to prerequisite check (#11229)Vasilis Tsiligiannis2012-04-061-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] Fix typo in GNU Make prereq checkVasilis Tsiligiannis2012-04-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add git (git-core) as a prerequisite (#8866)Florian Fainelli2011-02-141-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* set the umask in toplevel.mk instead of forcing the user to adjust itFelix Fietkau2010-10-141-7/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] add a prereq check for umask 0022, other settings will result in ↵Jo-Philipp Wich2010-10-141-0/+7
| | | | | | broken packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix gnu find prereq checkFelix Fietkau2010-04-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix source file vs library order in a few prereq checks (#4326)Felix Fietkau2009-04-091-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ooops, m4 is already part of the host toolsRalph Hempel2009-03-251-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added m4 to prereq check, thanks to GerphRalph Hempel2009-03-251-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove autoconf from prereq-build.mk, as it is part of the tools/ buildFelix Fietkau2009-03-161-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Bison is not a prerequirement since it's build as part of the openwrt toolchain.Lars-Peter Clausen2009-03-161-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* improve support for building on mac os x by improving detection of missing ↵Felix Fietkau2009-01-251-0/+14
| | | | | | components git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add prereq check for extended getopt (#3944)Felix Fietkau2008-09-021-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add prereq check for pythonFelix Fietkau2008-08-041-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add prereq check for gnu findFelix Fietkau2007-12-111-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enforce gnu make >= 3.81 now. it has become too annoying to work around bugs ↵Felix Fietkau2007-12-041-5/+1
| | | | | | in 3.80 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prefer http downloads over svn/git checkouts, remove git dependencyFelix Fietkau2007-11-161-8/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add git checkout supportFelix Fietkau2007-11-161-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add better working-g++ check (patch from #2017)Felix Fietkau2007-07-231-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert bogus changeFelix Fietkau2007-06-031-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* quilt is now a preriquisiteFlorian Fainelli2007-06-031-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert find | xargs => find | exec changes - this is completely unnecessary ↵Felix Fietkau2007-04-121-8/+0
| | | | | | and introduces additional dependencies that we do not need git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq check for find -exec +Mike Baker2007-04-121-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6940 3c298f89-4303-0410-b956-a3cf2f4a3e73