<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/neocturne/rules.mk, branch main</title>
<subtitle>Staging tree of Nora Schiffer</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/neocturne/atom?h=main</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/'/>
<updated>2024-05-17T20:21:26Z</updated>
<entry>
<title>build: add APK package build capabilities</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-14T10:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=d788ab376f859164df84e2054cbbbb0921943c5b'/>
<id>urn:sha1:d788ab376f859164df84e2054cbbbb0921943c5b</id>
<content type='text'>
A new option called `USE_APK` is added which generated APK packages
(.apk) instead of OPKG packages (.ipk).

Some features like fstools `snapshot` command are not yet ported

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>toolchain/wrapper: fill and reference info.mk in staging_dir ext toolchain</title>
<updated>2024-04-21T15:59:17Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-04-20T16:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=0e161968a7358cc23af28b627ecb794b3cdaea72'/>
<id>urn:sha1:0e161968a7358cc23af28b627ecb794b3cdaea72</id>
<content type='text'>
Currently when external toolchain is used, a info.mk is created (with
to-be-filled values) but is never actually filled with real values and
is never actually used in rules.mk.

This info.mk is used down the code with special packages like libgcc to
reference info like gcc version and package special library.

To mimic what is done with internal toolchain, add the include in
rules.mk for info.mk also for external library and in fix
toolchain/wrapper to fill the staging_dir info.mk.

The logic is to check if the external toolchain provide an info.mk and
if it doesn't we at least fill the GCC_VERSION with the value set in the
.config file.

With this special library like libgcc correctly reference and have set the
GCC_VERSION variable.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>rules.mk: make toolchain dirs define more consistent</title>
<updated>2023-10-20T14:13:56Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-10-19T15:39:24Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=987458c2e1bb9afc3d635aca3c6e8942ed2e95f6'/>
<id>urn:sha1:987458c2e1bb9afc3d635aca3c6e8942ed2e95f6</id>
<content type='text'>
Make toolchain dirs define more consistent between internal and external
toolchains.

Make use of specific dirs also for intenral toolchain and generilize
include and lib inclusion.

Also set TOOLCHAIN_ROOT_DIR for internal toolchain as this is what
packages should use to reference staging toolchain directory.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>prereq-build: increase GCC requirement to 8</title>
<updated>2023-08-14T18:18:42Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2023-03-16T03:02:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=728581dc4bc7f32a29b1fbba6aa54ed6266feb33'/>
<id>urn:sha1:728581dc4bc7f32a29b1fbba6aa54ed6266feb33</id>
<content type='text'>
The current minimum OS requirement for OpenWrt is Ubuntu 18.04, which
includes 7 and 8. 8 is necessary for ccache.

gcc and g+++ are now symlinked to staging_dir, similar to Python.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: replace SSTRIP_ARGS with SSTRIP_DISCARD_TRAILING_ZEROES</title>
<updated>2023-07-04T18:25:40Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-01-28T20:16:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=d026b19cdcda50766e1ecc350fdc7c542e0f1c73'/>
<id>urn:sha1:d026b19cdcda50766e1ecc350fdc7c542e0f1c73</id>
<content type='text'>
sstrip only has one functional arg. Make that a bool option, which can
easily depend on other knobs then.

This is required to be disabled for the mold linker.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>rules: prepare to use different linkers</title>
<updated>2023-07-04T18:25:36Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-01-27T15:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=21ab20bc64f5608d9341b1878fa1c5a569b471d5'/>
<id>urn:sha1:21ab20bc64f5608d9341b1878fa1c5a569b471d5</id>
<content type='text'>
This explicitely adds the default linker to the target LDFLAGS.

No functional change intended.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: add ORIG_PATH variable</title>
<updated>2023-06-05T06:31:47Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-05-25T06:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=d87a8aa148ddf93b199a759deb088fff73787025'/>
<id>urn:sha1:d87a8aa148ddf93b199a759deb088fff73787025</id>
<content type='text'>
Add a variable that stores the original value of $PATH
in the host system's shell, before Make alters it.

This can be useful for when it is necessary
to ignore symlinks and programs made by the build system.

Define this new variable before all instances of
'export PATH:=' or similar.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>tools: add gnulib source</title>
<updated>2023-05-04T04:07:27Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-03-22T22:29:24Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=fe33d5ba13370027165b9acf2bd895f5b4d9a4ea'/>
<id>urn:sha1:fe33d5ba13370027165b9acf2bd895f5b4d9a4ea</id>
<content type='text'>
By having a local copy of gnulib, we can:
import the latest macro fixes into any package,
get rid of some statically stored macros that were otherwise missing,
bootstrap GNU tools with the latest relevant source
without having to wait for a release or rely on git submodules,
and possibly more...

The patch assists in bootstrapping by ignoring
the building of po files using gettext,
and also to allow a user-defined path to a program
to include parameters.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>prereq-build: add check for true and false</title>
<updated>2023-05-04T04:07:23Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-04-20T16:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=ffd7c05aa72ee56b836903159540f9470aeef121'/>
<id>urn:sha1:ffd7c05aa72ee56b836903159540f9470aeef121</id>
<content type='text'>
Some uses cases, like with autotools, need a path for 'true'
if we use them to force something to skip.

This will work by default on Linux hosts,
and require MacOS hosts to get coreutils,
which is currently installed in the CI
for 'macos-latest' host.

In the future, prereq stage can be reworked
to search for the actual binary
instead of relying on env.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>rules.mk: add FILECMD variable</title>
<updated>2023-03-26T22:41:50Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-03-14T09:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=2bb8e4a88149e09389b409517219b4ade4e7578e'/>
<id>urn:sha1:2bb8e4a88149e09389b409517219b4ade4e7578e</id>
<content type='text'>
Some packages using Libtool have the possibility
of using this environment variable if set,
instead of the direct command for "file" using PATH,
or the need to patch a hard-coded path.

This is a new feature of Libtool 2.4.7

Ref: bf261073d ("tools/libtool: bump to 2.4.7")
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
</feed>
