e6e33ecfdf
kernel.mk: Handle the x86_64 LINUX_KARCH case
...
x64 is handled by the x86 architecture in Linux, add a case for it in
LINUX_KARCH.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
SVN-Revision: 43672
2014-12-12 18:28:13 +00:00
45097e1584
kernel.mk: Refactor LINUX_KARCH affectation
...
Switch to a dumber implementation that will be easier to maintain in the long
run, with only if statements instead of having nested subst calls.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
SVN-Revision: 43671
2014-12-12 18:28:03 +00:00
e39e615902
sdk: don't try to build in-kernel kmods
...
We don't ship the kernel sources, so using the base git as a feed will
fail when trying to build kernel modules with separate install steps.
Instead of trying to fixup the install steps, let's just skip building
kernel modules alltogether and just create empty packages.
Out-of-kernel modules are still expected to exist and are packaged, as
for these sources are fetched during the normal build steps.
Reported-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43525
2014-12-05 11:50:42 +00:00
08f5f376ad
aarch64: add initial support
...
Add initial support for the AArch64 architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43353
2014-11-24 06:33:13 +00:00
dbd43fd37a
build: allow AutoLoad and AutoProbe to specify modules not included in the package
...
On out-of-tree modules depending on other out-of-tree modules from a
different tree, module dependencies are not filled properly.
This change helps with adding those dependencies in the AutoLoad call
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43323
2014-11-19 20:16:50 +00:00
825796075e
kernel: remove debug code from module insert script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38340
2013-10-08 15:08:23 +00:00
06f0df684e
include: add AutoProbe support
...
This is needed to make modprobe work
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38020
2013-09-17 21:45:05 +00:00
b67967d1c7
include: modify kernel.mk to build empty kmod packages if the referenced symbols do not exist in the config
...
SVN-Revision: 37400
2013-07-18 15:41:09 +00:00
9c64af141c
package: fix insmod on install
...
the procd changes broke the postinst insmod.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37015
2013-06-22 22:09:40 +00:00
97f5710f99
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
2013-02-21 11:45:16 +00:00
7082e3131c
kernel: fix module packages postinst by pointing to the new functions.sh location
...
SVN-Revision: 34804
2012-12-20 15:29:37 +00:00
470d53a77c
[include] fixes uapi helper define
...
SVN-Revision: 34715
2012-12-16 11:04:27 +00:00
c441084df7
[include] adds wrapper for uapi directory
...
SVN-Revision: 34683
2012-12-15 01:59:14 +00:00
6d224553dc
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
...
SVN-Revision: 34450
2012-12-02 15:26:24 +00:00
85f9c4ef7a
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
2012-11-22 13:43:24 +00:00
c6c9f9952b
use xz compressed kernel tarballs
...
SVN-Revision: 34228
2012-11-18 08:49:08 +00:00
ded912a92a
we only support v3.x kernels
...
SVN-Revision: 34225
2012-11-18 08:38:26 +00:00
87864fdaca
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
9c89aa2b71
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
2011-11-13 11:45:09 +00:00
a683ec0023
include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
...
SVN-Revision: 28856
2011-11-08 14:00:36 +00:00
b3f9693b17
package/blockmount: simplify extroot module loading logic
...
SVN-Revision: 28650
2011-10-28 13:10:50 +00:00
44db0ed43f
kernel: build kmod even for modules built-in
...
SVN-Revision: 28649
2011-10-28 13:10:43 +00:00
08deb7e493
Fix kernel version check macro typo
...
SVN-Revision: 28627
2011-10-27 16:56:22 +00:00
073090b5eb
[include] kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
...
SVN-Revision: 28360
2011-10-03 10:19:25 +00:00
16d562b8bc
include/kernel.mk: fix download path for linux 3.x
...
SVN-Revision: 27939
2011-08-09 12:19:38 +00:00
8981447b90
only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
...
SVN-Revision: 27771
2011-07-25 10:32:38 +00:00
4e59931ad1
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
2011-07-24 21:42:33 +00:00
1e73836854
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
2011-06-01 18:08:17 +00:00
3949eb9fd7
remove kernel major version specific kernelpackage overrides
...
SVN-Revision: 27032
2011-05-30 23:07:48 +00:00
0a511a5442
[buildroot] 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
2010-10-18 06:58:11 +00:00
8c80cf674a
speed up the build system by including include/shell.sh on shell commands only where necessary
...
SVN-Revision: 22720
2010-08-19 12:49:37 +00:00
ef8becb16c
partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
...
SVN-Revision: 22146
2010-07-12 16:01:13 +00:00
d07a68916f
massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
...
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
7323a02954
prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
...
SVN-Revision: 20569
2010-03-29 03:07:54 +00:00
1eed65f8f8
add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
...
SVN-Revision: 19878
2010-02-26 22:45:54 +00:00
10883686af
do not download kernel sources when using an external kernel tree
...
SVN-Revision: 18777
2009-12-14 13:54:03 +00:00
d235a2671b
fix one more instance of r18295
...
SVN-Revision: 18301
2009-11-04 22:51:07 +00:00
2334628d23
fix platform specific overrides for kernel modules, fixes lp on brcm-2.4
...
SVN-Revision: 18295
2009-11-04 21:54:53 +00:00
e52852a6ca
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
2009-09-06 17:26:37 +00:00
50c9eb935b
[package] ensure CONTROL directory is created ( #5683 )
...
SVN-Revision: 17293
2009-08-17 10:14:25 +00:00
0d83ebc6fa
add a modified version of the mips64 patch from #4603
...
SVN-Revision: 15249
2009-04-18 17:03:55 +00:00
25e1df5978
get rid of one more $(shell) instance
...
SVN-Revision: 14741
2009-03-03 15:28:57 +00:00
c767c636e6
replace a few unnecessary $(shell) calls
...
SVN-Revision: 14739
2009-03-03 14:55:53 +00:00
4b1824ea4c
avoid repeating the same dependency multiple times
...
SVN-Revision: 14738
2009-03-03 14:54:19 +00:00
77b472daca
fix LINUX_KARCH for x86
...
SVN-Revision: 13986
2009-01-11 21:35:26 +00:00
891fe9eb30
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
2008-10-18 21:43:30 +00:00
48dc910c3d
make sure that when the kernel config changes, compile is triggered for all kernel dependent packages
...
SVN-Revision: 12503
2008-09-02 15:50:09 +00:00
bcda8e494c
fix kconfig for packages that only define =y, =m or =n rules
...
SVN-Revision: 12414
2008-08-27 21:34:01 +00:00
301dc39819
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
2008-05-15 00:57:50 +00:00
de54d67629
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
2008-05-11 20:56:51 +00:00