<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/scripts/carray.sh, branch release-1.5.x</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/scripts/carray.sh?h=release-1.5.x</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/scripts/carray.sh?h=release-1.5.x'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2022-12-10T16:30:27Z</updated>
<entry>
<title>scripts: use env to invoke bash</title>
<updated>2022-12-10T16:30:27Z</updated>
<author>
<name>Himanshu Chauhan</name>
<email>hchauhan@ventanamicro.com</email>
</author>
<published>2022-12-09T06:13:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=506928a1be9952abc52f05c0c661338aa1d66f6d'/>
<id>urn:sha1:506928a1be9952abc52f05c0c661338aa1d66f6d</id>
<content type='text'>
Not all systems have bash at a fixed location like /bin/bash.
FreeBSD, for example, would typically have it at /usr/local/bin/bash.
When building OpenSBI on freebsd system, the build breaks.

Its advisable to use: #!/usr/bin/env bash

Signed-off-by: Himanshu Chauhan &lt;hchauhan@ventanamicro.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>Makefile: Add support for generating C array at compile time</title>
<updated>2022-05-13T03:56:00Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2022-05-13T03:56:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2'/>
<id>urn:sha1:7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2</id>
<content type='text'>
Generating C array at compile time based on details provided by
objects.mk is a very useful feature which will help us compile
only a subset of drivers or modules.

We add a bash script (carray.sh) which takes array details and
object/variable list from command-line to generate a C source
containing array of object/variable pointers. We also extend
top-level makefile to use carray.sh whenever specified through
objects.mk.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Reviewed-by: Atish Patra &lt;atishp@rivosinc.com&gt;
</content>
</entry>
</feed>
