aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
Commit message (Collapse)AuthorAgeFilesLines
* include/kernel.mk: add KernelPackage/conffiles macroNicolas Thill2015-04-021-0/+6
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: only run kernel module list through version filter where version ↵Felix Fietkau2015-03-291-5/+7
| | | | | | | | specific items are present - cuts package/kernel/linux/compile time in half Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix download URL of the 4.x kernel.Michael Büsch2015-03-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: apply version filter on AutoLoad and AutoProbe argumentsJo-Philipp Wich2015-01-311-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: apply version filter on kmod file listJo-Philipp Wich2015-01-291-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop obsolete kernel version checksFelix Fietkau2015-01-241-3/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel.mk: Handle the x86_64 LINUX_KARCH caseFelix Fietkau2014-12-121-1/+1
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel.mk: Refactor LINUX_KARCH affectationFelix Fietkau2014-12-121-4/+11
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sdk: don't try to build in-kernel kmodsJonas Gorski2014-12-051-1/+1
| | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* aarch64: add initial supportFlorian Fainelli2014-11-241-1/+1
| | | | | | | | Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow AutoLoad and AutoProbe to specify modules not included in the ↵Felix Fietkau2014-11-191-8/+4
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove debug code from module insert scriptJohn Crispin2013-10-081-1/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: add AutoProbe supportJohn Crispin2013-09-171-0/+23
| | | | | | | | This is needed to make modprobe work Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: modify kernel.mk to build empty kmod packages if the referenced ↵Jo-Philipp Wich2013-07-181-3/+7
| | | | | | symbols do not exist in the config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: fix insmod on installJohn Crispin2013-06-221-1/+1
| | | | | | | | the procd changes broke the postinst insmod. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel.mk: print warnings/errors to stderrJonas Gorski2013-02-211-3/+3
| | | | | | | | Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix module packages postinst by pointing to the new functions.sh ↵Felix Fietkau2012-12-201-1/+1
| | | | | | location git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] fixes uapi helper defineJohn Crispin2012-12-161-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] adds wrapper for uapi directoryJohn Crispin2012-12-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based ↵Felix Fietkau2012-12-021-1/+1
| | | | | | dependencies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate ↵Jo-Philipp Wich2012-11-221-1/+1
| | | | | | build_dir/linux-* directories when building different libc implementations in the same buildroot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use xz compressed kernel tarballsImre Kaloz2012-11-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* we only support v3.x kernelsImre Kaloz2012-11-181-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: calculate md5sum over sorted kernel config symbol list and ↵Jo-Philipp Wich2012-01-081-1/+5
| | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel.mk: don't check for modules.builtin on 2.6.32-Jonas Gorski2011-11-131-4/+8
| | | | | | | modules.builtin is only available in 2.6.33 and later, so fall back to assuming it's built-in for older kernels. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel.mk: enhance built-in/missing modules detection when packaging ↵Nicolas Thill2011-11-081-1/+4
| | | | | | kmods git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/blockmount: simplify extroot module loading logicNicolas Thill2011-10-281-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: build kmod even for modules built-inNicolas Thill2011-10-281-14/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix kernel version check macro typoMichael Büsch2011-10-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] kernel.mk: also do not download Linux if ↵Jo-Philipp Wich2011-10-031-1/+1
| | | | | | CONFIG_KERNEL_GIT_CLONE_URI is set git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel.mk: fix download path for linux 3.xJonas Gorski2011-08-091-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* only export GCC_HONOUR_COPTS for the built-in toolchain, fixes ↵Felix Fietkau2011-07-251-1/+3
| | | | | | missing-fhonour-copts warnings with external toolchains git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel.mk: Fix kernel module path for 3.0Jonas Gorski2011-07-241-3/+8
| | | | | | | 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
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove kernel major version specific kernelpackage overridesFelix Fietkau2011-05-301-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-0/+1
| | | | | | only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external ↵Nicolas Thill2010-07-121-0/+2
| | | | | | modules in ./packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950Claudio Mignanti2010-07-121-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packagesFelix Fietkau2010-03-291-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not download kernel sources when using an external kernel treeFelix Fietkau2009-12-141-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix one more instance of r18295Felix Fietkau2009-11-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix platform specific overrides for kernel modules, fixes lp on brcm-2.4Felix Fietkau2009-11-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ensure CONTROL directory is created (#5683)Florian Fainelli2009-08-171-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a modified version of the mips64 patch from #4603Felix Fietkau2009-04-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of one more $(shell) instanceFelix Fietkau2009-03-031-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-6/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73