<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jow/include/target.mk, branch main</title>
<subtitle>Staging tree of Jo-Philipp Wich</subtitle>
<id>https://git.openwrt.org/openwrt/staging/jow/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/jow/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/'/>
<updated>2024-12-02T12:55:36Z</updated>
<entry>
<title>target/metadata: set OpenWrt One as the default menuconfig target/profile</title>
<updated>2024-12-02T12:55:36Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2024-11-29T08:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=5c12fe45b98d9edab88b580b23dbe3528b025fd5'/>
<id>urn:sha1:5c12fe45b98d9edab88b580b23dbe3528b025fd5</id>
<content type='text'>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>Revert "target,base-files: unify handling of procd-ujail"</title>
<updated>2024-11-26T05:07:33Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-11-25T21:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=341cc047b9174280d89f1b5494a42837ccbadb12'/>
<id>urn:sha1:341cc047b9174280d89f1b5494a42837ccbadb12</id>
<content type='text'>
This reverts commit ac640718aa0ceae55969bb9e7e45d00bb7bc228a as it
removes base-files package when KERNEL_NAMESPACES is deselected, as
base-files depends on procd-ujail which needs KERNEL_NAMESPACES.

Fixes: #17075
Link: https://github.com/openwrt/openwrt/pull/17081
Link: https://github.com/openwrt/openwrt/pull/17081
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>target,base-files: unify handling of procd-ujail</title>
<updated>2024-11-17T18:29:06Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-11-17T04:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=ac640718aa0ceae55969bb9e7e45d00bb7bc228a'/>
<id>urn:sha1:ac640718aa0ceae55969bb9e7e45d00bb7bc228a</id>
<content type='text'>
Remove the remaining special handling of procd-ujail in a same way as
the rest of the packages was handled in the commit 4c65359af49b ("build:
fix including busybox, procd and apk/opkg in imagebuilder").

Fixes: 44598c233dd9 ("build: remove broken dependency of metadata on toplevel .config variables")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
Link: https://github.com/openwrt/openwrt/pull/16986
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add comments to makefiles</title>
<updated>2024-11-12T16:56:07Z</updated>
<author>
<name>Sergey Matsievskiy</name>
</author>
<published>2024-11-08T11:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=a72c8c770584075782959f2aa5c1487d68517edd'/>
<id>urn:sha1:a72c8c770584075782959f2aa5c1487d68517edd</id>
<content type='text'>
Add comments to build system makefile functions and variables to help
developers in understanding build system internals and ease the
development process.

This patch adds some documentation examples with proposed doxygen-like
syntax. Hopefully, this would start the discussion and result in
generation of the makefile documentation guidelines.

Signed-off-by: Sergey Matsievskiy &lt;matsievskiysv@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/16888
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: remove broken dependency of metadata on toplevel .config variables</title>
<updated>2024-11-11T18:53:43Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-11-11T18:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=44598c233dd9a676bc34666968f33f8b9ff4dd0c'/>
<id>urn:sha1:44598c233dd9a676bc34666968f33f8b9ff4dd0c</id>
<content type='text'>
Instead of relying on .config symbols for metadata, alter the DEFAULT
variable of affected packages. Fixes enabling opkg vs apk among others.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>target.mk: init default configs if they are missing in the .config</title>
<updated>2024-07-18T12:15:49Z</updated>
<author>
<name>Martin Schiller</name>
</author>
<published>2024-07-18T11:53:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=02488176b7995721d4e8288f0bd9a00428dbb991'/>
<id>urn:sha1:02488176b7995721d4e8288f0bd9a00428dbb991</id>
<content type='text'>
The config options that are enabled by default and where other default
packages depends on should not only be set if there is no .config file,
but also if the .config exists but the config option (e.g.
CONFIG_SECCOMP) is missing in the file.

This is relevant, for example, if you are working with .config templates
and then want to complete the configuration using make defconfig.

Signed-off-by: Martin Schiller &lt;ms@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>target.mk: further improve handling of default enabled SECCOMP</title>
<updated>2024-07-18T12:15:49Z</updated>
<author>
<name>Martin Schiller</name>
</author>
<published>2024-07-17T11:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=ed14add1efcac7491b46cf6628cacc6e9b6a1398'/>
<id>urn:sha1:ed14add1efcac7491b46cf6628cacc6e9b6a1398</id>
<content type='text'>
The fix in commit 847fad476f3d ("target.mk: improve handling of default
enabled SECCOMP") unfortunately does not work for targets where the ARCH
variable is set in ./$(SUBTARGET)/target.mk.

To get this working, the ./$(SUBTARGET)/target.mk must be included
before the check.

Fixes: 847fad476f3d ("target.mk: improve handling of default enabled SECCOMP")
Signed-off-by: Martin Schiller &lt;ms@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>target.mk: fix arm architecture level detection</title>
<updated>2024-07-03T11:09:47Z</updated>
<author>
<name>Lu jicong</name>
</author>
<published>2024-07-02T13:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=d55083fbcaea9cdd2ebc10a2d38989ad485a5357'/>
<id>urn:sha1:d55083fbcaea9cdd2ebc10a2d38989ad485a5357</id>
<content type='text'>
Now kernel configs of armv6k CPUs don't include CONFIG_CPU_V6.
So armv6k CPUs cannot be detected as arm_v6.
Fix this by adding detection for CONFIG_CPU_V6K.

Signed-off-by: Lu jicong &lt;jiconglu58@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/15855
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>target.mk: improve handling of default enabled SECCOMP</title>
<updated>2024-06-19T14:19:10Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-19T14:19:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=847fad476f3d3652e75daa98822662f654bfd225'/>
<id>urn:sha1:847fad476f3d3652e75daa98822662f654bfd225</id>
<content type='text'>
Handling default packages selection is really problematic and error
prone. In all the changes, the SECCOMP config is enabled by default if
supported by the target.

This is problematic for the scenario of the first .config creation where
this option will be enabled by default but the package default are
already being parsed.

This cause the reparsing of the default package on the next command and
the "outdated config" error. To better handle this special case, add
additiona logic to match the dependency in the config and check if
CONFIG_SECCOMP should be enabled by default in the scenario where a
.config needs to be init and doesn't exist.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>toplevel.mk: implement logic to invalidate targetinfo with some config</title>
<updated>2024-06-11T21:58:16Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-05-24T18:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=9a52ec4fa0921cacf4c909ed1f542aab8f7502e6'/>
<id>urn:sha1:9a52ec4fa0921cacf4c909ed1f542aab8f7502e6</id>
<content type='text'>
Implement some logic to invalidate targetinfo files in tmp with the
changing of some config.

Some config might affect DEFAULT_PACKAGES list but DEFAULT_PACKAGES is
only evaluated once. This cause the interesting scenario where someone
install feeds packages, targetinfo is evaluated in tmp and then add some
config like CONFIG_USE_APK. Using make defconfig will still select OPKG
as default package as DEFAULT_PACKAGES in targetinfo has been already
evaluated in the feeds install and is never updated.

To handle this add some logic in toplevel.mk to cache the current state
of these special config and wipe targetinfo when these change.

This cause the targetinfo to be reevaluated and handle this REALLY
corner case.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
