aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
Commit message (Collapse)AuthorAgeFilesLines
* kernel.mk: add a new helper for comparing kernel versions, which can take 1 ↵Felix Fietkau2011-06-011-4/+13
| | | | | | | | | - 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
* remove kernel major version specific kernelpackage overridesFelix Fietkau2011-05-301-2/+0
| | | | SVN-Revision: 27032
* make ModuleAutoLoad more readableFlorian Fainelli2010-10-181-6/+10
| | | | | | | | | | | | | | 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
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-0/+1
| | | | | | only where necessary SVN-Revision: 22720
* partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external ↵Nicolas Thill2010-07-121-0/+2
| | | | | | modules in ./packages SVN-Revision: 22146
* massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950Claudio Mignanti2010-07-121-6/+0
| | | | SVN-Revision: 22145
* prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packagesFelix Fietkau2010-03-291-2/+4
| | | | SVN-Revision: 20569
* add support for marking specific kernel module packages as potentially being ↵Felix Fietkau2010-02-261-1/+4
| | | | | | required for mounting the rootfs (patch by cshore) SVN-Revision: 19878
* do not download kernel sources when using an external kernel treeFelix Fietkau2009-12-141-1/+3
| | | | SVN-Revision: 18777
* fix one more instance of r18295Felix Fietkau2009-11-041-1/+1
| | | | SVN-Revision: 18301
* fix platform specific overrides for kernel modules, fixes lp on brcm-2.4Felix Fietkau2009-11-041-1/+1
| | | | SVN-Revision: 18295
* now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the ↵Felix Fietkau2009-09-061-2/+2
| | | | | | board name around in kmod-* package versions anymore SVN-Revision: 17528
* ensure CONTROL directory is created (#5683)Florian Fainelli2009-08-171-0/+1
| | | | SVN-Revision: 17293
* add a modified version of the mips64 patch from #4603Felix Fietkau2009-04-181-1/+1
| | | | SVN-Revision: 15249
* get rid of one more $(shell) instanceFelix Fietkau2009-03-031-6/+1
| | | | SVN-Revision: 14741
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-6/+10
| | | | SVN-Revision: 14739
* avoid repeating the same dependency multiple timesFelix Fietkau2009-03-031-1/+7
| | | | SVN-Revision: 14738
* fix LINUX_KARCH for x86Felix Fietkau2009-01-111-1/+1
| | | | SVN-Revision: 13986
* change the way ./files* and the generic kernel files are applied. ./files ↵Felix Fietkau2008-10-181-1/+1
| | | | | | 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
* make sure that when the kernel config changes, compile is triggered for all ↵Felix Fietkau2008-09-021-0/+2
| | | | | | kernel dependent packages SVN-Revision: 12503
* fix kconfig for packages that only define =y, =m or =n rulesFelix Fietkau2008-08-271-1/+1
| | | | SVN-Revision: 12414
* This patch makes kernel modules check if config is defined and creates a ↵Travis Kemen2008-05-151-0/+6
| | | | | | 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
* add a macro to compare kernel patch versions and use it for crypto and ↵Nicolas Thill2008-05-111-0/+4
| | | | | | watchdog changes in 2.6.24+ kernels (closes: #3402) SVN-Revision: 11115
* add optional version suffix to kernel files/ directoriesFelix Fietkau2008-04-281-0/+1
| | | | SVN-Revision: 10972
* fix kernel config related build errorFelix Fietkau2007-11-301-1/+1
| | | | SVN-Revision: 9640
* include the kernel config for kernel related packages (should fix some b43 ↵Felix Fietkau2007-11-301-1/+4
| | | | | | compile issues) SVN-Revision: 9635
* don't specify "CC=<nothing>" on kernel build command lineFelix Fietkau2007-10-231-4/+4
| | | | | | | | | | | | | 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
* don't replace powerpc arch with ppcFelix Fietkau2007-10-231-7/+8
| | | | | | | | | | | | | '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
* revert CONFIG_* symbols set m enforcement introduced in [8591], it can't ↵Nicolas Thill2007-09-161-2/+1
| | | | | | work when symbols from different kernel versions are mixed in KCONFIG SVN-Revision: 8798
* fix kernel build with quiltFelix Fietkau2007-09-101-1/+3
| | | | SVN-Revision: 8727
* fix kmod-crypto, emit warning messages for kmod packages that cannot be ↵Felix Fietkau2007-09-081-0/+6
| | | | | | built due to missing kernel config options SVN-Revision: 8697
* major target cleanup. it is now possible to have subtargets that can ↵Felix Fietkau2007-09-081-7/+16
| | | | | | override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets SVN-Revision: 8694
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-061-2/+2
| | | | | | (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. SVN-Revision: 8653
* require all CONFIG_* symbols listed in its KCONFIG to be set to m in order ↵Nicolas Thill2007-09-031-1/+2
| | | | | | to actually build a kmod package, tweak and fix kernel package definitions. SVN-Revision: 8591
* provide default PKG_BUILD_DIR for packages missing a PKG_VERSIONNicolas Thill2007-09-031-1/+1
| | | | SVN-Revision: 8583
* use a default VERSION field for kmod packagesNicolas Thill2007-09-021-0/+1
| | | | SVN-Revision: 8575
* add a '@KERNEL' download facility, tweak scriptNicolas Thill2007-08-261-4/+1
| | | | SVN-Revision: 8495
* include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵Nicolas Thill2007-08-261-0/+2
| | | | | | is always available SVN-Revision: 8494
* move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is ↵Nicolas Thill2007-08-251-1/+0
| | | | | | defined when dumping target infos SVN-Revision: 8485
* add support for KernelPackage/*/descriptionNicolas Thill2007-08-251-0/+6
| | | | SVN-Revision: 8484
* revert [8415], seems to be causing problems for the kernel buildFelix Fietkau2007-08-161-3/+0
| | | | SVN-Revision: 8418
* always include kernel config for kernel packagesFelix Fietkau2007-08-151-0/+3
| | | | SVN-Revision: 8415
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-3/+3
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html SVN-Revision: 8362
* fix kmod packages that don't use KCONFIGFelix Fietkau2007-08-021-1/+1
| | | | SVN-Revision: 8323
* fix kmod packaging for packages where some KCONFIG symbols are set to yFelix Fietkau2007-08-021-1/+1
| | | | SVN-Revision: 8316
* Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will ↵Felix Fietkau2007-07-311-0/+2
| | | | | | emit warnings in packages that don't use our target cflags properly SVN-Revision: 8256
* disable kmod packages where the KCONFIG options are =yFelix Fietkau2007-07-201-7/+9
| | | | SVN-Revision: 8086
* dynamically enable/disable kernel config options for kmod packages based on ↵Felix Fietkau2007-07-181-11/+7
| | | | | | build system config SVN-Revision: 8026
* reordered GENERIC_PATCH_DIR variableGabor Juhos2007-07-011-1/+1
| | | | SVN-Revision: 7824
* fix kernel config feature autodetectionFelix Fietkau2007-06-301-2/+1
| | | | SVN-Revision: 7811