nico
86bb57e717
partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:01:13 +00:00
claudio
ae57d8838c
massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
nbd
9546b789a5
prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:07:54 +00:00
nbd
99411298b4
add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:45:54 +00:00
nbd
99a469f933
do not download kernel sources when using an external kernel tree
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-14 13:54:03 +00:00
nbd
64dc8b1d34
fix one more instance of r18295
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04 22:51:07 +00:00
nbd
80f27f1a42
fix platform specific overrides for kernel modules, fixes lp on brcm-2.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04 21:54:53 +00:00
nbd
db11e2abd1
now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:26:37 +00:00
florian
cc636d65a0
[package] ensure CONTROL directory is created ( #5683 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17 10:14:25 +00:00
nbd
6528871efd
add a modified version of the mips64 patch from #4603
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
nbd
4473839bf8
get rid of one more $(shell) instance
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 15:28:57 +00:00
nbd
8e52b00c08
replace a few unnecessary $(shell) calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
nbd
b158be34cf
avoid repeating the same dependency multiple times
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:54:19 +00:00
nbd
1f9447cc2b
fix LINUX_KARCH for x86
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11 21:35:26 +00:00
nbd
79670e1e13
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.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 21:43:30 +00:00
nbd
b9a9793753
make sure that when the kernel config changes, compile is triggered for all kernel dependent packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 15:50:09 +00:00
nbd
5529ade646
fix kconfig for packages that only define =y, =m or =n rules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 21:34:01 +00:00
thepeople
75d25b95d5
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-15 00:57:50 +00:00
nico
0ec5192c33
add a macro to compare kernel patch versions and use it for crypto and watchdog changes in 2.6.24+ kernels ( closes : #3402 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 20:56:51 +00:00
nbd
605132cc3b
add optional version suffix to kernel files/ directories
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 22:01:14 +00:00
nbd
ced4ed829e
fix kernel config related build error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30 17:22:44 +00:00
nbd
cac4b005fb
include the kernel config for kernel related packages (should fix some b43 compile issues)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30 09:43:08 +00:00
nbd
2e05912189
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:23 +00:00
nbd
42ef307c66
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:12 +00:00
nico
d1020e0c94
revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 16:10:37 +00:00
nbd
2ed862c4a5
fix kernel build with quilt
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 04:21:21 +00:00
nbd
440947abee
fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 23:33:01 +00:00
nbd
6db7ad74f6
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nbd
17c7b6c3fd
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
nico
9a571e2771
require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:58:14 +00:00
nico
d796938ccc
provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 07:51:56 +00:00
nico
a702c26fde
use a default VERSION field for kmod packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 16:39:27 +00:00
nico
34d7258a8a
add a '@KERNEL' download facility, tweak script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 18:21:24 +00:00
nico
24458ad0c5
include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
nico
1676e90a34
move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 14:50:17 +00:00
nico
adbb6bc068
add support for KernelPackage/*/description
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 14:43:15 +00:00
nbd
80c107f51c
revert [8415], seems to be causing problems for the kernel build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-16 13:44:57 +00:00
nbd
d2f7e3078e
always include kernel config for kernel packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-15 23:33:37 +00:00
nbd
12c49b6a6a
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
nbd
ce46ec9019
fix kmod packages that don't use KCONFIG
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02 23:49:31 +00:00
nbd
344cc19936
fix kmod packaging for packages where some KCONFIG symbols are set to y
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02 13:38:03 +00:00
nbd
32a98d23ea
Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
nbd
8ed41edf8e
disable kmod packages where the KCONFIG options are =y
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 22:25:14 +00:00
nbd
bf9b79b200
dynamically enable/disable kernel config options for kmod packages based on build system config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
juhosg
bee7393070
reordered GENERIC_PATCH_DIR variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01 11:44:50 +00:00
nbd
03043dc1e9
fix kernel config feature autodetection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:42:57 +00:00
nbd
e6a68af9e9
prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 01:56:04 +00:00
nbd
d34e35f781
fix kmod-* build error when wildcards are being used in $(FILES)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 08:06:52 +00:00
nbd
83790f74ad
Improved autorebuild for kernel related stuff.
...
- make modules_install in the kernel tree is no longer called
- make modules is called on every target/compile run
- kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:28:38 +00:00
nbd
1d3cff733d
add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00