<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/linux/linux.mk, branch 2018.02.1</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2018.02.1</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2018.02.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2018-04-09T16:01:27+00:00</updated>
<entry>
<title>package/linux: fix custom dts files handling</title>
<updated>2018-04-09T16:01:27+00:00</updated>
<author>
<name>Rafal Susz</name>
<email>rafal.susz@gmail.com</email>
</author>
<published>2018-03-13T18:00:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=014dbd4855fa0d52a32d2e2d15b425c64b2e7c95'/>
<id>urn:sha1:014dbd4855fa0d52a32d2e2d15b425c64b2e7c95</id>
<content type='text'>
Custom dts files are still conditionally copied based on non existing
boolean. So it is currently not possible to use custom dts file(s) at all.

List of dts files is now iterated and files are copied into dedicated kernel arch dir.

Signed-off-by: Rafal Susz &lt;rafal.susz@gmail.com&gt;
Tested-by: Jan Kundrát &lt;jan.kundrat@cesnet.cz&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
(cherry picked from commit 54157c6c2d9fba5ad230294ae1c7dfc0032b1ede)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>linux: add BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF</title>
<updated>2018-03-30T16:59:16+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@bootlin.com</email>
</author>
<published>2018-03-04T21:31:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=803f16c9671b503a265a39d7b94fba0acd2b3c4c'/>
<id>urn:sha1:803f16c9671b503a265a39d7b94fba0acd2b3c4c</id>
<content type='text'>
Some Linux kernel configuration options (such as CONFIG_UNWINDER_ORC)
require building a host program that needs libelf.

Users who have libelf installed on their system won't see a problem,
but users who don't have libelf installed will get a build
failure. Therefore, this commit adds an option that allows a user to
indicate that his Linux kernel configuration requires libelf. When
this option is enabled, we add host-elfutils to the dependencies of
the linux package (host-elfutils provides the libelf library).

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
(cherry picked from commit f7cd72b3d4e2b1d993c293e355e350bedbed4eab)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>linux: add BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL</title>
<updated>2018-03-30T16:59:03+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@bootlin.com</email>
</author>
<published>2018-03-04T21:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cec73346519d9da80bc0a52534b643c15987b4a5'/>
<id>urn:sha1:cec73346519d9da80bc0a52534b643c15987b4a5</id>
<content type='text'>
Some Linux kernel configuration options (such as
CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host program called
extract-cert, which itself needs OpenSSL.

Users having OpenSSL installed on their system won't see a problem,
but users who don't have OpenSSL installed will get a build
failure. This commit adds a new option that allows users to indicate
that their Linux configuration requires building host-openssl.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
(cherry picked from commit 93a7edf4bc9bfcf821f608815870d06198eb2adf)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>linux: fix passing of host CFLAGS and LDFLAGS</title>
<updated>2018-03-30T16:58:31+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@bootlin.com</email>
</author>
<published>2018-03-04T21:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=52e3da46e47cd36305b180bc489f89581a76ffed'/>
<id>urn:sha1:52e3da46e47cd36305b180bc489f89581a76ffed</id>
<content type='text'>
We were passing HOSTCFLAGS="$(HOSTCFLAGS)" to Linux. However:

 - HOSTCFLAGS in Buildroot doesn't exist, and is empty, so this
   assignment never did anything. The name of the variable in
   Buildroot in HOST_CFLAGS.

 - HOSTCFLAGS in Linux isn't used everywhere, and passing it overrides
   the default HOSTCFLAGS value defined in the main Linux kernel
   Makefile.

In addition, there is no way to pass additional host LDFLAGS in the
Linux kernel build system.

Therefore, we simply shoehorn our HOST_CFLAGS and HOST_LDFLAGS while
passing HOSTCC to the Linux kernel build system. This has been tested
to work fine with host OpenSSL and host libelf only available in
$(HOST_DIR).

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
Tested-by: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
(cherry picked from commit dde090c299b0357fdb1a4ec44ad8d332ac57f65e)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/linux: drop useless intermediate DTS booleans</title>
<updated>2018-03-30T16:46:55+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2018-02-26T17:47:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=fe8c2831239eae57dc2fb9223fed6158c581979c'/>
<id>urn:sha1:fe8c2831239eae57dc2fb9223fed6158c581979c</id>
<content type='text'>
Just use whatever the user specified in the list. An empty list means no
DTS was specified.

No need to add legacy option, as the behaviour does not change.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Simon van der Veldt &lt;simon.vanderveldt@gmail.com&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Cc: Peter Korsgaard &lt;peter@korsgaard.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
Tested-by: Joshua Henderson &lt;joshua.henderson@microchip.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
(cherry picked from commit f142f23ecf9ee69326fd6a4387133443513afdd2)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>linux: allow both in-tree and custom dts files</title>
<updated>2018-03-30T16:45:51+00:00</updated>
<author>
<name>Simon van der Veldt</name>
<email>simon.vanderveldt@gmail.com</email>
</author>
<published>2018-02-21T19:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b9baac21beb95c4e045c783288ebdbfbbcde820d'/>
<id>urn:sha1:b9baac21beb95c4e045c783288ebdbfbbcde820d</id>
<content type='text'>
For some boards, for example the Raspberry Pi, it's necessary to build
in-tree dts files as well as custom/out of tree dts-files (dt-blob.bin).
The existing logic made these two options exclusive, this commit changes
that to allow both in-tree as well as custom sources for dts files.

Signed-off-by: Simon van der Veldt &lt;simon.vanderveldt@gmail.com&gt;
[Arnout: re-wrap help, add extra empty line, change = into +=]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;

(cherry picked from commit 382fe9f9261812682eab2d35e47aa94dc554380e)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>linux: meddle not in the internals of filesystems</title>
<updated>2017-11-30T10:49:07+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2017-11-12T17:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cef77a6cf5c1982d22e899f046d5e345c0271e7a'/>
<id>urn:sha1:cef77a6cf5c1982d22e899f046d5e345c0271e7a</id>
<content type='text'>
Currently, the rule to rebuild the Linux kernel with an initramfs
directly depends on the path of the file of the intermediate cpio image.

This is inherently "bad" from a purity point of view; linux.mk should
not have to delve into the fs internals.

Rather, make it directly depend on the "frontal" rule that generates the
cpio image.

Drop the comment for linux-rebuild-with-initramfs, it was misleading
(talking about generating "the initramfs list of files", which is not
what was done, since we use a cpio as source of initramfs, not a list of
files).

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Cc: Romain Naour &lt;romain.naour@openwide.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>linux: split overly-long dependency line for readability</title>
<updated>2017-11-30T10:40:59+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2017-11-12T17:45:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6426f64176ea33660a05c8bccd2b8c5e38220a63'/>
<id>urn:sha1:6426f64176ea33660a05c8bccd2b8c5e38220a63</id>
<content type='text'>
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Reviewed-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>linux: Deselect all unconfigured compression options</title>
<updated>2017-10-21T18:20:45+00:00</updated>
<author>
<name>Cam Hutchison</name>
<email>camh@xdna.net</email>
</author>
<published>2017-10-19T10:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=712f81fb3c3d8cdfb7e7ac89738ca8690493604f'/>
<id>urn:sha1:712f81fb3c3d8cdfb7e7ac89738ca8690493604f</id>
<content type='text'>
The LINUX_KCONFIG_FIXUP_CMDS are meant to deselect any compression
option that are not selected in the buildroot configuration. But it only
deselects the last one in the list instead of all of them because it
overwrites the LINUX_COMPRESSION_OPT_ variable instead of appending to
it. Only the last option set to that variable gets deselected.

This produces the warning:

.config:2216:warning: override: KERNEL_GZIP changes choice state

is emitted when buildroot runs olddefconfig when buildroot configures a
kernel with a custom config that has a different kernel compression
option set to what is configured in buildroot.

Accumulate all the deselected compression options instead of overwriting
them to ensure all non-selected options get deselected..

Signed-off-by: Cam Hutchison &lt;camh@xdna.net&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>wireguard: add new package</title>
<updated>2017-10-02T20:59:26+00:00</updated>
<author>
<name>Aurélien Chabot</name>
<email>aurelien@chabot.fr</email>
</author>
<published>2017-09-06T20:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5a47141ebb62dc4248bb94f04a35413a8b503064'/>
<id>urn:sha1:5a47141ebb62dc4248bb94f04a35413a8b503064</id>
<content type='text'>
[Peter: Fix help text, drop suboptions, drop patches, fix dependencies,
 handle optional bash dependency, use kernel-module infrastructure,
 enable needed kernel options]
Signed-off-by: Aurélien Chabot &lt;aurelien@chabot.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
