aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/linux/Makefile
Commit message (Collapse)AuthorAge
* treewide: use APK compatible version schemaPaul Spooren2024-03-22
| | | | | | | | | | | | | | | | | Different from OPKG, APK uses a deterministic version schema which chips the version into chunks and compares them individually. This enforces a certain schema which was previously entirely flexible. - Releases are added at the very and end prefixed with an `r` like `1.2.3-r3`. - Hashes are prefixed with a `~` like `1.2.3~abc123`. - Dates become semantic versions, like `2024.04.01` - Extra tags are possible like `_git`, `_alpha` and more. For full details see the APK test list: https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data Signed-off-by: Paul Spooren <mail@aparcar.org>
* kernel: update deprecated license informationFlorian Eckert2024-03-21
| | | | | | | | | Update the deprecated license information from GPL-2.0 to GPL-2.0-only as written in the COPYING file of the linux source tree. Also add the 'COPYING' file to the PKG_LICENSE_FILES variable. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kernel: include modinfo for built-in modulesTony Ambardar2024-01-06
| | | | | | | | | | | | | | | | | | Add modules.builtin.modinfo to the kernel package, to support presence testing using module aliases and printing module details with 'modinfo'. With related kmodloader changes this adds ~2 KB to compressed image sizes. root@OpenWrt:/# modinfo unix name: unix filename: (builtin) alias: net-pf-1 license: GPL root@OpenWrt:/# modprobe net-pf-1 && echo SUCCESS || echo FAIL SUCCESS Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: include built-in module listTony Ambardar2024-01-06
| | | | | | | | | | | | | | | | | | | | | | Add modules.builtin to the kernel package for improved handling of loadable and builtin modules. As with other distros, this allows 'modprobe <module>' to consistently return success for both loaded/built-in modules, a useful feature for presence-testing. Given OpenWrt's few built-in modules, this change and related kmodloader support add ~1 KB to the compressed image size. Using sch_fq_codel (builtin) and sch_cake (loadable) for example: root@OpenWrt:/# modprobe sch_fq_codel && echo SUCCESS || echo FAIL SUCCESS root@OpenWrt:/# modprobe sch_cake && echo SUCCESS || echo FAIL SUCCESS root@OpenWrt:/# rmmod sch_fq_codel module is builtin Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* treewide: disable QUILT refresh for unsupported packagesChristian Marangi2023-10-20
| | | | | | | | | Some packages won't ever have something to patch as they normally install files or are meta-packages. For these special packages, disable QUILT refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* build: fix issues with targets installed via feedsFelix Fietkau2022-09-27
| | | | | | | - fix including modules.mk when a target is being replaced - fix calling make targets from target/linux Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix including modules.mk for targets pulled in from feedsFelix Fietkau2022-09-18
| | | | | Fixes: ebc36ebb2349 ("scripts/feeds: install targets to target/linux/feeds and support overriding") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: introduce $(MKHASH)Leonardo Mörlein2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, it was assumed that mkhash is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. In most of the cases, I just saw warnings like this: make: Entering directory '/home/.../package/gluon-status-page' bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found [...] While these were only warnings and the package still compiled sucessfully, I also observed that some package even fail to build because of this. After applying this commit, the variable $(MKHASH) is introduced. This variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the correct path. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* linux: update license tag to use correct SPDX tagFlorian Eckert2018-07-07
| | | | | | Use SPDX tag. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* build: use mkhash to replace various quirky md5sum/openssl callsFelix Fietkau2017-01-05
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package/kernel/linux: only access kernel config if DUMP is unsetFelix Fietkau2016-12-16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix module dependency checkingMatthias Schiffer2016-09-30
| | | | | | | Since the kernel makefile is using .ONESHELL, we need to add -e to .SHELLFLAGS so errors are not ignored. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* package: flag essential components as nonsharedJo-Philipp Wich2016-04-06
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* cosmetic: remove trailing whitespacesLuka Perkov2015-10-15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47197
* kernel: add netfilter.mk to modules makefile SCAN_DEPSFelix Fietkau2014-12-09
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43589
* kernel: use .ONESHELL to speed up processing of many kmod-* packagesFelix Fietkau2014-10-22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43024
* kernel: use /bin/sh instead of bash to speed up processing of many kmod-* ↵Felix Fietkau2014-10-22
| | | | | | | | packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43022
* kernel: reduce spurious rebuilds of simple kmod-* packagesFelix Fietkau2013-07-18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37403
* build: add kernel modules to package provides info (along with shared libs)Felix Fietkau2013-07-18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37385
* packages: clean up the package folderJohn Crispin2013-06-21
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007