John Crispin
022cadd64e
include: add AutoProbe support
...
This is needed to make modprobe work
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38020
11 years ago
Jo-Philipp Wich
6a559ff95e
include: modify kernel.mk to build empty kmod packages if the referenced symbols do not exist in the config
...
SVN-Revision: 37400
11 years ago
John Crispin
43a3d87b83
package: fix insmod on install
...
the procd changes broke the postinst insmod.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37015
12 years ago
Jonas Gorski
88ff7e3f23
include/kernel.mk: print warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35713
12 years ago
Felix Fietkau
76f0fd210f
kernel: fix module packages postinst by pointing to the new functions.sh location
...
SVN-Revision: 34804
12 years ago
John Crispin
e9c0b95829
fixes uapi helper define
...
SVN-Revision: 34715
12 years ago
John Crispin
0803171cd1
adds wrapper for uapi directory
...
SVN-Revision: 34683
12 years ago
Felix Fietkau
720ccbd95d
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
...
SVN-Revision: 34450
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
Imre Kaloz
0fa21ec3eb
use xz compressed kernel tarballs
...
SVN-Revision: 34228
12 years ago
Imre Kaloz
996f48b4a3
we only support v3.x kernels
...
SVN-Revision: 34225
12 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
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
Nicolas Thill
7de2766a02
include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
...
SVN-Revision: 28856
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
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
Jonas Gorski
a5f2fd6359
include/kernel.mk: fix download path for linux 3.x
...
SVN-Revision: 27939
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
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
14 years ago
Felix Fietkau
0cf265ed06
remove kernel major version specific kernelpackage overrides
...
SVN-Revision: 27032
14 years ago
Florian Fainelli
8a6ee777b0
make ModuleAutoLoad more readable
...
When doing a build with tracing on, the expansion of ModuleAutoLoad can get a
little hairy.
Using intermediate variables to name the arguments makes tracing more readable.
One side effect is that if an argument is accidentally left out, we won't get
all of the parameters shifted one over thanks to quoting (done in AutoLoad).
Signed-of-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 23513
14 years ago
Felix Fietkau
a9136c0892
speed up the build system by including include/shell.sh on shell commands only where necessary
...
SVN-Revision: 22720
14 years ago
Nicolas Thill
5cc5f15047
partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
...
SVN-Revision: 22146
15 years ago
Claudio Mignanti
2d86ea7bf3
massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
...
SVN-Revision: 22145
15 years ago
Felix Fietkau
965f770083
prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
...
SVN-Revision: 20569
15 years ago
Felix Fietkau
93489b721e
add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
...
SVN-Revision: 19878
15 years ago
Felix Fietkau
3c74d0b385
do not download kernel sources when using an external kernel tree
...
SVN-Revision: 18777
15 years ago
Felix Fietkau
cba2a6b1fd
fix one more instance of r18295
...
SVN-Revision: 18301
15 years ago
Felix Fietkau
7a75347b26
fix platform specific overrides for kernel modules, fixes lp on brcm-2.4
...
SVN-Revision: 18295
15 years ago
Felix Fietkau
3b61c2c2b1
now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
...
SVN-Revision: 17528
15 years ago
Florian Fainelli
7f36797bb7
ensure CONTROL directory is created ( #5683 )
...
SVN-Revision: 17293
15 years ago
Felix Fietkau
56164a5815
add a modified version of the mips64 patch from #4603
...
SVN-Revision: 15249
16 years ago
Felix Fietkau
015dff9d7d
get rid of one more $(shell) instance
...
SVN-Revision: 14741
16 years ago
Felix Fietkau
431c9267b4
replace a few unnecessary $(shell) calls
...
SVN-Revision: 14739
16 years ago
Felix Fietkau
f3c14b3de8
avoid repeating the same dependency multiple times
...
SVN-Revision: 14738
16 years ago
Felix Fietkau
cdca343745
fix LINUX_KARCH for x86
...
SVN-Revision: 13986
16 years ago
Felix Fietkau
1e570a9288
change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
...
SVN-Revision: 13010
16 years ago
Felix Fietkau
096531f61e
make sure that when the kernel config changes, compile is triggered for all kernel dependent packages
...
SVN-Revision: 12503
16 years ago
Felix Fietkau
38b96e6b68
fix kconfig for packages that only define =y, =m or =n rules
...
SVN-Revision: 12414
16 years ago
Travis Kemen
7c7bd6f61c
This patch makes kernel modules check if config is defined and creates a config passthrough target which will evaluate the original config in the generated package. This is done so kernel modules can have configuration menus like busybox, etc... Signed-off-by: Axel Gembe <ago@bastart.eu.org>
...
SVN-Revision: 11139
17 years ago
Nicolas Thill
e93e293b41
add a macro to compare kernel patch versions and use it for crypto and watchdog changes in 2.6.24+ kernels ( closes : #3402 )
...
SVN-Revision: 11115
17 years ago
Felix Fietkau
2448cb8a15
add optional version suffix to kernel files/ directories
...
SVN-Revision: 10972
17 years ago
Felix Fietkau
5526395594
fix kernel config related build error
...
SVN-Revision: 9640
17 years ago
Felix Fietkau
d1b4f5b54f
include the kernel config for kernel related packages (should fix some b43 compile issues)
...
SVN-Revision: 9635
17 years ago
Felix Fietkau
4bb2c88f4e
don't specify "CC=<nothing>" on kernel build command line
...
If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build
command-line. We don't always need CC, as the CROSS_COMPILE flag does
the job instead. In fact, specifying CC messes up the build when we're
using a biarch compiler.
This change doesn't specify CC= if the KERNEL_CC variable is empty.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9408
17 years ago
Felix Fietkau
d8e032edef
don't replace powerpc arch with ppc
...
'powerpc' is a valid arch for the LINUX_KARCH variable, but the build
system unconditionally replaces LIUNUX_KARCH=powerpc with
LINUX_KARCH=ppc.
This change only does the replacement if LINUX_KARCH isn't set. This
allows us to use the powerpc architecture.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9405
17 years ago
Nicolas Thill
892b16a352
revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG
...
SVN-Revision: 8798
17 years ago