mbox series

[0/4] Updated carray and other build improvements

Message ID 20240701141101.20227-1-ben.dooks@codethink.co.uk
Headers show
Series Updated carray and other build improvements | expand

Message

Ben Dooks July 1, 2024, 2:10 p.m. UTC
This is an updated series which deals with some build issues such as
the carray file cleaning. This was originally submitted by Ivan Orlov
and has been updated post various discussions about how to do this.

This series now renames the carray .c files to .carray.c so they can be
found during cleaning and removed from the build directory. This seems
to be easier than trying to look through all the make files for the
carray code or to just remove all .c files in the build directory (which
could also be a bit dangerous if someone left a .c file in there)

ML: https://lists.infradead.org/pipermail/opensbi/2024-April/006740.html
Github: https://github.com/bendooks/opensbi/tree/bjdooks/ivan-build3

Ben Dooks (2):
  Makefile; change to using .carray.c for carray files
  Makefile: remove any .carray.c during clean

Ivan Orlov (2):
  scripts/carray.sh: Add comment to generated files
  docs: writing tests: update cleaning instructions

 Makefile                     | 8 +++++---
 docs/writing_tests.md        | 4 +---
 lib/sbi/objects.mk           | 2 +-
 lib/sbi/tests/objects.mk     | 2 +-
 lib/utils/gpio/objects.mk    | 2 +-
 lib/utils/i2c/objects.mk     | 2 +-
 lib/utils/ipi/objects.mk     | 2 +-
 lib/utils/irqchip/objects.mk | 2 +-
 lib/utils/regmap/objects.mk  | 2 +-
 lib/utils/reset/objects.mk   | 2 +-
 lib/utils/serial/objects.mk  | 2 +-
 lib/utils/timer/objects.mk   | 2 +-
 platform/generic/objects.mk  | 2 +-
 scripts/carray.sh            | 1 +
 14 files changed, 18 insertions(+), 17 deletions(-)

Comments

Ben Dooks July 3, 2024, 10:21 a.m. UTC | #1
On 01/07/2024 15:10, Ben Dooks wrote:
> This is an updated series which deals with some build issues such as
> the carray file cleaning. This was originally submitted by Ivan Orlov
> and has been updated post various discussions about how to do this.
> 
> This series now renames the carray .c files to .carray.c so they can be
> found during cleaning and removed from the build directory. This seems
> to be easier than trying to look through all the make files for the
> carray code or to just remove all .c files in the build directory (which
> could also be a bit dangerous if someone left a .c file in there)
> 
> ML: https://lists.infradead.org/pipermail/opensbi/2024-April/006740.html
> Github: https://github.com/bendooks/opensbi/tree/bjdooks/ivan-build3

New branch and merge request at:
https://github.com/bjdooks-ct/opensbi/tree/bjdooks/ivan-build3-fix1
https://github.com/riscv-software-src/opensbi/pull/360

> Ben Dooks (2):
>    Makefile; change to using .carray.c for carray files
>    Makefile: remove any .carray.c during clean
> 
> Ivan Orlov (2):
>    scripts/carray.sh: Add comment to generated files
>    docs: writing tests: update cleaning instructions
> 
>   Makefile                     | 8 +++++---
>   docs/writing_tests.md        | 4 +---
>   lib/sbi/objects.mk           | 2 +-
>   lib/sbi/tests/objects.mk     | 2 +-
>   lib/utils/gpio/objects.mk    | 2 +-
>   lib/utils/i2c/objects.mk     | 2 +-
>   lib/utils/ipi/objects.mk     | 2 +-
>   lib/utils/irqchip/objects.mk | 2 +-
>   lib/utils/regmap/objects.mk  | 2 +-
>   lib/utils/reset/objects.mk   | 2 +-
>   lib/utils/serial/objects.mk  | 2 +-
>   lib/utils/timer/objects.mk   | 2 +-
>   platform/generic/objects.mk  | 2 +-
>   scripts/carray.sh            | 1 +
>   14 files changed, 18 insertions(+), 17 deletions(-)
>