<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/kernel.mk, branch v19.07.3</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v19.07.3</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v19.07.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-09-04T11:35:17Z</updated>
<entry>
<title>build: include BUILD_VARIANT in PKG_BUILD_DIR</title>
<updated>2019-09-04T11:35:17Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-08-03T20:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=cc7560eb22d2c491a0a995135780f3e8aa3cfa6f'/>
<id>urn:sha1:cc7560eb22d2c491a0a995135780f3e8aa3cfa6f</id>
<content type='text'>
This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into
account (if set), so that packages do not need to manually override
PKG_BUILD_DIR just to handle variants.

This also updates most base packages with variants to use the updated
default PKG_BUILD_DIR.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
(cherry picked from commit e545fac8d968864a965edb9e50c6f90940b0a6c9)
</content>
</entry>
<entry>
<title>build: skip kernel stack validation when building on macOS</title>
<updated>2019-09-04T11:23:33Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2019-07-03T11:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3ff6397068d6f621fb3b648aba8bd90f314721f6'/>
<id>urn:sha1:3ff6397068d6f621fb3b648aba8bd90f314721f6</id>
<content type='text'>
Since we switched to 4.19, the kernel build checks for libelf to decide if
it should build tools for stack validation.

On macOS, this check fails during target/compile, but succeeds during package
build (because of the pkg-config path picking up target libraries).

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry picked from commit c3e31b6a9b040912be0b532f9bf29d91c6c74382)
</content>
</entry>
<entry>
<title>build: fix external module symbol collection if build_dir is a symlink</title>
<updated>2019-06-06T10:05:51Z</updated>
<author>
<name>Roman Yeryomin</name>
</author>
<published>2019-04-12T15:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=94464cfca297241870678e176274bbca878aa174'/>
<id>urn:sha1:94464cfca297241870678e176274bbca878aa174</id>
<content type='text'>
e26ffb31dfa30d498b963a86d231835e3af7d3df fixed only embedded modules
symbol collection. If we are building external modules, like broadcom-wl
or lantiq dsl stuff then modules which do EXPORT_SYMBOL have unresolved
paths in Module.symvers and external module which depend on other
external modules will have empty dependencies, leading to broken
module loading.
This was discussed on IRC with Jonas some time ago.
Fix this by handling both resolved and unresolved paths.

Fixes: e26ffb31dfa3 ("build: fix module symbol collection if build_dir is a symlink")
Signed-off-by: Roman Yeryomin &lt;roman@advem.lv&gt;
[jonas.gorski@gmail.com: add appropriate fixes tag]
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>include/kernel: sort autoload modules list to fix reproducible builds</title>
<updated>2019-02-28T16:57:30Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2019-02-28T15:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ba3690c90c9717871ec71b24d22d9da2f283762f'/>
<id>urn:sha1:ba3690c90c9717871ec71b24d22d9da2f283762f</id>
<content type='text'>
When autoloading more than one modules per packages,
/etc/modules.d/$module depends on the file system ordering.
To test this: use disorderfs on the build_dir and build kmod-sched.

Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>build: fix build dependency of kmod .ipk with version filtered files</title>
<updated>2018-12-18T20:04:17Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-12-17T13:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=eda3094eb974cc0540562ae710ea543e037632ba'/>
<id>urn:sha1:eda3094eb974cc0540562ae710ea543e037632ba</id>
<content type='text'>
We need to use resolved file list as prerequisites for repacking kmod
.ipk files.  Note that currently version_filter uses a Makefile macro
KERNEL_PATCHVER that should be available at ipk building time.

Reported-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel: fix downloading rcX releases</title>
<updated>2018-12-03T08:34:57Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2018-12-03T08:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=966ba6daa430922e41ca7598385817f5a611c9c7'/>
<id>urn:sha1:966ba6daa430922e41ca7598385817f5a611c9c7</id>
<content type='text'>
They are no longer stored in the "testing" subdirectory and are not
available as .tar.xz archives. If -rc is detected download it from the
git.kernel.org and use .tar.gz.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>build: remove obsolete -rc kernel testing rewrites</title>
<updated>2018-10-20T14:13:39Z</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=92bcd08989dede0f60589023e2aea4a864de76c6'/>
<id>urn:sha1:92bcd08989dede0f60589023e2aea4a864de76c6</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;
</content>
</entry>
<entry>
<title>build: insert blank line after KernelPackage template to allow chaining calls to it</title>
<updated>2018-10-06T11:02:29Z</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=b7855230a348fa711de70665c861f63c631c98e9'/>
<id>urn:sha1:b7855230a348fa711de70665c861f63c631c98e9</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: fix kernel headers install for uml</title>
<updated>2018-09-29T16:09:45Z</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=c3a0102195a2902f1964b667fb86031308c78f9d'/>
<id>urn:sha1:c3a0102195a2902f1964b667fb86031308c78f9d</id>
<content type='text'>
The kernel headers makefile needs to override LINUX_KARCH

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</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>
</feed>
