Commit Graph

54 Commits

Author SHA1 Message Date
Felix Fietkau
9e670fcf9d build: use host cflags/ldflags for openssl prereq check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47138
2015-10-05 14:11:25 +00:00
Jo-Philipp Wich
9e5db437f2 prereq-build: test availability of Perl Thread::Queue module
This is needed for building automake.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47069
2015-09-29 11:37:10 +00:00
Jo-Philipp Wich
90daa0d361 prereq-build: test for static zlib availability
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46976
2015-09-16 08:44:53 +00:00
Luka Perkov
7002f6326e include: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45127
2015-03-29 07:29:18 +00:00
Felix Fietkau
834417623d build: accept apple llvm as fallback for gcc/g++
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44298
2015-02-07 10:07:31 +00:00
Jo-Philipp Wich
13a0f0d621 include: fix prereq tests for perl and file (#18911)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44296
2015-02-06 17:38:54 +00:00
Jo-Philipp Wich
330fcd48e5 include: rework git prereq test to not require 'man'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44292
2015-02-06 11:50:08 +00:00
Jo-Philipp Wich
971ec0283c include: remove static tool linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44286
2015-02-06 00:00:47 +00:00
Jo-Philipp Wich
5dadc89b3a include: set shell to "sh" for prereq tests
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>

SVN-Revision: 44275
2015-02-05 16:57:39 +00:00
Jo-Philipp Wich
9886084b94 include: prereq-build.mk: use TestHostCommand and SetupHostCommand
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>

SVN-Revision: 44271
2015-02-05 16:57:12 +00:00
Felix Fietkau
549f7d0366 prereq-build: rename the openssl check to libssl, add back the old check - it is required after all
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42999
2014-10-20 09:23:55 +00:00
Felix Fietkau
35b34b20d4 prereq-build: replace the openssl command check with a check for headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42995
2014-10-20 09:17:56 +00:00
Felix Fietkau
a6f734ed99 build: clarify the file prereq check message
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40569
2014-04-24 19:41:57 +00:00
Felix Fietkau
8306b55862 build: add a prereq check for file (#15692)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40568
2014-04-24 19:28:11 +00:00
Steven Barth
cbdd346b11 Add package signing infrastructure
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>

SVN-Revision: 38284
2013-10-02 12:12:10 +00:00
Florian Fainelli
05741a0331 Revert "prereq-build: check for "bc" (#13767)"
Makes all buildbot builds fail; until we get the right software
installed, revert this changeset.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37122
2013-07-01 17:57:09 +00:00
Florian Fainelli
b9831690e4 prereq-build: check for "bc" (#13767)
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>

SVN-Revision: 37108
2013-06-30 17:14:47 +00:00
Felix Fietkau
1f77bfff96 build: BSD compile fixes
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>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Jo-Philipp Wich
095fe8743b prereq-build.mk: do not perform static linking tests on Darwin
SVN-Revision: 33139
2012-08-12 12:34:28 +00:00
Jo-Philipp Wich
67edc7ec63 add remaining missing build prereq checks
SVN-Revision: 33122
2012-08-11 00:05:18 +00:00
Jo-Philipp Wich
a996cc1444 add a build preeq check for glibc-static
SVN-Revision: 33121
2012-08-10 23:35:20 +00:00
Felix Fietkau
7b11052092 prereq-build: flex is built in tools/ - do not require it to be installed on the host
SVN-Revision: 32116
2012-06-07 16:39:33 +00:00
Vasilis Tsiligiannis
c56da13854 Add git version check to prerequisite check (#11229)
SVN-Revision: 31214
2012-04-06 12:05:59 +00:00
Vasilis Tsiligiannis
f37ce3fad3 Fix typo in GNU Make prereq check
SVN-Revision: 31213
2012-04-06 11:44:13 +00:00
Florian Fainelli
beb132b140 add git (git-core) as a prerequisite (#8866)
SVN-Revision: 25536
2011-02-14 15:06:11 +00:00
Felix Fietkau
5e3284ecfd set the umask in toplevel.mk instead of forcing the user to adjust it
SVN-Revision: 23445
2010-10-14 15:53:47 +00:00
Jo-Philipp Wich
c11586a203 add a prereq check for umask 0022, other settings will result in broken packages
SVN-Revision: 23442
2010-10-14 14:25:29 +00:00
Felix Fietkau
8149815189 fix gnu find prereq check
SVN-Revision: 21078
2010-04-21 20:42:09 +00:00
Felix Fietkau
4e49486b3c fix source file vs library order in a few prereq checks (#4326)
SVN-Revision: 15181
2009-04-09 21:13:15 +00:00
Ralph Hempel
e2c9a02b16 ooops, m4 is already part of the host tools
SVN-Revision: 15044
2009-03-25 20:17:33 +00:00
Ralph Hempel
1744ca64f2 added m4 to prereq check, thanks to Gerph
SVN-Revision: 15043
2009-03-25 19:51:32 +00:00
Felix Fietkau
1c7a03659c remove autoconf from prereq-build.mk, as it is part of the tools/ build
SVN-Revision: 14901
2009-03-16 18:57:34 +00:00
Lars-Peter Clausen
cd53668352 Bison is not a prerequirement since it's build as part of the openwrt toolchain.
SVN-Revision: 14900
2009-03-16 18:54:35 +00:00
Felix Fietkau
ca8486a632 improve support for building on mac os x by improving detection of missing components
SVN-Revision: 14180
2009-01-25 19:00:43 +00:00
Felix Fietkau
a7d856c4ce add prereq check for extended getopt (#3944)
SVN-Revision: 12491
2008-09-02 10:57:14 +00:00
Felix Fietkau
86f5eb449c add prereq check for python
SVN-Revision: 12110
2008-08-04 23:59:18 +00:00
Felix Fietkau
5de58125bd add prereq check for gnu find
SVN-Revision: 9710
2007-12-11 22:28:10 +00:00
Felix Fietkau
b217ebd0e6 enforce gnu make >= 3.81 now. it has become too annoying to work around bugs in 3.80
SVN-Revision: 9654
2007-12-04 03:00:29 +00:00
Felix Fietkau
5a9cdef549 prefer http downloads over svn/git checkouts, remove git dependency
SVN-Revision: 9567
2007-11-16 04:10:01 +00:00
Felix Fietkau
224760dee7 add git checkout support
SVN-Revision: 9553
2007-11-16 03:10:40 +00:00
Felix Fietkau
1883949d79 add better working-g++ check (patch from #2017)
SVN-Revision: 8118
2007-07-23 02:56:30 +00:00
Felix Fietkau
6992efe2bb revert bogus change
SVN-Revision: 7482
2007-06-03 19:43:52 +00:00
Florian Fainelli
bec24f113b quilt is now a preriquisite
SVN-Revision: 7480
2007-06-03 16:48:28 +00:00
Felix Fietkau
3e91dd1bd5 revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
SVN-Revision: 6942
2007-04-12 19:18:38 +00:00
Mike Baker
8857381856 prereq check for find -exec +
SVN-Revision: 6940
2007-04-12 18:17:38 +00:00
Florian Fainelli
7cb9801c8b Typo, nice
SVN-Revision: 6826
2007-04-02 11:42:31 +00:00
Florian Fainelli
1377dabf97 Add gawk as a preriquisite (needed for ramdisk images)
SVN-Revision: 6825
2007-04-02 11:42:00 +00:00
Felix Fietkau
447b0f537a add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
SVN-Revision: 6747
2007-03-28 18:13:54 +00:00
Felix Fietkau
cf921b2f28 add a prereq check for autoconf
SVN-Revision: 5633
2006-11-24 00:03:05 +00:00
Felix Fietkau
d28e34c34a remove python prereq check - no longer necessary
SVN-Revision: 5590
2006-11-20 00:31:06 +00:00