<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/kaloz/include/kernel.mk, branch master</title>
<subtitle>Staging tree of Imre Kaloz</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/kaloz/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/kaloz/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/kaloz/'/>
<updated>2017-12-16T21:15:23Z</updated>
<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-03.infra.openwrt.org/openwrt/staging/kaloz/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-03.infra.openwrt.org/openwrt/staging/kaloz/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-03.infra.openwrt.org/openwrt/staging/kaloz/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-03.infra.openwrt.org/openwrt/staging/kaloz/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-03.infra.openwrt.org/openwrt/staging/kaloz/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-03.infra.openwrt.org/openwrt/staging/kaloz/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>
<entry>
<title>include: Silence external kernel version checks</title>
<updated>2017-10-24T23:59:15Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-10-24T23:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/kaloz/commit/?id=474391573bbd9720a58b6fcd725896f85113e4ec'/>
<id>urn:sha1:474391573bbd9720a58b6fcd725896f85113e4ec</id>
<content type='text'>
During the initial configuration phases, we have not set-up the kernel
source directory, which would lead to such messages:

cat:
/local/users/fainelli/openwrt/trunk/build_dir/target-x86_64_musl/linux-uml/linux-4.9.58/include/config/kernel.release:
No such file or directory

Just silence it, since it does not create a functional problem.

Fixes: 8e0e0e7d8bfb ("include: Determine MODULES_DIR correctly for external/git kernels")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel: fixup KARCH for powerpc64 builds</title>
<updated>2017-10-24T11:24:04Z</updated>
<author>
<name>Florian Larysch</name>
</author>
<published>2016-11-03T12:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/kaloz/commit/?id=f28b3bb56af4cb870f5b9b8a6e5bd0b3021de837'/>
<id>urn:sha1:f28b3bb56af4cb870f5b9b8a6e5bd0b3021de837</id>
<content type='text'>
The kernel calls both ppc64 and ppc32 "powerpc", so we need to fixup
LINUX_KARCH when building with ARCH=powerpc64.

Signed-off-by: Florian Larysch &lt;fl@n621.de&gt;
</content>
</entry>
<entry>
<title>Revert "kernel: do not try to probe builtin modules on empty kmod package install"</title>
<updated>2017-07-21T16:55:19Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-07-21T16:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/kaloz/commit/?id=3e26340a2e5066770c1fd664cdf819899b0f26d7'/>
<id>urn:sha1:3e26340a2e5066770c1fd664cdf819899b0f26d7</id>
<content type='text'>
This change currently causes some issues with loading out of tree kernel modules
so revert that commit for now.

Reverts commit 34c01e68b5d6b06ce3794ef0e2b06e81ec3ce8ca. Fixes FS#919.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>kernel: do not try to probe builtin modules on empty kmod package install</title>
<updated>2017-07-20T10:49:09Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2017-06-18T15:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/kaloz/commit/?id=34c01e68b5d6b06ce3794ef0e2b06e81ec3ce8ca'/>
<id>urn:sha1:34c01e68b5d6b06ce3794ef0e2b06e81ec3ce8ca</id>
<content type='text'>
Builtin modules are always present, and trying to load them will cause
modprobe to spew errors when installing the empty kmod packages.

Fix this by never generating any postinst module install instructions
for builtin modules.

Fixes #842.

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