<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/toolchain/kernel-headers, branch v23.05.4</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.4</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.4'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2024-04-27T06:52:38Z</updated>
<entry>
<title>toolchain: kernel-headers: remove debugging env dump</title>
<updated>2024-04-27T06:52:38Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-07-20T06:41:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7c7cc28485c760a1162029e402016eb807742b5e'/>
<id>urn:sha1:7c7cc28485c760a1162029e402016eb807742b5e</id>
<content type='text'>
Remove debugging `env` dump left over as build environments might
contain some sensitive information, which then might leak into the build
logs.

Fixes: 2105acbe2804 ("kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit def41cf2bab825e46a31eb0a9ccf51288edfe27d)
</content>
</entry>
<entry>
<title>toolchain: kernel-headers: fix check target for external Git trees</title>
<updated>2024-04-27T06:52:34Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-07-20T13:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c3372266ba2b809310804f414f1042a51299200d'/>
<id>urn:sha1:c3372266ba2b809310804f414f1042a51299200d</id>
<content type='text'>
Executing following command currently fails:

 $ make toolchain/kernel-headers/{download,check} V=sc FIXUP=1
 ...
 include/kernel-version.mk:11: *** Missing kernel version/hash file for . Please create include/kernel-.  Stop.

So lets fix it by adding the necessary missing KERNEL_PATCHVER variable.

That additional kernel-build.mk include is needed to add another set of
missing variables:

 $ make toolchain/kernel-headers/{download,check} V=sc FIXUP=1
 ...
 Makefile:115: *** ERROR: Unknown pack format for file tmp/dl/.  Stop.

Fixes: 0765466a42f4 ("kernel: split kernel version to dedicated files")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 6b7f1ffbad732c5e1818f9387c02dda109c2748b)
</content>
</entry>
<entry>
<title>toolchain: assign PKG_CPE_ID</title>
<updated>2023-09-27T20:37:01Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2023-09-18T22:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=0ba56ae4466e4320d744bb0c959fdae70b7fc941'/>
<id>urn:sha1:0ba56ae4466e4320d744bb0c959fdae70b7fc941</id>
<content type='text'>
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining package which have a CPE ID.
Not every package has a CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>toolchain: kernel-headers: kernel Git tree mirror hash</title>
<updated>2020-11-27T13:46:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-21T14:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=796d51834c5be85771d26e433fd509cd3bef72e3'/>
<id>urn:sha1:796d51834c5be85771d26e433fd509cd3bef72e3</id>
<content type='text'>
Allow setting of mirror hash for Git kernel tree.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>toolchain: kernel-headers: fix check target for kernel Git tree</title>
<updated>2020-11-27T13:46:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-21T15:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=bb7ba6b6a81d1fb7ac6075edfd8e8b713dd61db2'/>
<id>urn:sha1:bb7ba6b6a81d1fb7ac6075edfd8e8b713dd61db2</id>
<content type='text'>
Currently the check target fails if the kernel Git tree is used:

 $ make toolchain/kernel-headers/{download,check}

  make[2]: Entering directory 'toolchain/kernel-headers'
  Makefile:105: *** ERROR: Unknown pack format for file openwrt/tmp/dl/.  Stop.
  make[2]: Leaving directory 'toolchain/kernel-headers'
  toolchain/Makefile:100: recipe for target 'toolchain/kernel-headers/check' failed

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>toolchain/kernel-headers: don't use TARGET_CFLAGS</title>
<updated>2019-10-16T15:10:38Z</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
</author>
<published>2019-10-12T07:41:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=14881b49d8d7e84f67074845d039f43df1a0d663'/>
<id>urn:sha1:14881b49d8d7e84f67074845d039f43df1a0d663</id>
<content type='text'>
Kernel utilities (e.g. scripts/kconfig/conf) are being built to run on
the host system at this stage, therefore it makes no sense to use the
target system CC flags.  Use HOSTCFLAGS instead

While we're here rename KMAKE macro to HOST_KMAKE to make it even more
obvious that we're building for host.

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
</content>
</entry>
<entry>
<title>kernel-headers: adjust PKG_ variables when using git clone method</title>
<updated>2018-01-27T15:46:45Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2018-01-17T10:55:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ca7e8627dbbbcae0d1bfacea51d9b564617195de'/>
<id>urn:sha1:ca7e8627dbbbcae0d1bfacea51d9b564617195de</id>
<content type='text'>
When using an external git clone for the kernel repo,
the build would fail because the build won't download
[via git] the kernel tarball.

This is because the `toolchain/kernel-headers` assumes
that the kernel would get downloaded via normal HTTP.
The reason for this is the `HostBuild` rule, which
calls the `Download/default` rule.

To use the `Download/default` we just need to conditionally
adjust some PKG_ vars.

We can safely use `LINUX_VERSION` as it was already adjusted
in the `kernel-version.mk` to avoid collisions with other tarballs.

Fixes:
 https://bugs.openwrt.org/index.php?do=details&amp;task_id=503

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: use KERNEL_MAKE_FLAGS for kernel file compilations</title>
<updated>2017-10-29T15:17:05Z</updated>
<author>
<name>Karl Vogel</name>
</author>
<published>2017-10-13T09:10:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8'/>
<id>urn:sha1:76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8</id>
<content type='text'>
The build system already defines KERNEL_CROSS which defaults to TARGET_CROSS.
Make use of this variable for kernel makefiles.

Signed-off-by: Karl Vogel &lt;karl.vogel@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: remove old kernel-headers build directories</title>
<updated>2017-06-16T13:16:52Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-06-16T13:15:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=76b62e602233d1a2e1f8ef1c0833bd22ebaaf832'/>
<id>urn:sha1:76b62e602233d1a2e1f8ef1c0833bd22ebaaf832</id>
<content type='text'>
Saves space after updating kernel versions

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>treewide: clean up download hashes</title>
<updated>2016-12-16T21:39:22Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-12-16T16:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=720b99215da295a2e7b4acdef30b58bec6acedc2'/>
<id>urn:sha1:720b99215da295a2e7b4acdef30b58bec6acedc2</id>
<content type='text'>
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
