Re: [PATCH] build: Remove subdir-objects from BSP configure.ac

2018-04-11 Thread Chris Johns
On 12/04/2018 15:29, Sebastian Huber wrote: > The subdir-objects do not work currently due to BSP sources in bsps and > c and the existing build tree layout. Please push ASAP. Chris ___ devel mailing list devel@rtems.org

[PATCH] build: Remove subdir-objects from BSP configure.ac

2018-04-11 Thread Sebastian Huber
The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387. --- c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac | 2 +- c/src/lib/libbsp/arm/atsam/configure.ac| 2 +- c/src/lib/libbsp/arm/beagle/configure.ac

Re: [PATCH 07/12] bsps: Avoid line continuation in Makefile.am

2018-04-11 Thread Chris Johns
On 12/04/2018 14:58, Sebastian Huber wrote: > On 11/04/18 23:09, Chris Johns wrote: >> Is it a requirement for Makefile.am we avoid line continuation? > > For the source moves in the BSP tree I need Makefile.am which are friendly for > automatic modification. The line continuation makes this a

Re: [PATCH 07/12] bsps: Avoid line continuation in Makefile.am

2018-04-11 Thread Sebastian Huber
On 11/04/18 23:09, Chris Johns wrote: Is it a requirement for Makefile.am we avoid line continuation? For the source moves in the BSP tree I need Makefile.am which are friendly for automatic modification. The line continuation makes this a little bit more difficult. I had a choice and

Add a new test for the RTL to test RAP format files.

2018-04-11 Thread Chris Johns
Hi, This change tests the RAP format loading as a single image where dependent object files are pulled into the executable. This change requires an update of the rtems-tools.git tool to pick up a change so rtems-ld can access a BSP in the build tree. Chris

[PATCH 3/3] testsuites/dl06: Add a test for RAP format.

2018-04-11 Thread Chris Johns
This test loads a RAP format file that contains calls that are not in the kernel and linked from libm. It uses and test rtems-ld. Update #2769 --- testsuites/libtests/Makefile.am| 104 +++-- testsuites/libtests/configure.ac | 1 +

[PATCH 2/3] tools: Add a -N option to force a name on the array.

2018-04-11 Thread Chris Johns
This can be used to have a different file name for the same data name. Update #2769 --- tools/build/rtems-bin2c.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/tools/build/rtems-bin2c.c b/tools/build/rtems-bin2c.c index 7674389740..53caf27aa2 100644

Support using rtems-ld with a BSP in a build tree

2018-04-11 Thread Chris Johns
Hi This patch lets rtems-ld use a BSP in the build tree. This is needed to build the new test dl06. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 2/2] rtemstoolkit/rtems: Add support for a BSP in the build tree.

2018-04-11 Thread Chris Johns
Provide support to find and use a BSP in the build tree. This change alllows tests to be added to the RTEMS testsuites that use RTEMS Tools. Update #2769 --- rtemstoolkit/rld-rtems.cpp | 48 +++--- 1 file changed, 37 insertions(+), 11 deletions(-) diff

[PATCH 1/2] rtemstoolkit/rtl: Trace output changes.

2018-04-11 Thread Chris Johns
Update #2769 --- rtemstoolkit/rld-outputter.cpp | 2 +- rtemstoolkit/rld-rap.cpp | 12 +--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/rld-outputter.cpp b/rtemstoolkit/rld-outputter.cpp index 600aedc..f763f48 100644 ---

Re: Thanks for the New Configure Error

2018-04-11 Thread Chris Johns
On 12/04/2018 09:02, Joel Sherrill wrote: > Hi > > For once in my life, I was thrilled to get an error! I mistyped a BSP name and > BOOM! the build failed earlier than it ever has!  > > checking for gmake... gmake > checking for RTEMS Version... 5.0.0 > checking build system type...

Thanks for the New Configure Error

2018-04-11 Thread Joel Sherrill
Hi For once in my life, I was thrilled to get an error! I mistyped a BSP name and BOOM! the build failed earlier than it ever has! checking for gmake... gmake checking for RTEMS Version... 5.0.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu

Re: [PATCH 07/12] bsps: Avoid line continuation in Makefile.am

2018-04-11 Thread Joel Sherrill
On Wed, Apr 11, 2018 at 4:09 PM, Chris Johns wrote: > Is it a requirement for Makefile.am we avoid line continuation? > > I had a choice and wrapped lines in the testsuites and without any > guidelines I > choose a more compact format. It was easy to do with python's textwrap >

Re: Bug in rtems-tester?

2018-04-11 Thread Joel Sherrill
On Wed, Apr 11, 2018 at 3:42 PM, Chris Johns wrote: > On 12/04/2018 00:39, Joel Sherrill wrote: > > Hi > > > > These failures have persisted across all the autoconf changes: > > > > Failures: > >powerpc/qemuprep-altivec: > > configure --target=powerpc-rtems5

Re: [PATCH 07/12] bsps: Avoid line continuation in Makefile.am

2018-04-11 Thread Chris Johns
Is it a requirement for Makefile.am we avoid line continuation? I had a choice and wrapped lines in the testsuites and without any guidelines I choose a more compact format. It was easy to do with python's textwrap module. At some point I think it would be good to collect together what we want

Re: Bug in rtems-tester?

2018-04-11 Thread Chris Johns
On 12/04/2018 00:39, Joel Sherrill wrote: > Hi > > These failures have persisted across all the autoconf changes: > > Failures: >    powerpc/qemuprep-altivec: >       configure --target=powerpc-rtems5 --enable-rtemsbsp=qemuprep-altivec\ >       --prefix=/home/joel/rtems-work/bsps

Bug in rtems-tester?

2018-04-11 Thread Joel Sherrill
Hi These failures have persisted across all the autoconf changes: Failures: powerpc/qemuprep-altivec: configure --target=powerpc-rtems5 --enable-rtemsbsp=qemuprep-altivec\ --prefix=/home/joel/rtems-work/bsps --enable-networking --enable-smp ld/collect2:0 error: no error

[PATCH 12/12] bsps: Remove empty gnatinstallhandler.c

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am | 1 - c/src/lib/libbsp/arm/atsam/Makefile.am| 1 - c/src/lib/libbsp/arm/beagle/Makefile.am | 1 -

[PATCH 07/12] bsps: Avoid line continuation in Makefile.am

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libbsp/arm/csb336/Makefile.am| 16 +++-- c/src/lib/libbsp/arm/csb337/Makefile.am| 20 +++--- c/src/lib/libbsp/arm/edb7312/Makefile.am | 15 +++--

[PATCH 03/12] bsp/beatnik: Avoid RTEMS_RELLDFLAGS

2018-04-11 Thread Sebastian Huber
Avoid extra CPPFLAGS. --- c/src/lib/libbsp/powerpc/beatnik/Makefile.am | 73 ++ .../libbsp/powerpc/beatnik/network/if_em/if_em.c | 7 +- .../libbsp/powerpc/beatnik/network/if_em/if_em.h | 2 +- .../powerpc/beatnik/network/if_em/if_em_hw.c | 5 +-

[PATCH 02/12] bsps: Move legacy console driver to bsps

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- .../shared/dev/serial/legacy-console-control.c | 2 +- .../shared/dev/serial/legacy-console-select.c | 2 +- .../shared/dev/serial/legacy-console.c | 30 ++-

[PATCH 09/12] bsps: Remove headers from librtemsbsp_a_SOURCES

2018-04-11 Thread Sebastian Huber
This was used by the not supported "make dist". This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am| 1 - c/src/lib/libbsp/arm/atsam/Makefile.am | 1 - c/src/lib/libbsp/arm/beagle/Makefile.am

[PATCH 11/12] bsps: Move bootcard.c to bsps

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- bsps/shared/shared-sources.am | 1 + {c/src/lib/libbsp/shared => bsps/shared/start}/bootcard.c | 0 c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am | 1 -

[PATCH 05/12] bsp/mvme5500: Avoid RTEMS_RELLDFLAGS

2018-04-11 Thread Sebastian Huber
--- c/src/lib/libbsp/powerpc/mvme5500/Makefile.am | 10 +++--- .../powerpc/mvme5500/network/if_100MHz/GT64260eth.c | 13 ++--- c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c | 15 +-- 3 files changed, 14 insertions(+), 24 deletions(-) diff

[PATCH 10/12] bsps: Simplify source file path in Makefile.am

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libbsp/i386/pc386/Makefile.am| 30 ++--- c/src/lib/libbsp/lm32/lm32_evr/Makefile.am | 12 +- c/src/lib/libbsp/lm32/milkymist/Makefile.am| 42 +++---

[PATCH 06/12] NFS: Remove support for cexp

2018-04-11 Thread Sebastian Huber
Avoid use of RTEMS_RELLDFLAGS. --- cpukit/libfs/src/nfsclient/Makefile.am| 55 +--- cpukit/libfs/src/nfsclient/src/cexphelp.c | 27 -- cpukit/libfs/src/nfsclient/src/dirutils.c | 385 - cpukit/libfs/src/nfsclient/src/nfs.c | 4 +-

[PATCH 08/12] bsps: Avoid source variables in Makefile.am

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libbsp/m32c/m32cbsp/Makefile.am| 32 ++--- c/src/lib/libbsp/powerpc/qemuppc/Makefile.am | 37 +++--- c/src/lib/libbsp/sparc64/niagara/Makefile.am | 63

[PATCH 01/12] bsps: Remove unused console_select_simple.c

2018-04-11 Thread Sebastian Huber
This patch is a part of the BSP source reorganization. Update #3285. --- c/src/lib/libbsp/shared/console_select_simple.c | 22 -- 1 file changed, 22 deletions(-) delete mode 100644 c/src/lib/libbsp/shared/console_select_simple.c diff --git

[PATCH 04/12] bsp/motorola_powerpc: Move polled_io.c

2018-04-11 Thread Sebastian Huber
This file was used by this BSP only. Avoid RTEMS_RELLDFLAGS. This patch is a part of the BSP source reorganization. Update #3285. --- .../console => bsps/powerpc/motorola_powerpc/dev}/console.inl | 0 .../console => bsps/powerpc/motorola_powerpc/dev}/keyboard.h | 0 .../console =>

Re: Clean up support for automake's silent build option.

2018-04-11 Thread Chris Johns
On 11/04/2018 16:24, Sebastian Huber wrote: > On 11/04/18 08:17, Chris Johns wrote: >> Why do this? It makes it easier to see warnings and issues in a build. > > Oh no. I have no longer an excuse for warnings introduced by me. > Haha, I am in the same boat as you. Chris

[PATCH] build: Add support for automake's silent build support.

2018-04-11 Thread Chris Johns
--- cpukit/wrapup/Makefile.am | 18 +++--- testsuites/libtests/Makefile.am | 122 2 files changed, 70 insertions(+), 70 deletions(-) diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index 3b0887457c..d64e03667a 100644 ---

Re: Clean up support for automake's silent build option.

2018-04-11 Thread Sebastian Huber
On 11/04/18 08:17, Chris Johns wrote: Why do this? It makes it easier to see warnings and issues in a build. Oh no. I have no longer an excuse for warnings introduced by me. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47

Clean up support for automake's silent build option.

2018-04-11 Thread Chris Johns
Hi, This patch cleans up the build system to support automake's silent build. With automake-1.12.6 the support is only available using automake initialisation option while automake-1.16.1 has command line support. You can view how the output looks here: