<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/svanheule/include/toplevel.mk, branch main</title>
<subtitle>Staging tree of Sander Vanheule</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/svanheule/atom?h=main</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/'/>
<updated>2025-12-10T18:04:44Z</updated>
<entry>
<title>build: depend on tools/zstd for download</title>
<updated>2025-12-10T18:04:44Z</updated>
<author>
<name>Andreas Gnau</name>
</author>
<published>2025-12-10T17:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=f3e4620f592be9413a5c71fbc4b664c50a158faa'/>
<id>urn:sha1:f3e4620f592be9413a5c71fbc4b664c50a158faa</id>
<content type='text'>
Downloading packages from git requires zstd to compress their tarballs.
Make sure that zstd from host tools is compiled when running make
download. Otherwise, either the download would fail because zstd is not
present or a random version from the host would be used leading to hash
mismatches.

Signed-off-by: Andreas Gnau &lt;andreas.gnau@iopsys.eu&gt;
Link: https://github.com/openwrt/openwrt/pull/21125
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>toplevel.mk: use relative path for feeds/base symlink</title>
<updated>2025-11-10T14:20:34Z</updated>
<author>
<name>Andy Chiang</name>
</author>
<published>2025-10-04T10:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=631d535282a39f2d6a440b27f211a7678916f525'/>
<id>urn:sha1:631d535282a39f2d6a440b27f211a7678916f525</id>
<content type='text'>
Currently, feeds/base is created as an absolute symlink to $(TOPDIR)/package.
If the OpenWrt source tree is copied to another location for building (while keeping the old tree), the symlink will still point to the package directory in the old tree.
Using a relative symlink ensures that feeds/base always points to the package directory within the current OpenWrt source tree, improving portability and avoiding incorrect links.

Signed-off-by: Andy Chiang &lt;AndyChiang_git@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/20297
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: remove targetinfo invalidation based on .config</title>
<updated>2024-12-02T11:28:52Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-12-02T11:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=3b661cfcf9158a3dc5be6f7e1e1340339c9423b5'/>
<id>urn:sha1:3b661cfcf9158a3dc5be6f7e1e1340339c9423b5</id>
<content type='text'>
Target info no longer depends on config settings

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>config: rename SECCOMP to USE_SECCOMP</title>
<updated>2024-11-24T11:18:21Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2024-11-23T13:29:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=a48ec449ccab0069e84a72837bf06ba543e53aec'/>
<id>urn:sha1:a48ec449ccab0069e84a72837bf06ba543e53aec</id>
<content type='text'>
It seems that we have some kind of a symbol name conflict which causes
CONFIG_SECCOMP to always be read as y.

Unfortunatelly, I could not figure out what is causing this, but simply
renaming SECCOMP to USE_SECCOMP seems to properly work and leaves the
symbol unset unless arch dependencies are satisfied.

This fixes qoriq and others that dont support seccomp from failing due
to procd-seccomp package being selected to get included but it cannot be
built for them:
ERROR: unable to select packages:
  procd-seccomp (no such package):
    required by: base-files-1637~52b6c92479[procd-seccomp]

Fixes: 4c65359af49b ("build: fix including busybox, procd and apk/opkg in imagebuilder")
Link: https://github.com/openwrt/openwrt/pull/17048
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>toplevel.mk: add target feeds in 'make distclean'</title>
<updated>2024-10-08T20:50:50Z</updated>
<author>
<name>Thomas Richard</name>
</author>
<published>2024-09-19T10:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=a544b9252bbda2643704e01c8085cdde2d3f1362'/>
<id>urn:sha1:a544b9252bbda2643704e01c8085cdde2d3f1362</id>
<content type='text'>
When 'make distclean' is called, remove the target feeds.
Otherwise the directory target/linux/feeds/ (with broken symlinks) still
exists after a distclean.

Signed-off-by: Thomas Richard &lt;thomas.richard@bootlin.com&gt;
Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.115093.1726741692.1280.openwrt-devel@lists.openwrt.org/
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toplevel.mk: make sure tmp exist for .packagedynamicdefault</title>
<updated>2024-06-12T13:55:17Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-12T13:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=3810219441350c68f21a5d3788c9c1c3eb5c6be0'/>
<id>urn:sha1:3810219441350c68f21a5d3788c9c1c3eb5c6be0</id>
<content type='text'>
With some big corner case, tmp directory might not exist when
check-dynamic-def-pkg is called. To handle this, make sure tmp exist
before creating the .packagedynamicdefault file.

Fixes: 9a52ec4fa092 ("toplevel.mk: implement logic to invalidate targetinfo with some config")
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-03.infra.openwrt.org/openwrt/staging/svanheule/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>
<entry>
<title>build: align SOURCE path for build system and SDK</title>
<updated>2024-02-17T13:45:35Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-02-12T15:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=cbc7393294960861a50681ef84914858748f5c6b'/>
<id>urn:sha1:cbc7393294960861a50681ef84914858748f5c6b</id>
<content type='text'>
Building a package in the build system or the SDK results in different
values for the `SOURCE` property, it's either `packages/&lt;package name&gt;`
or `feeds/base/&lt;package name&gt;`. The reason is that the SDK handles
`openwrt.git` as an external feed called while the build system contains
the *base* packages directly.

Since packages created with either method are (ideally) the same (bit
for bit), align the content of SOURCE. To do so this commit creates a
symlink from `feeds/base` to `$(TOPDIR)/package` and adopts the SOURCE
when building from inside the build system.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: fix toplevel check target</title>
<updated>2024-01-06T17:57:42Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2024-01-06T17:26:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=184bd28064bc591bf907c42afc9e0b9c1b9858b4'/>
<id>urn:sha1:184bd28064bc591bf907c42afc9e0b9c1b9858b4</id>
<content type='text'>
Partially revert changes to verbose logging that break the 'check' target
dependencies and trigger many runtime warnings like:
  /home/kodidev/openwrt-project/include/toplevel.mk:213: *** mixed implicit and normal rules: deprecated syntax

Fixes: e4a43cda0 ("build: allow var.% targets to bypass the prepare steps")
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>build: allow var.% targets to bypass the prepare steps</title>
<updated>2024-01-05T15:25:13Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-05-17T21:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/svanheule/commit/?id=e4a43cda0efba562d0ed1973b584c21309040ccc'/>
<id>urn:sha1:e4a43cda0efba562d0ed1973b584c21309040ccc</id>
<content type='text'>
These targets are used to input variable values from the Make
context into other things like python scripts, so log messages
should be silenced and build prerequisites should be skipped.

The same thing is done for the other variable print target "val.%".

While at it, combine identical target rules into one definition.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
</feed>
