Luka Perkov
a4a0fa62d6
include: remove trailing whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:29:18 +00:00
Felix Fietkau
d09ab54291
build: accept apple llvm as fallback for gcc/g++
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 10:07:31 +00:00
Jo-Philipp Wich
65180dee3d
include: fix prereq tests for perl and file ( #18911 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 17:38:54 +00:00
Jo-Philipp Wich
07e19452d8
include: rework git prereq test to not require 'man'
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:50:08 +00:00
Jo-Philipp Wich
875eefa24c
include: remove static tool linking support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:47 +00:00
Jo-Philipp Wich
e47a17f901
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:39 +00:00
Jo-Philipp Wich
87511c86a7
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:12 +00:00
Felix Fietkau
a9160b7360
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:23:55 +00:00
Felix Fietkau
1ce5222054
prereq-build: replace the openssl command check with a check for headers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:17:56 +00:00
Felix Fietkau
c6f5b5b440
build: clarify the file prereq check message
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-24 19:41:57 +00:00
Felix Fietkau
ed2d5abe9e
build: add a prereq check for file ( #15692 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-24 19:28:11 +00:00
Steven Barth
414c5be62b
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 12:12:10 +00:00
Florian Fainelli
32cba69018
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-01 17:57:09 +00:00
Florian Fainelli
01b743384d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 17:14:47 +00:00
Felix Fietkau
cf3d83fe4a
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 17:32:29 +00:00
Jo-Philipp Wich
e51c7c8ba1
[include] prereq-build.mk: do not perform static linking tests on Darwin
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:28 +00:00
Jo-Philipp Wich
e3377b48d1
[include] add remaining missing build prereq checks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 00:05:18 +00:00
Jo-Philipp Wich
727a3dd0fa
[include] add a build preeq check for glibc-static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 23:35:20 +00:00
Felix Fietkau
2e99625953
prereq-build: flex is built in tools/ - do not require it to be installed on the host
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 16:39:33 +00:00
Vasilis Tsiligiannis
ac41ff5540
[include] Add git version check to prerequisite check ( #11229 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 12:05:59 +00:00
Vasilis Tsiligiannis
7c676e7e91
[include] Fix typo in GNU Make prereq check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 11:44:13 +00:00
Florian Fainelli
55828c1960
add git (git-core) as a prerequisite ( #8866 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-14 15:06:11 +00:00
Felix Fietkau
081e19e380
set the umask in toplevel.mk instead of forcing the user to adjust it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 15:53:47 +00:00
Jo-Philipp Wich
e97eede58b
[include] add a prereq check for umask 0022, other settings will result in broken packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 14:25:29 +00:00
Felix Fietkau
934a788454
fix gnu find prereq check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 20:42:09 +00:00
Felix Fietkau
fff08c0fc1
fix source file vs library order in a few prereq checks ( #4326 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 21:13:15 +00:00
Ralph Hempel
2383666947
ooops, m4 is already part of the host tools
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 20:17:33 +00:00
Ralph Hempel
4182dc4f75
added m4 to prereq check, thanks to Gerph
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 19:51:32 +00:00
Felix Fietkau
141b4fbe83
remove autoconf from prereq-build.mk, as it is part of the tools/ build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 18:57:34 +00:00
Lars-Peter Clausen
baf558e318
Bison is not a prerequirement since it's build as part of the openwrt toolchain.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 18:54:35 +00:00
Felix Fietkau
62a6e10227
improve support for building on mac os x by improving detection of missing components
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 19:00:43 +00:00
Felix Fietkau
3d3798ce2c
add prereq check for extended getopt ( #3944 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:14 +00:00
Felix Fietkau
6b09c216eb
add prereq check for python
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 23:59:18 +00:00
Felix Fietkau
6510d71bc7
add prereq check for gnu find
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-11 22:28:10 +00:00
Felix Fietkau
7d175ee6fb
enforce gnu make >= 3.81 now. it has become too annoying to work around bugs in 3.80
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-04 03:00:29 +00:00
Felix Fietkau
cff9b75e6a
prefer http downloads over svn/git checkouts, remove git dependency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 04:10:01 +00:00
Felix Fietkau
6fe9aab05a
add git checkout support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:10:40 +00:00
Felix Fietkau
41dc41e96e
add better working-g++ check (patch from #2017 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:56:30 +00:00
Felix Fietkau
ae51b57add
revert bogus change
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 19:43:52 +00:00
Florian Fainelli
7ea90b0aef
quilt is now a preriquisite
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 16:48:28 +00:00
Felix Fietkau
1cabba028e
revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 19:18:38 +00:00
Mike Baker
9767c1a7e0
prereq check for find -exec +
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 18:17:38 +00:00
Florian Fainelli
cbb4b95786
Typo, nice
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 11:42:31 +00:00
Florian Fainelli
d7b1b0655d
Add gawk as a preriquisite (needed for ramdisk images)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 11:42:00 +00:00
Felix Fietkau
8c1649f53c
add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 18:13:54 +00:00
Felix Fietkau
4e1ac9d33d
add a prereq check for autoconf
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-24 00:03:05 +00:00
Felix Fietkau
1628ad2a55
remove python prereq check - no longer necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-20 00:31:06 +00:00
Felix Fietkau
1b8b054bfc
fix another build error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 02:41:59 +00:00
Felix Fietkau
f2f5ea9f97
add prereq check for case-sensitive filesystem
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 11:23:23 +00:00
Felix Fietkau
08f64db183
add prereq check for wget
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-13 23:36:43 +00:00