Florian Fainelli
7196f5d7c8
image.mk: don't squash file permissions in JFFS2 images
...
Currently we call mkfs.jffs2 --squash, which will change
both file permissions and owners.
If we have some file with suid bits, it will clear these bits.
Thus it's enough to just squash file owners, by replacing that
argument to --squash-uids.
Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34397
12 years ago
Florian Fainelli
6b63716262
add preliminary support for musl
...
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34314
12 years ago
Jo-Philipp Wich
9079032833
include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot
...
SVN-Revision: 34299
12 years ago
Hauke Mehrtens
d648dad7fa
kernel: fix loading of nf_nat_irc
...
nf_nat_irc depends on nf_conntrack_irc and it should be defined after that.
This fixes a problem introduced in r34247.
SVN-Revision: 34251
12 years ago
Imre Kaloz
935ca3f3eb
add 3.7-rc6 support (patch 820 still has to be fixed)
...
SVN-Revision: 34247
12 years ago
Imre Kaloz
0fa21ec3eb
use xz compressed kernel tarballs
...
SVN-Revision: 34228
12 years ago
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
12 years ago
Imre Kaloz
8f7ea44df0
we don't support kernels < 3.3
...
SVN-Revision: 34226
12 years ago
Imre Kaloz
996f48b4a3
we only support v3.x kernels
...
SVN-Revision: 34225
12 years ago
Jo-Philipp Wich
d3e90ba7a7
buildroot: isolate the .install stamp files for build variants ( #12279 )
...
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .
SVN-Revision: 34106
12 years ago
Gabor Juhos
e8669729bc
kernel: update linux 3.6 to 3.6.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34086
12 years ago
Gabor Juhos
07a762c4c5
kernel: update linux 3.6 to 3.6.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34042
12 years ago
Florian Fainelli
451803c51a
kernel-defaults: factor common code handling initramfs options
...
While at it, reindent so it is more in-line with the rest of the file.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34034
12 years ago
Felix Fietkau
b495423a22
build: increase file descriptor count limit for the build, some systems (e.g. Mac OS X default to 256, which is too little for some parallel builds)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34023
12 years ago
Florian Fainelli
246e563cb7
properly reindent Kernel/Prepare/Default
...
SVN-Revision: 34014
12 years ago
Gabor Juhos
87186c5ed4
kernel: update linux 3.6 to 3.6.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33982
12 years ago
Florian Fainelli
3948c077c9
make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP
...
SVN-Revision: 33908
12 years ago
Imre Kaloz
949b46d13d
linux 3.6 support (work in progress)
...
SVN-Revision: 33897
12 years ago
Hamish Guthrie
81a3d9ba31
licensing: Add licensing metadata to many packages Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated.
...
The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!
SVN-Revision: 33861
12 years ago
Felix Fietkau
c6ba19c70e
toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
...
SVN-Revision: 33807
12 years ago
Felix Fietkau
6d1884c583
build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir
...
SVN-Revision: 33776
12 years ago
Jo-Philipp Wich
7074927533
autotools.mk: add a gettext-version PKG_FIXUP ( #11236 )
...
This fixup aligns the required gettext version in shipped macros to the one
available in $(STAGING_DIR_HOST).
SVN-Revision: 33708
12 years ago
Imre Kaloz
c5e5e70ab0
it's time to break the barriers
...
SVN-Revision: 33666
12 years ago
Felix Fietkau
2d7eaf2e15
build: allow the package maintainer info to be specified globally for a source package
...
SVN-Revision: 33659
12 years ago
Felix Fietkau
6f752c725a
build: create pkginfo dir earlier to avoid build breakage
...
SVN-Revision: 33633
12 years ago
Felix Fietkau
44cd20b802
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
...
SVN-Revision: 33631
12 years ago
Jo-Philipp Wich
1cd6237979
version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists
...
SVN-Revision: 33534
12 years ago
Felix Fietkau
ed2bf29be5
build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
...
SVN-Revision: 33523
12 years ago
Felix Fietkau
7950f996e0
build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messages
...
SVN-Revision: 33521
12 years ago
Felix Fietkau
d406a5208f
include/netfilter.mk: remove a few obsolete lines
...
SVN-Revision: 33518
12 years ago
Felix Fietkau
1c108d3318
host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
...
SVN-Revision: 33509
12 years ago
Jo-Philipp Wich
b06f4dc972
make packages depend on +librt and +libpthread by default if eglibc is in use
...
SVN-Revision: 33480
12 years ago
Felix Fietkau
b086475e1e
build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
...
SVN-Revision: 33445
12 years ago
Felix Fietkau
f19dbfff91
build: add jobserver support for host builds
...
SVN-Revision: 33423
12 years ago
Felix Fietkau
c4198ce48d
build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds
...
SVN-Revision: 33422
12 years ago
Felix Fietkau
482a6d4aea
kernel: suppress redundant calls to headers installation
...
SVN-Revision: 33421
12 years ago
Felix Fietkau
8091d3f2e8
kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies
...
SVN-Revision: 33420
12 years ago
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
12 years ago
Florian Fainelli
6bc394d90f
add sparc specific site files
...
SVN-Revision: 33405
12 years ago
Jo-Philipp Wich
8726a422cd
do not pass optimization flags in HOST_CPPFLAGS ( #12153 )
...
SVN-Revision: 33351
12 years ago
John Crispin
e6e331ca67
unify tapi deps
...
SVN-Revision: 33160
12 years ago
Jo-Philipp Wich
29b91ef01a
introduce a menuconfig option to turn off static linking of host utilities
...
SVN-Revision: 33154
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
94a96244f6
host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
...
SVN-Revision: 33138
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
John Crispin
370894e594
fix up scons vs ccache
...
SVN-Revision: 32902
12 years ago
John Crispin
584bc13d38
use autoreconf hook instead of manual call
...
SVN-Revision: 32837
12 years ago
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
12 years ago
Felix Fietkau
b1f318de53
kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
...
SVN-Revision: 32783
12 years ago
Felix Fietkau
6ae20bf412
scripts/config: build with gcc instead of clang on mac os x
...
SVN-Revision: 32749
12 years ago
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
12 years ago
Jo-Philipp Wich
556864c75b
nls.mk: fix build dependency on gettext ( #11829 )
...
SVN-Revision: 32665
12 years ago
Jo-Philipp Wich
64f5b45d8f
toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes the buildroot up
...
SVN-Revision: 32663
12 years ago
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
12 years ago
Felix Fietkau
59b384dabe
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
...
SVN-Revision: 32556
12 years ago
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
12 years ago
Florian Fainelli
6de0939c3a
build: allow KERNELNAME to contain multiple kernel make targets
...
SVN-Revision: 32423
12 years ago
John Crispin
0a684babcc
fix ccache related build breakage
...
SVN-Revision: 32421
12 years ago
Jo-Philipp Wich
f9caf1abd1
uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used
...
SVN-Revision: 32383
12 years ago
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
12 years ago
Felix Fietkau
3051de8701
build: add a variable for injecting config variable dependencies for the .prepared stamp
...
SVN-Revision: 32368
12 years ago
Felix Fietkau
67e51f1787
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
SVN-Revision: 32358
12 years ago
Jo-Philipp Wich
3b65557db8
package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
SVN-Revision: 32332
12 years ago
Jo-Philipp Wich
d40fe9d24e
autotools.mk: cope with Debian version strings in libtool
...
SVN-Revision: 32207
12 years ago
Felix Fietkau
16a34b222a
package.mk: unexport the QUIET variable, it affects some packages like xapian-bindings
...
SVN-Revision: 32196
12 years ago
Felix Fietkau
6ca6d317b3
build: add checks for missing package dependencies
...
SVN-Revision: 32185
12 years ago
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
12 years ago
Felix Fietkau
edee850e18
build: add a dependency on libc to all non-kernel packages
...
SVN-Revision: 32171
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
12 years ago
Felix Fietkau
b4b60ab62f
include/netfilter.mk: clean up, remove junk for old kernel versions
...
SVN-Revision: 32114
12 years ago
Felix Fietkau
b50cfbb179
build: add PKG_MIRROR_MD5SUM support for host builds
...
SVN-Revision: 32082
12 years ago
Felix Fietkau
8068562453
build: prevent the environment variable CROSS_COMPILE from leaking into builds ( fixes #11603 )
...
SVN-Revision: 32081
12 years ago
Felix Fietkau
e8ff034c8b
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
...
SVN-Revision: 32079
12 years ago
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
12 years ago
John Crispin
a4d96aae8d
bump to 3.3.8
...
SVN-Revision: 32055
12 years ago
John Crispin
b065867cfb
log failed package builds
...
SVN-Revision: 32050
12 years ago
Gabor Juhos
2ae5581447
kernel: update linux 3.3 to 3.3.7
...
SVN-Revision: 31848
12 years ago
Felix Fietkau
fe99e3c5b5
make: do a better job of sanitizing LD_LIBRARY_PATH ( fixes #8069 )
...
SVN-Revision: 31780
12 years ago
Felix Fietkau
03babf3641
target: add a feature flag for RTC support
...
SVN-Revision: 31777
12 years ago
Felix Fietkau
5eed1d8f6b
enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
...
SVN-Revision: 31730
12 years ago
Gabor Juhos
b472e5d12e
kernel: update linux 3.3 to 3.3.6
...
SVN-Revision: 31709
12 years ago
Felix Fietkau
85f1a2c67a
add further countermeasures against the git core.autocrlf option ( fixes #9075 )
...
SVN-Revision: 31650
12 years ago
Gabor Juhos
34018a630f
kernel: update linux 3.3 to 3.3.5
...
SVN-Revision: 31645
12 years ago
Felix Fietkau
352d081266
scons: override the platform instead of using the host one - fixes build issues on non-linux systems
...
SVN-Revision: 31620
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos
cbfce53831
kernel: update linux 3.3 to 3.3.4
...
SVN-Revision: 31541
12 years ago
Felix Fietkau
6af6c0ae76
build: fix bad file descriptor issues with the verbosity changes
...
SVN-Revision: 31486
12 years ago
Felix Fietkau
b648860f9c
cmake: add support for V=cs
...
SVN-Revision: 31485
12 years ago
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
12 years ago
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
12 years ago
Jonas Gorski
8fd383ae2e
kernel: update linux 3.3 to 3.3.3
...
SVN-Revision: 31460
12 years ago
Jonas Gorski
22b4e6b882
kernel: update linux 3.2 to 3.2.16
...
SVN-Revision: 31459
12 years ago
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
12 years ago
Jonas Gorski
3a9b6dc313
kernel: update linux 3.3 to 3.3.2
...
SVN-Revision: 31336
12 years ago
Jonas Gorski
ee4c47a134
kernel: update linux 3.2 to 3.2.15
...
SVN-Revision: 31335
12 years ago
Jo-Philipp Wich
93b8648b15
don't overwrite version.mk, substitute REVISION instead
...
SVN-Revision: 31271
12 years ago
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
12 years ago
Jonas Gorski
50eba35cd3
kernel: update linux 3.3 to 3.3.1
...
SVN-Revision: 31223
12 years ago
Jonas Gorski
16b4cbcdd6
kernel: update linux 3.2 to 3.2.14
...
SVN-Revision: 31222
12 years ago
Vasilis Tsiligiannis
c56da13854
Add git version check to prerequisite check ( #11229 )
...
SVN-Revision: 31214
12 years ago
Vasilis Tsiligiannis
f37ce3fad3
Fix typo in GNU Make prereq check
...
SVN-Revision: 31213
12 years ago
John Crispin
032f3ea5e7
define external cpio
...
Allow building image with an external cpio
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31204
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos
6fda73f40a
add md5sum for linux-3.3
...
SVN-Revision: 31046
12 years ago
Gabor Juhos
c1dc6df8bd
kernel: update linux 3.2 to 3.2.12
...
SVN-Revision: 31028
12 years ago
Jens Muecke
6204553450
Enable recursive download of git sources.
...
SVN-Revision: 30967
12 years ago
Jo-Philipp Wich
e6af9d374a
fix ipt_ttl and ipt_TTL userspace library packaging
...
SVN-Revision: 30897
12 years ago
Felix Fietkau
0cdeb6e4b2
build: unexport C_INCLUDE_PATH to prevent user settings from interfering with the build ( fixes #9865 )
...
SVN-Revision: 30830
12 years ago
Felix Fietkau
74946bb022
build: remove redundant call to $(SH_FUNC) ( #8042 )
...
SVN-Revision: 30818
12 years ago
Gabor Juhos
9698a499b6
kernel: update linux 3.2 to 3.2.9
...
SVN-Revision: 30767
12 years ago
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
12 years ago
Felix Fietkau
9cf5926eff
quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure
...
SVN-Revision: 30500
12 years ago
Gabor Juhos
6959317691
kernel: update linux 3.2 to 3.2.5
...
SVN-Revision: 30401
12 years ago
Vasilis Tsiligiannis
f1051a296d
target.mk: Trivial comment typo fix
...
SVN-Revision: 30310
12 years ago
Jonas Gorski
c336de3d85
kernel: update module names and add new config symbols for linux 3.3
...
SVN-Revision: 29985
12 years ago
Jonas Gorski
b3568b10c2
kernel: update linux 3.2 to 3.2.2
...
SVN-Revision: 29967
12 years ago
Jonas Gorski
1015fab0d7
kernel: update linux 3.1 to 3.1.10
...
SVN-Revision: 29966
12 years ago
Jonas Gorski
e67f4477bb
kernel: update linux 3.0 to 3.0.18
...
SVN-Revision: 29965
12 years ago
Jo-Philipp Wich
a5d34b8613
autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this
...
SVN-Revision: 29835
13 years ago
Jo-Philipp Wich
a79356d5ec
site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain
...
SVN-Revision: 29794
13 years ago
John Crispin
ccb6b0a063
tools: clean up Makefiles / make ccache work
...
SVN-Revision: 29754
13 years ago
Jonas Gorski
1bc0abb058
kernel: add support for linux 3.2.1
...
SVN-Revision: 29730
13 years ago
Jonas Gorski
c560444a58
kernel: update linux 3.1 to 3.1.9
...
SVN-Revision: 29726
13 years ago
Jonas Gorski
e49d3e1d5b
kernel: update linux 3.0 to 3.0.17
...
SVN-Revision: 29725
13 years ago
Jo-Philipp Wich
9054bc91b3
cmake.mk: fix passing of LDFLAGS
...
SVN-Revision: 29701
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Jo-Philipp Wich
a788f199c9
remove current RTSP support
...
SVN-Revision: 29643
13 years ago
Jo-Philipp Wich
2ad90a1ec3
package CT target
...
SVN-Revision: 29609
13 years ago
Felix Fietkau
470b1f471a
image: increase squashfs block size - visibly reduces image size in many cases
...
SVN-Revision: 29519
13 years ago
Nicolas Thill
6d6e379922
include/package-ipkg.mk: fix typo in r29449
...
SVN-Revision: 29497
13 years ago
Jonas Gorski
e33bb9ec66
linux: update 3.1 to 3.1.4
...
SVN-Revision: 29470
13 years ago
Jonas Gorski
6e2ae90f4a
linux: update 3.0 to 3.0.12
...
SVN-Revision: 29469
13 years ago
Gabor Juhos
091894764b
include/package-ipkg.mk: don't add vi backup files to packages
...
Also remove trailing whitespaces.
SVN-Revision: 29449
13 years ago
Jonas Gorski
8bac0df4ae
linux: update 3.0 to 3.0.9
...
SVN-Revision: 29264
13 years ago
Jonas Gorski
14482ced5e
include/kernel.mk: don't check for modules.builtin on 2.6.32-
...
modules.builtin is only available in 2.6.33 and later, so fall back to
assuming it's built-in for older kernels.
SVN-Revision: 29018
13 years ago
Jonas Gorski
d8acb75009
linux: update 3.1 to 3.1.1
...
SVN-Revision: 29007
13 years ago
Nicolas Thill
7de2766a02
include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
...
SVN-Revision: 28856
13 years ago
Felix Fietkau
edb862e8ec
build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one
...
SVN-Revision: 28770
13 years ago
Nicolas Thill
3bcb16b305
package/blockmount: simplify extroot module loading logic
...
SVN-Revision: 28650
13 years ago
Nicolas Thill
b5af64c529
kernel: build kmod even for modules built-in
...
SVN-Revision: 28649
13 years ago
Michael Büsch
69853cc4e8
Fix kernel version check macro typo
...
SVN-Revision: 28627
13 years ago
Nicolas Thill
a930a79e08
include/package-ipkg.mk: fix typo
...
Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d
directory when the package supplied conffiles
SVN-Revision: 28595
13 years ago
Jonas Gorski
3894b9746f
linux: add 3.1 checksum
...
SVN-Revision: 28553
13 years ago
Jo-Philipp Wich
d8d9130e45
autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
...
SVN-Revision: 28464
13 years ago
Jo-Philipp Wich
e7b094e849
include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied
...
SVN-Revision: 28419
13 years ago
Felix Fietkau
f63daa85a2
fix a small logic error in package download
...
SVN-Revision: 28395
13 years ago
Felix Fietkau
874622d004
build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball
...
SVN-Revision: 28394
13 years ago
Jo-Philipp Wich
5171edd8d5
kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case
...
SVN-Revision: 28361
13 years ago
Jo-Philipp Wich
b292524c13
kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
...
SVN-Revision: 28360
13 years ago
Felix Fietkau
1b8dd6ed1c
build system: add support for download-time make hooks
...
SVN-Revision: 28322
13 years ago
Jo-Philipp Wich
29123aee6d
image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
...
SVN-Revision: 28305
13 years ago
Hauke Mehrtens
464539b074
kernel: update to version 3.0.3
...
SVN-Revision: 28043
13 years ago
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
13 years ago
Felix Fietkau
97cf4d41fa
include/site: add powerpc-openwrt-linux-*spe sitefiles for mpc85xx
...
SVN-Revision: 27969
13 years ago
Jonas Gorski
a5f2fd6359
include/kernel.mk: fix download path for linux 3.x
...
SVN-Revision: 27939
13 years ago
Hauke Mehrtens
51be984655
kernel: update to kernel version 3.0.1
...
SVN-Revision: 27918
13 years ago
Jo-Philipp Wich
bd982fb72c
autotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf. The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct version to use.
...
SVN-Revision: 27855
13 years ago
Felix Fietkau
5820306407
only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
...
SVN-Revision: 27771
13 years ago
Jonas Gorski
b197196bc8
kernel.mk: Fix kernel module path for 3.0
...
Linux 3.0 calls itself 3.0.0, so insmod expects the modules in
/lib/modules/3.0.0.
SVN-Revision: 27761
13 years ago
Felix Fietkau
0f93db2de5
default to using gzip with mksquashfs if lzma and xz are unavailable
...
SVN-Revision: 27748
13 years ago
Felix Fietkau
0d0915d168
cmake: fix ccache command when using host ccache (patch from #9611 )
...
SVN-Revision: 27742
13 years ago
Hauke Mehrtens
39f491e479
kernel: update to linux-3.0 and refresh patches.
...
Thank you Peter Wagner for the patch
SVN-Revision: 27722
13 years ago
John Crispin
ad250089aa
allow targets to define a default subtarget when using automatic subtarget detection from r27407
...
SVN-Revision: 27444
13 years ago
John Crispin
058eca0b3b
automatic subtarget enumaration
...
SVN-Revision: 27407
13 years ago
John Crispin
d5205c3ed2
extend squashfs padding for 256k flash sectors
...
SVN-Revision: 27404
13 years ago
Gabor Juhos
5206db4561
generic: use padjffs2 in prepare_generic_squashfs
...
SVN-Revision: 27356
13 years ago
Felix Fietkau
fc0863785a
add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
...
SVN-Revision: 27346
13 years ago
Felix Fietkau
bcf4757508
add support for hidden packages that get selected/built but do not show up in menuconfig
...
SVN-Revision: 27344
13 years ago
Hauke Mehrtens
c5821c1a3a
kernel: update kernel to 2.6.39.2
...
SVN-Revision: 27298
13 years ago
Jo-Philipp Wich
cda35d2ef2
cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling ( #9573 )
...
SVN-Revision: 27256
13 years ago
Hauke Mehrtens
79a7343560
kernel: update to kernel 2.6.38.8
...
SVN-Revision: 27218
13 years ago
Hauke Mehrtens
45ae457825
Properly extract KERNEL_PATCHVER for linux 3.0
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27183
13 years ago
Florian Fainelli
763b58c30c
update to 2.6.39.1
...
patch from Peter Wagner
SVN-Revision: 27104
13 years ago
Felix Fietkau
9acb81d9af
kernel.mk: add a new helper for comparing kernel versions, which can take 1 - 4 field kernel versions
...
implement CompareKernelPatchVer using this new helper
implement kernel_patchver_{gt,ge,eq,le,lt}, which are more convenient for use with inline $(if)
SVN-Revision: 27087
13 years ago
Felix Fietkau
1027d262ef
netfilter.mk: remove a few obsolete CompareKernelPatchVer calls
...
SVN-Revision: 27086
13 years ago
Felix Fietkau
6e43f65dc4
remove the now unused Target-Kernel field from the target metadata
...
SVN-Revision: 27033
13 years ago
Felix Fietkau
0cf265ed06
remove kernel major version specific kernelpackage overrides
...
SVN-Revision: 27032
13 years ago
Felix Fietkau
b68404f278
remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now
...
SVN-Revision: 27023
13 years ago
Hauke Mehrtens
c69f2d8788
kernel: some updates for kernel 2.6.39
...
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile
Thank you Peter Wagner for the patch
SVN-Revision: 27009
13 years ago
Jo-Philipp Wich
be906f6be5
package u32 match and TEE target, patches by Maxim Uvarov
...
SVN-Revision: 26977
13 years ago
Felix Fietkau
aea6afefe6
add LD_LIBRARY to cmake.mk
...
Otherwise cmake programs try to link with host ld.so
Signed-off-by: Jan Willies <jan@willies.info>
SVN-Revision: 26963
13 years ago
Hauke Mehrtens
a4c0645326
kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
...
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.
SVN-Revision: 26905
13 years ago
Felix Fietkau
a65dac690c
use lazy evaluation to allow targets to override kernel config files
...
SVN-Revision: 26714
13 years ago
Felix Fietkau
83de49ae81
prepare .config before testing for missing options
...
SVN-Revision: 26700
13 years ago
Jo-Philipp Wich
149341faf1
silence error when package has no patches (patchwork 321)
...
SVN-Revision: 26627
13 years ago
Jo-Philipp Wich
a9977eca91
firewall: allow local redirection of ports
...
Allow a redirect like:
config redirect
option src 'wan'
option dest 'lan'
option src_dport '22001'
option dest_port '22'
option proto 'tcp'
note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.
This patch makes three changes:
(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
connections.
In the above example,
ssh -p 22 root@myrouter
would fail from the outside, but:
ssh -p 22001 root@myrouter
would succeed. This is handy if:
(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
still want to allow firewall access from outside.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26617
13 years ago
Jo-Philipp Wich
a65b43a46f
autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
...
SVN-Revision: 26589
13 years ago
Jo-Philipp Wich
0f13d0a068
cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead
...
SVN-Revision: 26584
13 years ago
Hauke Mehrtens
24c1caef5f
iipt-debug: create bundle of netfilter modules for debugging
...
Add a bundle for including commonly useful modules for IPtables debugging and development.
For now, it just contains xt_TRACE.ko
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26567
13 years ago
Felix Fietkau
2238b949f1
build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on
...
SVN-Revision: 26499
13 years ago
Felix Fietkau
caf4747f0c
build: clean up handling of the kernel config
...
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env
SVN-Revision: 26498
13 years ago
Felix Fietkau
459762ace2
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
...
SVN-Revision: 26491
13 years ago
Felix Fietkau
fcc570d999
site: set ac_cv_sizeof_off_t=8 to fix autoconf applications using it for detecting largefile support ( #8376 , #5681 )
...
SVN-Revision: 26471
13 years ago
Felix Fietkau
d637ae2fc8
make the build system a bit more silent without V=99
...
SVN-Revision: 26460
13 years ago