<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/kernel.mk, branch v18.06.7</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2018-12-18T16:22:03Z</updated>
<entry>
<title>build: remove obsolete -rc kernel testing rewrites</title>
<updated>2018-12-18T16:22:03Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2018-10-15T18:00:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8b07cd6000ddf7c8827114e44e574b094ef16ce4'/>
<id>urn:sha1:8b07cd6000ddf7c8827114e44e574b094ef16ce4</id>
<content type='text'>
The -rcX "testing" kernels are no longer hosted on
cdn.kernel.org file servers directly in a "testing"
directory. Therefore the logic that tested for "-rc"
can be removed.

Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
(backported from 92bcd08989dede0f60589023e2aea4a864de76c6)
</content>
</entry>
<entry>
<title>build: insert blank line after KernelPackage template to allow chaining calls to it</title>
<updated>2018-12-18T16:22:03Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2018-10-01T10:44:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=868a4cf69f93e4425411801f986e1073b5b24b29'/>
<id>urn:sha1:868a4cf69f93e4425411801f986e1073b5b24b29</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(backported from b7855230a348fa711de70665c861f63c631c98e9)
</content>
</entry>
<entry>
<title>build: fix kernel headers install for uml</title>
<updated>2018-12-18T16:22:03Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2018-09-29T15:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ca05fd5ebf20244d6ace73ebcd976414e7fcb0c4'/>
<id>urn:sha1:ca05fd5ebf20244d6ace73ebcd976414e7fcb0c4</id>
<content type='text'>
The kernel headers makefile needs to override LINUX_KARCH

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(backported from c3a0102195a2902f1964b667fb86031308c78f9d)
</content>
</entry>
<entry>
<title>include/kernel.mk: build kmod packages with empty FILES</title>
<updated>2018-04-12T03:47:10Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-04-10T07:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d3756a9a134bdca2a6af0d6e0772778cc1bb42e1'/>
<id>urn:sha1:d3756a9a134bdca2a6af0d6e0772778cc1bb42e1</id>
<content type='text'>
kmod packages without FILES did not have an install step defined, leading
to no package being built. This affected netfilter/iptables packages, which
filter out builtin modules from FILES.

Not building a package that it is selected in .config is problematic, as
the generated empty package may be necessary to satisfy dependencies.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>kernel: include: remove last .0 from kernel versions again</title>
<updated>2017-12-16T21:15:23Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2017-11-17T21:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=5c944d95ecc3c0f0e1d0f33d18574c1b7d29f6dd'/>
<id>urn:sha1:5c944d95ecc3c0f0e1d0f33d18574c1b7d29f6dd</id>
<content type='text'>
Kernel 4.14 has the version number 4.14 and not 4.14.0. This was
different in some older Linux kernel versions, This change makes it
possible to use kernel 4.14 without any minor version.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>build: fix module symbol collection if build_dir is a symlink</title>
<updated>2017-11-07T21:58:46Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2017-11-03T09:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e26ffb31dfa30d498b963a86d231835e3af7d3df'/>
<id>urn:sha1:e26ffb31dfa30d498b963a86d231835e3af7d3df</id>
<content type='text'>
If PKG_BUILD_DIR contains symlinks, the generated Module.symvers will
contain the resolved paths, not the virtual path with the symlink name.

This breaks the filter for the module's own symbols, so to fix this
ensure we also grep for the resolved path.

Reported-by: Roman Yeryomin &lt;roman@advem.lv&gt;
Tested-by: Roman Yeryomin &lt;roman@advem.lv&gt;
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>include: kernel.mk: simplify module autoloading</title>
<updated>2017-11-07T11:02:06Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-08-23T20:27:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=2b6facc8d4b33c04ae0b544933d1489adf347bfc'/>
<id>urn:sha1:2b6facc8d4b33c04ae0b544933d1489adf347bfc</id>
<content type='text'>
Let the generic postinstall script invoke "kmodloader" when the just
installed package contains any /etc/module.d/ entries.

This allows us to skip the explicit "insert_module()" calls in the
package postinstall.

Due to the removed insert_module calls we do not need to assemble a
complete list of modules per package anymore, which allows for vast
simplification of the package generation code.

While we're at it, also support specifying default parameters for
modules using either the MODPARAM or MODPARAM.modulename variables
in KernelPackage.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: actually fix the creation of PKG_INFO_DIR</title>
<updated>2017-10-28T09:57:39Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2017-10-28T09:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=22b5e285ab36ee0a0dae97d4f60dc77fc3943bee'/>
<id>urn:sha1:22b5e285ab36ee0a0dae97d4f60dc77fc3943bee</id>
<content type='text'>
The creation was accidentally moved to the wrong hook, fix it by moving
it to the pre hook.

Fixes: e5e5c3f5fd38 ("build: ensure PKG_INFO_DIR exists before trying to use it")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: ensure PKG_INFO_DIR exists before trying to use it</title>
<updated>2017-10-28T09:19:25Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2017-10-28T09:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e5e5c3f5fd38f1f0dd8d4672fc64bdd0a1a01add'/>
<id>urn:sha1:e5e5c3f5fd38f1f0dd8d4672fc64bdd0a1a01add</id>
<content type='text'>
PKG_INFO_DIR is only created at the finish step of the first package
build, but kernel modules now use it at the start. Doing a parallel build
could cause a kernel module to be the first package, breaking the build.

Fix this by ensuring the directory exists.

Fixes: 2e496876c60c ("kernel: collect module symvers for external modules")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel: collect module symvers for external modules</title>
<updated>2017-10-27T11:06:15Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2017-07-20T20:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=2e496876c60cc45a06ac610e02c00ec767028b64'/>
<id>urn:sha1:2e496876c60cc45a06ac610e02c00ec767028b64</id>
<content type='text'>
Collect module symvers for all external modules to make them available
for modpost. This fixes dependencies for most external modules.

Example:

Before:

root@LEDE:/# modinfo mt76
module:         /lib/modules/4.4.74/mt76.ko
license:        Dual BSD/GPL
depends:

After:

root@LEDE:/# modinfo mt76
module:         /lib/modules/4.4.74/mt76.ko
license:        Dual BSD/GPL
depends:        mac80211,cfg80211

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
</feed>
