summaryrefslogtreecommitdiff
path: root/include/kernel.mk
AgeCommit message (Collapse)Author
2011-11-08include/kernel.mk: enhance built-in/missing modules detection when packaging ↵nico
kmods git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28package/blockmount: simplify extroot module loading logicnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28kernel: build kmod even for modules built-innico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27Fix kernel version check macro typomb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-03[include] kernel.mk: also do not download Linux if ↵jow
CONFIG_KERNEL_GIT_CLONE_URI is set git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09include/kernel.mk: fix download path for linux 3.xjogo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25only export GCC_HONOUR_COPTS for the built-in toolchain, fixes ↵nbd
missing-fhonour-copts warnings with external toolchains git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24kernel.mk: Fix kernel module path for 3.0jogo
Linux 3.0 calls itself 3.0.0, so insmod expects the modules in /lib/modules/3.0.0. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01kernel.mk: add a new helper for comparing kernel versions, which can take 1 ↵nbd
- 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30remove kernel major version specific kernelpackage overridesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18[buildroot] make ModuleAutoLoad more readableflorian
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19speed up the build system by including include/shell.sh on shell commands ↵nbd
only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external ↵nico
modules in ./packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950claudio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26add support for marking specific kernel module packages as potentially being ↵nbd
required for mounting the rootfs (patch by cshore) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-14do not download kernel sources when using an external kernel treenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04fix one more instance of r18295nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04fix platform specific overrides for kernel modules, fixes lp on brcm-2.4nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the ↵nbd
board name around in kmod-* package versions anymore git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17[package] ensure CONTROL directory is created (#5683)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18add a modified version of the mips64 patch from #4603nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03get rid of one more $(shell) instancenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03replace a few unnecessary $(shell) callsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03avoid repeating the same dependency multiple timesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11fix LINUX_KARCH for x86nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18change the way ./files* and the generic kernel files are applied. ./files ↵nbd
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-09-02make sure that when the kernel config changes, compile is triggered for all ↵nbd
kernel dependent packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27fix kconfig for packages that only define =y, =m or =n rulesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-15This patch makes kernel modules check if config is defined and creates a configthepeople
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-11add a macro to compare kernel patch versions and use it for crypto and ↵nico
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-04-28add optional version suffix to kernel files/ directoriesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30fix kernel config related build errornbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30include the kernel config for kernel related packages (should fix some b43 ↵nbd
compile issues) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23don't specify "CC=<nothing>" on kernel build command linenbd
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-23don't replace powerpc arch with ppcnbd
'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-09-16revert CONFIG_* symbols set m enforcement introduced in [8591], it can't ↵nico
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-10fix kernel build with quiltnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08fix kmod-crypto, emit warning messages for kmod packages that cannot be ↵nbd
built due to missing kernel config options git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08major target cleanup. it is now possible to have subtargets that can ↵nbd
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-06strip the kernel version suffix from target directories, except for brcm-2.4 ↵nbd
(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-03require all CONFIG_* symbols listed in its KCONFIG to be set to m in order ↵nico
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-03provide default PKG_BUILD_DIR for packages missing a PKG_VERSIONnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02use a default VERSION field for kmod packagesnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26add a '@KERNEL' download facility, tweak scriptnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵nico
is always available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is ↵nico
defined when dumping target infos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25add support for KernelPackage/*/descriptionnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-16revert [8415], seems to be causing problems for the kernel buildnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-15always include kernel config for kernel packagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73