Felix Fietkau
1f826e8992
Support LibreSSL as provider of openssl
...
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>
SVN-Revision: 48267
9 years ago
Felix Fietkau
9e670fcf9d
build: use host cflags/ldflags for openssl prereq check
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47138
9 years ago
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
9 years ago
Jo-Philipp Wich
90daa0d361
prereq-build: test for static zlib availability
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46976
9 years ago
Luka Perkov
7002f6326e
include: remove trailing whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45127
10 years ago
Felix Fietkau
834417623d
build: accept apple llvm as fallback for gcc/g++
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44298
10 years ago
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
10 years ago
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
10 years ago
Jo-Philipp Wich
971ec0283c
include: remove static tool linking support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44286
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau
a6f734ed99
build: clarify the file prereq check message
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40569
11 years ago
Felix Fietkau
8306b55862
build: add a prereq check for file ( #15692 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40568
11 years ago
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
11 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Jo-Philipp Wich
095fe8743b
prereq-build.mk: do not perform static linking tests on Darwin
...
SVN-Revision: 33139
12 years ago
Jo-Philipp Wich
67edc7ec63
add remaining missing build prereq checks
...
SVN-Revision: 33122
12 years ago
Jo-Philipp Wich
a996cc1444
add a build preeq check for glibc-static
...
SVN-Revision: 33121
12 years ago
Felix Fietkau
7b11052092
prereq-build: flex is built in tools/ - do not require it to be installed on the host
...
SVN-Revision: 32116
13 years ago
Vasilis Tsiligiannis
c56da13854
Add git version check to prerequisite check ( #11229 )
...
SVN-Revision: 31214
13 years ago
Vasilis Tsiligiannis
f37ce3fad3
Fix typo in GNU Make prereq check
...
SVN-Revision: 31213
13 years ago
Florian Fainelli
beb132b140
add git (git-core) as a prerequisite ( #8866 )
...
SVN-Revision: 25536
14 years ago
Felix Fietkau
5e3284ecfd
set the umask in toplevel.mk instead of forcing the user to adjust it
...
SVN-Revision: 23445
14 years ago
Jo-Philipp Wich
c11586a203
add a prereq check for umask 0022, other settings will result in broken packages
...
SVN-Revision: 23442
14 years ago
Felix Fietkau
8149815189
fix gnu find prereq check
...
SVN-Revision: 21078
15 years ago
Felix Fietkau
4e49486b3c
fix source file vs library order in a few prereq checks ( #4326 )
...
SVN-Revision: 15181
16 years ago
Ralph Hempel
e2c9a02b16
ooops, m4 is already part of the host tools
...
SVN-Revision: 15044
16 years ago
Ralph Hempel
1744ca64f2
added m4 to prereq check, thanks to Gerph
...
SVN-Revision: 15043
16 years ago
Felix Fietkau
1c7a03659c
remove autoconf from prereq-build.mk, as it is part of the tools/ build
...
SVN-Revision: 14901
16 years ago
Lars-Peter Clausen
cd53668352
Bison is not a prerequirement since it's build as part of the openwrt toolchain.
...
SVN-Revision: 14900
16 years ago
Felix Fietkau
ca8486a632
improve support for building on mac os x by improving detection of missing components
...
SVN-Revision: 14180
16 years ago
Felix Fietkau
a7d856c4ce
add prereq check for extended getopt ( #3944 )
...
SVN-Revision: 12491
16 years ago
Felix Fietkau
86f5eb449c
add prereq check for python
...
SVN-Revision: 12110
17 years ago
Felix Fietkau
5de58125bd
add prereq check for gnu find
...
SVN-Revision: 9710
17 years ago
Felix Fietkau
b217ebd0e6
enforce gnu make >= 3.81 now. it has become too annoying to work around bugs in 3.80
...
SVN-Revision: 9654
17 years ago
Felix Fietkau
5a9cdef549
prefer http downloads over svn/git checkouts, remove git dependency
...
SVN-Revision: 9567
17 years ago
Felix Fietkau
224760dee7
add git checkout support
...
SVN-Revision: 9553
17 years ago
Felix Fietkau
1883949d79
add better working-g++ check (patch from #2017 )
...
SVN-Revision: 8118
18 years ago
Felix Fietkau
6992efe2bb
revert bogus change
...
SVN-Revision: 7482
18 years ago
Florian Fainelli
bec24f113b
quilt is now a preriquisite
...
SVN-Revision: 7480
18 years ago
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
18 years ago
Mike Baker
8857381856
prereq check for find -exec +
...
SVN-Revision: 6940
18 years ago
Florian Fainelli
7cb9801c8b
Typo, nice
...
SVN-Revision: 6826
18 years ago
Florian Fainelli
1377dabf97
Add gawk as a preriquisite (needed for ramdisk images)
...
SVN-Revision: 6825
18 years ago
Felix Fietkau
447b0f537a
add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
...
SVN-Revision: 6747
18 years ago
Felix Fietkau
cf921b2f28
add a prereq check for autoconf
...
SVN-Revision: 5633
18 years ago