Felix Fietkau
8091d3f2e8
kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies
...
SVN-Revision: 33420
2012-09-15 12:16:07 +00:00
Felix Fietkau
be6f437649
build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds
...
SVN-Revision: 33414
2012-09-15 10:21:24 +00:00
Florian Fainelli
6bc394d90f
add sparc specific site files
...
SVN-Revision: 33405
2012-09-14 15:36:41 +00:00
Jo-Philipp Wich
8726a422cd
do not pass optimization flags in HOST_CPPFLAGS ( #12153 )
...
SVN-Revision: 33351
2012-09-09 21:35:42 +00:00
John Crispin
e6e331ca67
unify tapi deps
...
SVN-Revision: 33160
2012-08-13 11:08:13 +00:00
Jo-Philipp Wich
29b91ef01a
introduce a menuconfig option to turn off static linking of host utilities
...
SVN-Revision: 33154
2012-08-13 00:26:34 +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
94a96244f6
host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
...
SVN-Revision: 33138
2012-08-12 12:34:25 +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
John Crispin
370894e594
fix up scons vs ccache
...
SVN-Revision: 32902
2012-07-28 21:06:59 +00:00
John Crispin
584bc13d38
use autoreconf hook instead of manual call
...
SVN-Revision: 32837
2012-07-25 10:34:06 +00:00
John Crispin
8029fefe5c
package-version-override always calls autoreconf
...
make it conditional on the existance of autoreconf
Signed-off-by: Ryan Nowakowski <tubaman@fattuba.com>
SVN-Revision: 32831
2012-07-24 23:07:30 +00:00
Felix Fietkau
b1f318de53
kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
...
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Felix Fietkau
6ae20bf412
scripts/config: build with gcc instead of clang on mac os x
...
SVN-Revision: 32749
2012-07-16 14:14:12 +00:00
Jo-Philipp Wich
ec770abd0d
package-ipkg.mk: flag packages as "ok" after install
...
By flagging compile-time-installed packages as "ok", they can be differentiated
from runtime-installed packages on the target later on.
SVN-Revision: 32739
2012-07-15 19:29:43 +00:00
Jo-Philipp Wich
556864c75b
nls.mk: fix build dependency on gettext ( #11829 )
...
SVN-Revision: 32665
2012-07-11 10:05:00 +00:00
Jo-Philipp Wich
64f5b45d8f
toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes the buildroot up
...
SVN-Revision: 32663
2012-07-11 09:59:06 +00:00
Jo-Philipp Wich
deff2382d0
include/image.mk: /tmp should have mode 1777
...
On the off chance that the root filesystem's /tmp is used directly as a
temporary directory instead of having a tmpfs mounted over it, it should have
the sticky bit set.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 32572
2012-07-01 11:48:54 +00:00
Felix Fietkau
59b384dabe
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
...
SVN-Revision: 32556
2012-06-30 21:43:59 +00:00
Felix Fietkau
cfe79471d1
kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
...
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko
if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:
[ 44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[ 44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)
Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 32434
2012-06-18 23:30:48 +00:00
Florian Fainelli
6de0939c3a
build: allow KERNELNAME to contain multiple kernel make targets
...
SVN-Revision: 32423
2012-06-18 13:20:50 +00:00
John Crispin
0a684babcc
fix ccache related build breakage
...
SVN-Revision: 32421
2012-06-18 08:50:26 +00:00
Jo-Philipp Wich
f9caf1abd1
uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used
...
SVN-Revision: 32383
2012-06-15 12:57:29 +00:00
Felix Fietkau
cf788fc731
build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages
...
SVN-Revision: 32369
2012-06-14 20:26:04 +00:00
Felix Fietkau
3051de8701
build: add a variable for injecting config variable dependencies for the .prepared stamp
...
SVN-Revision: 32368
2012-06-14 20:26:00 +00:00
Felix Fietkau
67e51f1787
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
SVN-Revision: 32358
2012-06-14 18:09:54 +00:00
Jo-Philipp Wich
3b65557db8
package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
SVN-Revision: 32332
2012-06-13 11:42:17 +00:00
Jo-Philipp Wich
d40fe9d24e
autotools.mk: cope with Debian version strings in libtool
...
SVN-Revision: 32207
2012-06-11 21:50:50 +00:00
Felix Fietkau
16a34b222a
package.mk: unexport the QUIET variable, it affects some packages like xapian-bindings
...
SVN-Revision: 32196
2012-06-11 15:07:51 +00:00
Felix Fietkau
6ca6d317b3
build: add checks for missing package dependencies
...
SVN-Revision: 32185
2012-06-11 00:57:36 +00:00
Felix Fietkau
031990cf95
build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on)
...
SVN-Revision: 32172
2012-06-10 20:27:41 +00:00
Felix Fietkau
edee850e18
build: add a dependency on libc to all non-kernel packages
...
SVN-Revision: 32171
2012-06-10 20:27:37 +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
Felix Fietkau
b4b60ab62f
include/netfilter.mk: clean up, remove junk for old kernel versions
...
SVN-Revision: 32114
2012-06-07 16:30:48 +00:00
Felix Fietkau
b50cfbb179
build: add PKG_MIRROR_MD5SUM support for host builds
...
SVN-Revision: 32082
2012-06-06 14:08:47 +00:00
Felix Fietkau
8068562453
build: prevent the environment variable CROSS_COMPILE from leaking into builds ( fixes #11603 )
...
SVN-Revision: 32081
2012-06-06 13:46:00 +00:00
Felix Fietkau
e8ff034c8b
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
...
SVN-Revision: 32079
2012-06-06 13:45:53 +00:00
Jo-Philipp Wich
6cdf25289c
base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>
...
SVN-Revision: 32073
2012-06-05 18:02:00 +00:00
John Crispin
a4d96aae8d
bump to 3.3.8
...
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
John Crispin
b065867cfb
log failed package builds
...
SVN-Revision: 32050
2012-06-04 18:29:29 +00:00
Gabor Juhos
2ae5581447
kernel: update linux 3.3 to 3.3.7
...
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Felix Fietkau
fe99e3c5b5
make: do a better job of sanitizing LD_LIBRARY_PATH ( fixes #8069 )
...
SVN-Revision: 31780
2012-05-17 20:19:43 +00:00
Felix Fietkau
03babf3641
target: add a feature flag for RTC support
...
SVN-Revision: 31777
2012-05-17 15:28:09 +00:00
Felix Fietkau
5eed1d8f6b
enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
...
SVN-Revision: 31730
2012-05-14 23:33:35 +00:00
Gabor Juhos
b472e5d12e
kernel: update linux 3.3 to 3.3.6
...
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Felix Fietkau
85f1a2c67a
add further countermeasures against the git core.autocrlf option ( fixes #9075 )
...
SVN-Revision: 31650
2012-05-08 13:30:54 +00:00
Gabor Juhos
34018a630f
kernel: update linux 3.3 to 3.3.5
...
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Felix Fietkau
352d081266
scons: override the platform instead of using the host one - fixes build issues on non-linux systems
...
SVN-Revision: 31620
2012-05-05 21:02:35 +00:00
Felix Fietkau
f479efbdf4
tools: add scons (patch by Dave Taht)
...
This makes it more possible to build scons based applications
for openwrt.
SVN-Revision: 31618
2012-05-05 17:37:34 +00:00
Gabor Juhos
622146a518
include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
...
This fixes the following errors:
CALL arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
SVN-Revision: 31598
2012-05-05 12:48:35 +00:00
Gabor Juhos
3349cf2691
Fix iptables abuse of kernel header files. Use exported headers instead.
...
[juhosg: export xt_layer7.h for all kernel versions]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
cbfce53831
kernel: update linux 3.3 to 3.3.4
...
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Felix Fietkau
6af6c0ae76
build: fix bad file descriptor issues with the verbosity changes
...
SVN-Revision: 31486
2012-04-26 18:13:17 +00:00
Felix Fietkau
b648860f9c
cmake: add support for V=cs
...
SVN-Revision: 31485
2012-04-26 17:54:03 +00:00
Felix Fietkau
34ffb526a2
build: rework verbosity level selection
...
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:
- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)
SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Mirko Vogt
ea14276046
enable verbose output of kernel build if V=99 is passed
...
append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99
SVN-Revision: 31466
2012-04-24 12:42:57 +00:00
Jonas Gorski
8fd383ae2e
kernel: update linux 3.3 to 3.3.3
...
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Jonas Gorski
22b4e6b882
kernel: update linux 3.2 to 3.2.16
...
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Jo-Philipp Wich
42c190ead8
ensure that profile Makefiles are sourced in alphabetical order Since make 3.82 does not guarantee file ordering anymore, target profiles might get included in random order, leading to bad default values when only selecting the toplevel target and populating the .config with defconfig. This commit should also fix the ar71xx snapshot builds.
...
SVN-Revision: 31449
2012-04-23 16:10:25 +00:00
Jonas Gorski
3a9b6dc313
kernel: update linux 3.3 to 3.3.2
...
SVN-Revision: 31336
2012-04-17 12:51:02 +00:00
Jonas Gorski
ee4c47a134
kernel: update linux 3.2 to 3.2.15
...
SVN-Revision: 31335
2012-04-17 12:50:54 +00:00
Jo-Philipp Wich
93b8648b15
don't overwrite version.mk, substitute REVISION instead
...
SVN-Revision: 31271
2012-04-13 10:47:45 +00:00
Jo-Philipp Wich
a43ae30e1b
include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner
...
The available placeholders are:
%D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
%d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
%N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
%n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
%V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
%v .. Like %V, but all characters made lowercase and spaces substituted with "_"
%C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
%c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
%U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages "
%R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
%T .. Replace with the current target (e.g. "ar71xx")
%S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")
SVN-Revision: 31262
2012-04-12 17:31:16 +00:00
Jonas Gorski
50eba35cd3
kernel: update linux 3.3 to 3.3.1
...
SVN-Revision: 31223
2012-04-09 14:48:56 +00:00
Jonas Gorski
16b4cbcdd6
kernel: update linux 3.2 to 3.2.14
...
SVN-Revision: 31222
2012-04-09 14:48:51 +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
John Crispin
032f3ea5e7
define external cpio
...
Allow building image with an external cpio
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31204
2012-04-05 14:33:04 +00:00
John Crispin
e8c19a56db
prevent distro default LPATH from interfering
...
Attach patch unsets LPATH flag (found configured in some custom host
distributions) to make OpenWRT compile its toolchain without any issues.
LPATH is used on some distros to define the linkers search path.
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31203
2012-04-05 14:33:03 +00:00
Jonas Gorski
d87efd8c3c
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Gabor Juhos
6fda73f40a
add md5sum for linux-3.3
...
SVN-Revision: 31046
2012-03-20 15:55:06 +00:00
Gabor Juhos
c1dc6df8bd
kernel: update linux 3.2 to 3.2.12
...
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Jens Muecke
6204553450
Enable recursive download of git sources.
...
SVN-Revision: 30967
2012-03-17 21:33:13 +00:00
Jo-Philipp Wich
e6af9d374a
fix ipt_ttl and ipt_TTL userspace library packaging
...
SVN-Revision: 30897
2012-03-12 02:07:22 +00:00
Felix Fietkau
0cdeb6e4b2
build: unexport C_INCLUDE_PATH to prevent user settings from interfering with the build ( fixes #9865 )
...
SVN-Revision: 30830
2012-03-05 21:39:07 +00:00
Felix Fietkau
74946bb022
build: remove redundant call to $(SH_FUNC) ( #8042 )
...
SVN-Revision: 30818
2012-03-05 11:57:08 +00:00
Gabor Juhos
9698a499b6
kernel: update linux 3.2 to 3.2.9
...
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Felix Fietkau
edc3ad9100
build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags
...
SVN-Revision: 30760
2012-03-01 10:39:46 +00:00
Felix Fietkau
9cf5926eff
quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure
...
SVN-Revision: 30500
2012-02-13 15:31:28 +00:00
Gabor Juhos
6959317691
kernel: update linux 3.2 to 3.2.5
...
SVN-Revision: 30401
2012-02-10 08:19:23 +00:00
Vasilis Tsiligiannis
f1051a296d
target.mk: Trivial comment typo fix
...
SVN-Revision: 30310
2012-02-05 18:15:18 +00:00
Jonas Gorski
c336de3d85
kernel: update module names and add new config symbols for linux 3.3
...
SVN-Revision: 29985
2012-02-02 08:23:44 +00:00
Jonas Gorski
b3568b10c2
kernel: update linux 3.2 to 3.2.2
...
SVN-Revision: 29967
2012-01-31 09:44:00 +00:00
Jonas Gorski
1015fab0d7
kernel: update linux 3.1 to 3.1.10
...
SVN-Revision: 29966
2012-01-31 09:43:57 +00:00
Jonas Gorski
e67f4477bb
kernel: update linux 3.0 to 3.0.18
...
SVN-Revision: 29965
2012-01-31 09:43:53 +00:00
Jo-Philipp Wich
a5d34b8613
autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this
...
SVN-Revision: 29835
2012-01-20 21:31:03 +00:00
Jo-Philipp Wich
a79356d5ec
site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain
...
SVN-Revision: 29794
2012-01-19 03:10:27 +00:00
John Crispin
ccb6b0a063
tools: clean up Makefiles / make ccache work
...
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Jonas Gorski
1bc0abb058
kernel: add support for linux 3.2.1
...
SVN-Revision: 29730
2012-01-13 14:55:07 +00:00
Jonas Gorski
c560444a58
kernel: update linux 3.1 to 3.1.9
...
SVN-Revision: 29726
2012-01-13 14:38:28 +00:00
Jonas Gorski
e49d3e1d5b
kernel: update linux 3.0 to 3.0.17
...
SVN-Revision: 29725
2012-01-13 14:10:44 +00:00
Jo-Philipp Wich
9054bc91b3
cmake.mk: fix passing of LDFLAGS
...
SVN-Revision: 29701
2012-01-09 05:42:04 +00:00
Jo-Philipp Wich
690701d26e
make prepare_kernel_conf target depend on quilt instead of sed. Preparing the source tree requires quilt and installing quilt implies installing sed.
...
SVN-Revision: 29697
2012-01-08 16:52:41 +00:00
Jo-Philipp Wich
97af76a920
include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version. The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom *.ko files, e.g. for development purpose, is still possible.
...
SVN-Revision: 29686
2012-01-08 15:23:11 +00:00
Jo-Philipp Wich
a529e3f09e
add CT target and TTL/HL match+target
...
This patch adds the CT target for conntrack (enables manipulation of
conntrack events and supercedes NOTRACK) as well as the TTL/HL target and
match.
SVN-Revision: 29645
2012-01-04 02:52:54 +00:00
Jo-Philipp Wich
a788f199c9
remove current RTSP support
...
SVN-Revision: 29643
2012-01-04 00:29:29 +00:00
Jo-Philipp Wich
2ad90a1ec3
package CT target
...
SVN-Revision: 29609
2011-12-25 13:32:53 +00:00
Felix Fietkau
470b1f471a
image: increase squashfs block size - visibly reduces image size in many cases
...
SVN-Revision: 29519
2011-12-13 15:34:08 +00:00
Nicolas Thill
6d6e379922
include/package-ipkg.mk: fix typo in r29449
...
SVN-Revision: 29497
2011-12-10 22:02:50 +00:00