Re: rtems_waf Include File Detection Question

2023-07-07 Thread Joel Sherrill
to rtems-examples where I want to know if a > > particular header file is installed before enabling the example. How > does one do > > that in rtems_waf/wscripts? > > https://git.rtems.org/rtems_waf/tree/rtems_bsd.py#n65 ... > > conf.check(header_nam

Re: rtems_waf Include File Detection Question

2023-07-05 Thread Chris Johns
On 6/7/2023 8:24 am, Joel Sherrill wrote: > I have a case for an addition to rtems-examples where I want to know if a > particular header file is installed before enabling the example. How does one > do > that in rtems_waf/wscripts? https://git.rtems.org/rtems_waf/tree/rtem

rtems_waf Include File Detection Question

2023-07-05 Thread Joel Sherrill
Hi I have a case for an addition to rtems-examples where I want to know if a particular header file is installed before enabling the example. How does one do that in rtems_waf/wscripts? Thanks. --joel ___ devel mailing list devel@rtems.org http

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-27 Thread Chris Johns
r. The vendor field changes that. I will take a look and see if I can clean it up. What is the full text for the `arch_bsp` you are working with so I can test it? waf gives the following if I instrument the rtems.py code: arch_bsp: sparc-gaisler-rtems5-leon3 This is based on a minimal applicatio

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-26 Thread martinerikwerner . aac
os (rtems) > > field, > > latter excludes it). > > I suspect the uncertainly is due to things evolving and me not paying > close > enough attention because it did not matter. The vendor field changes > that. I > will take a look and see if I can clean it up. >

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-25 Thread Chris Johns
On 25/5/2023 6:53 pm, martinerikwerner@gmail.com wrote: > While poking around some more, it seems like there's more places in > this file where assumptions of no vendor in the triplet might come into > play (but did not affect my use of it), if I'm reading it correctly?: > > 227 conf.e

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-25 Thread martinerikwerner . aac
I'm not sure I am aware of all places where this is used as a submodule, my only testing has been as part of a custom user application... On Thu, 2023-05-25 at 08:48 +1000, Chris Johns wrote: > Looks good and thanks. I have pushed this. > > If you would like to submit module updat

Re: [PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-24 Thread Chris Johns
Looks good and thanks. I have pushed this. If you would like to submit module update patches for the various repos using rtems_waf please feel free to do so. Chris On 25/5/2023 4:13 am, Martin Erik Werner wrote: > Rework the splitting of arch and bsp to rely on the last field in the >

[PATCHv2 rtems_waf] Allow vendor field in toolchain target triplet

2023-05-24 Thread Martin Erik Werner
Rework the splitting of arch and bsp to rely on the last field in the arch section starting with "rtems", instead of relying on the arch being exactly two fields in size. This makes sure that toolchains with a vendor field in their target triplet can be used with this build system. Toolchains pro

[PATCH rtems_waf] Allow vendor field in toolchain target triplet

2023-05-24 Thread Martin Erik Werner
Rework the splitting of arch and bsp to rely on the last field in the arch section starting with "rtems", instead of relying on the arch being exactly two fields in size. This makes sure that toolchains with a vendor field in their target triplet can be used with this build system. Toolchains pro

[rtems_waf PATCH] Parse includes in separate groups so isystem and sysroot paths and managed

2023-04-18 Thread chrisj
From: Chris Johns - This fixes the support for the change in RTEMS to use -isystem This patch is pushed. Please update rtems_waf where used. --- rtems.py | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/rtems.py b/rtems.py index b618157..0b24645 100644 --- a

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-18 Thread Heinz Junkes
LIBBSD_INST/rtems-libbsd$ git submodule init Submodule 'freebsd-org' (https://github.com/freebsd/freebsd.git) registered for path 'freebsd-org' Submodule 'rtems_waf' (git://git.rtems.org/rtems_waf.git) registered for path 'rtems_waf' rtems@rtems-dev:~/MVME6100

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Sebastian Huber
On 17.01.23 21:13, Heinz Junkes wrote: rtems@rtems-dev:~/MVME6100_6_INST/kernel$ ./waf bsp_defaults --rtems-bsps=powerpc/beatnik > config.ini If you just want to build a BSP with default values, you should simply use: [powerpc/beatnik] -- embedded brains GmbH Herr Sebastian HUBER Dornierstr.

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Chris Johns
On 18/1/2023 7:17 am, Heinz Junkes wrote: > ok with > ./waf bspdefaults --rtems-bsps=powerpc/beatnik … it works > > I had ./waf bsp_defaults :-( Ah > rtems@rtems-dev:~/MVME6100_6_RUN/rtems/6/share$ ls -l > total 36 > drwxr-xr-x 3 rtems rtems 4096 Jan 17 17:09 doc > drwxr-xr-x 3 rtems rtems 409

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Heinz Junkes
t; `share/rtems6` directory. > > This is correct and it is a simple and fast key to see if a kernel of a > specific > version has been installed. > >> On 1/17/23 18:11, Heinz Junkes wrote: >>> Hi, >>> >>> It looks like there is a typo in rtems-l

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Heinz Junkes
a simple and fast key to see if a kernel of a > specific > version has been installed. > >> On 1/17/23 18:11, Heinz Junkes wrote: >>> Hi, >>> >>> It looks like there is a typo in rtems-libbsd/rtems_waf/rtems.py. >>> >>> rtems_shar

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Chris Johns
rnel of a specific version has been installed. > On 1/17/23 18:11, Heinz Junkes wrote: >> Hi, >> >> It looks like there is a typo in rtems-libbsd/rtems_waf/rtems.py. >> >> rtems_share_rtems_version = os.path.join(rtems_path, 'share', 'rtems&#

Re: Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Frank Kühndel
/rtems_waf/rtems.py. rtems_share_rtems_version = os.path.join(rtems_path, 'share', 'rtems' + rtems_version) if not os.path.exists(os.path.join(rtems_share_rtems_version)): ctx.fatal('RTEMS path is not valid, "%s" not found.' % (rtems_share_rtems_version))

Typo in rtems-libbsd/rtems_waf/rtems.py?

2023-01-17 Thread Heinz Junkes
Hi, It looks like there is a typo in rtems-libbsd/rtems_waf/rtems.py. rtems_share_rtems_version = os.path.join(rtems_path, 'share', 'rtems' + rtems_version) if not os.path.exists(os.path.join(rtems_share_rtems_version)): ctx.fatal('RTEMS path is

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-05-03 Thread Vijay Kumar Banerjee
>> > print(val) >>> > nodes = [] >>> > bld = self.generator.bld >>> > >>> > I don't know whether this can have other evil side effects, but the waf build works after that.. >>> The possible evil side effects could be the iss

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-05-03 Thread Robin Müller
;, as you >> mentioned here. So better to avoid hacking it. :) >> >> >> Best regards, >> Vijay >> > >> > Kind Regards >> > Robin >> > >> > On Fri, 30 Apr 2021 at 00:30, Vijay Kumar Banerjee >> wrote: >> >> &

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-05-03 Thread Robin Müller
gt; Robin > > > > On Fri, 30 Apr 2021 at 00:30, Vijay Kumar Banerjee > wrote: > >> > >> Hi all, > >> > >> > >> On Thu, Apr 29, 2021 at 3:01 PM Chris Johns wrote: > >> > > >> > On 30/4/21 5:01 am, Robin Müller wrote:

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-05-01 Thread Vijay Kumar Banerjee
ou mentioned here. So better to avoid hacking it. :) Best regards, Vijay > > Kind Regards > Robin > > On Fri, 30 Apr 2021 at 00:30, Vijay Kumar Banerjee wrote: >> >> Hi all, >> >> >> On Thu, Apr 29, 2021 at 3:01 PM Chris Johns wrote: >> > >

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-30 Thread Robin Müller
after that.. > > Kind Regards > Robin > > On Fri, 30 Apr 2021 at 00:30, Vijay Kumar Banerjee > wrote: > >> Hi all, >> >> >> On Thu, Apr 29, 2021 at 3:01 PM Chris Johns wrote: >> > >> > On 30/4/21 5:01 am, Robin Müller wrote: >>

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-30 Thread Robin Müller
wrote: > Hi all, > > > On Thu, Apr 29, 2021 at 3:01 PM Chris Johns wrote: > > > > On 30/4/21 5:01 am, Robin Müller wrote: > > > Yes that is the prefix. The rtems.h file is definitely located at the > location > > > in the warning and it works on older commit

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Vijay Kumar Banerjee
Hi all, On Thu, Apr 29, 2021 at 3:01 PM Chris Johns wrote: > > On 30/4/21 5:01 am, Robin Müller wrote: > > Yes that is the prefix. The rtems.h file is definitely located at the > > location > > in the warning and it works on older commit of rtems_waf (where gccdeps

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Chris Johns
On 30/4/21 5:01 am, Robin Müller wrote: > Yes that is the prefix. The rtems.h file is definitely located at the location > in the warning and it works on older commit of rtems_waf (where gccdeps.py is > not used). > I briefly looked through the gccdeps.py file and it is doing

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Robin Müller
Yes that is the prefix. The rtems.h file is definitely located at the location in the warning and it works on older commit of rtems_waf (where gccdeps.py is not used). I briefly looked through the gccdeps.py file and it is doing some string stripping operations. Maybe that is the issue but I am

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Gedare Bloom
On Thu, Apr 29, 2021 at 9:59 AM Gedare Bloom wrote: > > On Thu, Apr 29, 2021 at 3:14 AM Robin Müller > wrote: > > > > I replaced the file in rtems_waf manually but it still throws the same > > error: > > > > [1/2] Compiling build/conf_check_995d7bdd1834

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Gedare Bloom
On Thu, Apr 29, 2021 at 3:14 AM Robin Müller wrote: > > I replaced the file in rtems_waf manually but it still throws the same error: > > [1/2] Compiling build/conf_check_995d7bdd1834199278843e9a51c37759/test.c > > ['C:/Users/Robin/Documents/RTEMS/rtems-tools/rtems/6/b

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Robin Müller
I replaced the file in rtems_waf manually but it still throws the same error: [1/2] Compiling build/conf_check_995d7bdd1834199278843e9a51c37759/test.c ['C:/Users/Robin/Documents/RTEMS/rtems-tools/rtems/6/bin/sparc-rtems6-gcc.exe', '-mcpu=cypress', '-IC:/Users/Robin/Do

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-28 Thread Chris Johns
On 28/4/21 7:59 pm, Robin Müller wrote: > I think the following commit in rtems_waf breaks the waf build on Windows 10: > > commit 096372fc4504730e50b51b952ce47ca603b35f01 > Author: Chris Johns mailto:chr...@rtems.org>> > Date:   Thu Oct 10 17:43:11 2019 +1100 > >    

Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-28 Thread Robin Müller
Hi, I think the following commit in rtems_waf breaks the waf build on Windows 10: commit 096372fc4504730e50b51b952ce47ca603b35f01 Author: Chris Johns Date: Thu Oct 10 17:43:11 2019 +1100 Use gccdeps for dependency scanning. I get the error that RTEMS is not able to find the rtems.h file

[PATCH rtems-littlevgl] Update rtems_waf

2021-03-26 Thread Vijay Kumar Banerjee
--- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index ad6c6e8..1a118bb 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit ad6c6e8771b95dffa73a7dc1167d98d208f17cb0 +Subproject commit 1a118bbcd52138dbdc3236e64bc23fd430a064b1

Re: [PATCH rtems_waf] rtems: Add support to get arch bsp list in conf

2021-02-24 Thread Vijay Kumar Banerjee
On Wed, Feb 24, 2021 at 2:38 PM Chris Johns wrote: > > On 25/2/21 5:01 am, Vijay Kumar Banerjee wrote: > > This patch is a quick workaround to build the legacy net BSP drivers > > in the rtems-net-legacy repo. > > Looks good. OK to push. > Thanks. Pushed! > Thanks _

Re: [PATCH rtems_waf] rtems: Add support to get arch bsp list in conf

2021-02-24 Thread Chris Johns
On 25/2/21 5:01 am, Vijay Kumar Banerjee wrote: > This patch is a quick workaround to build the legacy net BSP drivers > in the rtems-net-legacy repo. Looks good. OK to push. Thanks ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/l

Re: [PATCH rtems_waf] rtems: Add support to get arch bsp list in conf

2021-02-24 Thread Vijay Kumar Banerjee
Hi, This patch is a quick workaround to build the legacy net BSP drivers in the rtems-net-legacy repo. Thanks, Vijay On Wed, Feb 24, 2021 at 10:56 AM Vijay Kumar Banerjee wrote: > > --- > rtems.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/rtems.py b/rtems.py > index 7ee3653..55e

[PATCH rtems_waf] rtems: Add support to get arch bsp list in conf

2021-02-24 Thread Vijay Kumar Banerjee
--- rtems.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rtems.py b/rtems.py index 7ee3653..55ed02b 100644 --- a/rtems.py +++ b/rtems.py @@ -195,6 +195,7 @@ def configure(conf, bsp_configure = None): tools = {} env = conf.env.derive() +conf.env.RTEMS_ARCH_BSP_LIST = arch_bs

[PATCH rtems-libbsd 1/2] Update rtems_waf

2020-07-30 Thread Vijay Kumar Banerjee
--- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index 096372fc..945b0b9c 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit 096372fc4504730e50b51b952ce47ca603b35f01 +Subproject commit

Re: [PATCH rtems_waf v2 1/2] rtems: Add uninstall option to the list of commands

2020-07-26 Thread Chris Johns
Pushed. Thanks Chris On 25/7/20 1:14 am, Vijay Kumar Banerjee wrote: > --- > rtems.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rtems.py b/rtems.py > index ceabcd9..067a213 100644 > --- a/rtems.py > +++ b/rtems.py > @@ -131,7 +131,7 @@ def init(ctx, filters = None

[PATCH rtems_waf v2 2/2] rtems: Add function to test waf uninstall

2020-07-24 Thread Vijay Kumar Banerjee
--- rtems.py | 46 ++ 1 file changed, 46 insertions(+) diff --git a/rtems.py b/rtems.py index 067a213..7ee3653 100644 --- a/rtems.py +++ b/rtems.py @@ -897,6 +897,52 @@ def _strip_cflags(cflags): def _log_header(conf): conf.to_log('---

[PATCH rtems_waf v2 1/2] rtems: Add uninstall option to the list of commands

2020-07-24 Thread Vijay Kumar Banerjee
--- rtems.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems.py b/rtems.py index ceabcd9..067a213 100644 --- a/rtems.py +++ b/rtems.py @@ -131,7 +131,7 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init = # commands = []

Re: [PATCH rtems_waf 2/2] rtems: Add function to test waf uninstall

2020-07-23 Thread Chris Johns
On 24/7/20 2:37 am, Vijay Kumar Banerjee wrote: > --- > rtems.py | 40 > 1 file changed, 40 insertions(+) > > diff --git a/rtems.py b/rtems.py > index 067a213..ab6d03b 100644 > --- a/rtems.py > +++ b/rtems.py > @@ -303,6 +303,46 @@ def build(bld): > i

[PATCH rtems_waf 1/2] rtems: Add uninstall option to the list of commands

2020-07-23 Thread Vijay Kumar Banerjee
--- rtems.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems.py b/rtems.py index ceabcd9..067a213 100644 --- a/rtems.py +++ b/rtems.py @@ -131,7 +131,7 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init = # commands = []

[PATCH rtems_waf 2/2] rtems: Add function to test waf uninstall

2020-07-23 Thread Vijay Kumar Banerjee
--- rtems.py | 40 1 file changed, 40 insertions(+) diff --git a/rtems.py b/rtems.py index 067a213..ab6d03b 100644 --- a/rtems.py +++ b/rtems.py @@ -303,6 +303,46 @@ def build(bld): if bld.env.LONG_COMMANDS == 'yes': long_command_line() +de

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-08 Thread Vijay Kumar Banerjee
On Fri, May 8, 2020, 4:54 AM Chris Johns wrote: > On 8/5/20 4:50 am, Vijay Kumar Banerjee wrote: > > On Tue, May 5, 2020 at 4:13 PM Chris Johns wrote: > > Hi Chris, > > > > I added support in rtems_waf to test the uninstall function, following > > the approach

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-07 Thread Chris Johns
On 8/5/20 4:50 am, Vijay Kumar Banerjee wrote: On Tue, May 5, 2020 at 4:13 PM Chris Johns wrote: Hi Chris, I added support in rtems_waf to test the uninstall function, following the approach that you suggested. I'm attaching the patch here, please have a look. This looks fine. We can wo

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-07 Thread Vijay Kumar Banerjee
is >> exactly the same? >> > The uninstall function is currently broken but it would be nice to have. > > > Sure that is fine with me. > > The unit-test approach sounds great and will make sure that it doesn't > break anything. Is this an issue for the release i

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-05 Thread Chris Johns
> On 5 May 2020, at 5:37 pm, Vijay Kumar Banerjee wrote: > >  > > >> On Tue, May 5, 2020 at 9:56 AM Chris Johns wrote: >> On 4/5/20 8:16 pm, Vijay Kumar Banerjee wrote: >> > >> > >> > On Mon, May 4, 2020 at 4:39 AM Chris Johns > > > wrote: >> > >> > Hi >> > >

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-05 Thread Vijay Kumar Banerjee
On Tue, May 5, 2020 at 9:56 AM Chris Johns wrote: > On 4/5/20 8:16 pm, Vijay Kumar Banerjee wrote: > > > > > > On Mon, May 4, 2020 at 4:39 AM Chris Johns > > wrote: > > > > Hi > > > > Are uninstall command useful with RTEMS? A use case that shows how it > > w

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-04 Thread Chris Johns
On 4/5/20 8:16 pm, Vijay Kumar Banerjee wrote: On Mon, May 4, 2020 at 4:39 AM Chris Johns > wrote: Hi Are uninstall command useful with RTEMS? A use case that shows how it would be used may help. The use case in mind was libbsd. The uninstall command com

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-04 Thread Vijay Kumar Banerjee
On Mon, May 4, 2020 at 4:39 AM Chris Johns wrote: > Hi > > Are uninstall command useful with RTEMS? A use case that shows how it > would be used may help. > > The use case in mind was libbsd. The uninstall command comes handy in cleaning off the files that were installed, and there's no need to d

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-03 Thread Chris Johns
Hi Are uninstall command useful with RTEMS? A use case that shows how it would be used may help. I use separate prefixes to manage this. We do not track common files when installing to a common prefix so building ARM and then PowerPC to the same prefix then uninstalling only the PowerPC buil

[PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-03 Thread Vijay Kumar Banerjee
--- rtems.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems.py b/rtems.py index ceabcd9..067a213 100644 --- a/rtems.py +++ b/rtems.py @@ -131,7 +131,7 @@ def init(ctx, filters = None, version = None, long_commands = False, bsp_init = # commands = []

Re: [rtems-examples PATCH v2 1/2] Update rtems_waf

2020-03-24 Thread Chris Johns
On 2020-03-25 07:19, Vijay Kumar Banerjee wrote: On Thu, Mar 19, 2020 at 7:54 AM Chris Johns > wrote: Both these patches are fine to push. Vijay, please push once your access has been sorted out. Pushed this! Nice and thanks :) Chris _

Re: [rtems-examples PATCH v2 1/2] Update rtems_waf

2020-03-18 Thread Chris Johns
, Vijay Kumar Banerjee wrote: > --- > rtems_waf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rtems_waf b/rtems_waf > index e7a75df..ad08908 16 > --- a/rtems_waf > +++ b/rtems_waf > @@ -1 +1 @@ > -Subproject commit e7a75df653

[rtems-examples PATCH v2 1/2] Update rtems_waf

2020-03-18 Thread Vijay Kumar Banerjee
--- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index e7a75df..ad08908 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit e7a75df6531beec1c1b0d18fcaf2cfce7693920c +Subproject commit ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f

Re: [rtems_waf PATCH] rtems: Allow checking multiple environment variable

2020-03-17 Thread Chris Johns
Hi, Nice change, I have pushed this. Chris On 17/3/20 8:52 pm, Vijay Kumar Banerjee wrote: > --- > rtems.py | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/rtems.py b/rtems.py > index 6dd71b1..ceabcd9 100644 > --- a/rtems.py > +++ b/rtems.py > @@ -479,10 +479,

[rtems_waf PATCH] rtems: Allow checking multiple environment variable

2020-03-17 Thread Vijay Kumar Banerjee
--- rtems.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rtems.py b/rtems.py index 6dd71b1..ceabcd9 100644 --- a/rtems.py +++ b/rtems.py @@ -479,10 +479,11 @@ def check_options(ctx, prefix, rtems_tools, rtems_path, rtems_version, rtems_arc return rtems_vers

[PATCH-libbsd-5-freebsd-12] rtems_waf: Update to master (096372fc4504)

2020-02-27 Thread chrisj
From: Chris Johns Closes #3888 --- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index 1b896361..096372fc 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit 1b896361d302aeda0145af90972aea863e28898f +Subproject commit

[PATCH] rtems_waf: Update to master (096372fc4504)

2020-02-27 Thread chrisj
From: Chris Johns Updates #3888 --- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index 1b896361..096372fc 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit 1b896361d302aeda0145af90972aea863e28898f +Subproject commit

Re: [PATCH rtems_waf] rtems.py: Fix typo

2019-09-18 Thread Chris Johns
Pushed. Thanks Chris On 19/9/19 4:14 am, Vijay Kumar Banerjee wrote: > --- > rtems.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/rtems.py b/rtems.py > index 2e57de4..af4b5fd 100644 > --- a/rtems.py > +++ b/rtems.py > @@ -326,7 +326,7 @@ def check_cc(conf, *k, *

[PATCH rtems_waf] rtems.py: Fix typo

2019-09-18 Thread Vijay Kumar Banerjee
--- rtems.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems.py b/rtems.py index 2e57de4..af4b5fd 100644 --- a/rtems.py +++ b/rtems.py @@ -326,7 +326,7 @@ def check_cc(conf, *k, **kw): kw['fragment'] = test_application() conf.check_cc(*k, **kw) -def ch

Re: [PATCH] update rtems_waf

2019-09-17 Thread Chris Johns
On 17/9/19 6:49 pm, Christian Mauderer wrote: > On 17/09/2019 08:51, Vijay Kumar Banerjee wrote: >> On Fri, Sep 13, 2019 at 9:00 AM Chris Johns > > wrote: >> >> On 11/9/19 6:14 pm, Vijay Kumar Banerjee wrote: >> > ping :) >> >> Sorry about the delay. OK to push.

Re: [PATCH] update rtems_waf

2019-09-17 Thread Christian Mauderer
t; <mailto:vijaykumar9...@gmail.com>>> wrote: > > > >     --- > >      file_io/crc/wscript            | 6 +++--- > >      filesystem/fat_ramdisk/wscript | 6 +++--- > >      rtems_waf                      | 2 +- > >      3 files changed, 7 inserti

Re: [PATCH] update rtems_waf

2019-09-16 Thread Vijay Kumar Banerjee
wrote: > > > > --- > > file_io/crc/wscript| 6 +++--- > > filesystem/fat_ramdisk/wscript | 6 +++--- > > rtems_waf | 2 +- > > 3 files changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/file_io/crc/wscript b

Re: [PATCH] update rtems_waf

2019-09-12 Thread Chris Johns
>  filesystem/fat_ramdisk/wscript | 6 +++--- >  rtems_waf                      | 2 +- >  3 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/file_io/crc/wscript b/file_io/crc/wscript > index f7b0f5b..531da20 100644 > --- a/file_io/crc/wsc

Re: [PATCH] update rtems_waf

2019-09-11 Thread Vijay Kumar Banerjee
ping :) On Tue, Sep 3, 2019 at 7:04 PM Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > --- > file_io/crc/wscript| 6 +++--- > filesystem/fat_ramdisk/wscript | 6 +++--- > rtems_waf | 2 +- > 3 files changed, 7 insertions(+), 7

Re: [PATCH] update rtems_waf

2019-09-05 Thread Vijay Kumar Banerjee
tion behind updating is to use the rtems_bsd checks that are present in the latest HEAD of rtems_waf. I was using the new features in the lvgl example, but since that one has a pending discussion, I sent a separate patch to just update the rtems_waf. Best regards, Vijay > To be honest: I haven&#

Re: [PATCH] update rtems_waf

2019-09-05 Thread Christian Mauderer
then so that it can be commited. Best regards Christian On 03/09/2019 15:33, Vijay Kumar Banerjee wrote: > --- > file_io/crc/wscript| 6 +++--- > filesystem/fat_ramdisk/wscript | 6 +++--- > rtems_waf | 2 +- > 3 files changed, 7 insertions(+), 7

[PATCH] update rtems_waf

2019-09-03 Thread Vijay Kumar Banerjee
--- file_io/crc/wscript| 6 +++--- filesystem/fat_ramdisk/wscript | 6 +++--- rtems_waf | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/file_io/crc/wscript b/file_io/crc/wscript index f7b0f5b..531da20 100644 --- a/file_io/crc/wscript +++ b

[PATCH 1/3] rtems_waf: Update to pick up rtems5 not having bin/

2018-09-24 Thread Joel Sherrill
--- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index de75eec..c0d52d5 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit de75eecdc19c97c6e0e2fb902ffab3dbbf089eb5 +Subproject commit c0d52d5fcd9cad9b63479b92a0abf4fa5f5c99f3

Re: rtems_waf

2018-06-18 Thread Chris Johns
On 19/06/2018 15:10, Sebastian Huber wrote: > On 19/06/18 01:36, Chris Johns wrote: >> 4 -rwxrwxr-x  1 chrisj  gitrw   507 Jun 12 04:47 post-receive > > I added the Github mirror hook and pushed the initial content to > https://github.com/RTEMS/rtems_waf. I pinned al

Re: rtems_waf

2018-06-18 Thread Sebastian Huber
On 19/06/18 01:36, Chris Johns wrote: 4 -rwxrwxr-x 1 chrisj gitrw 507 Jun 12 04:47 post-receive I added the Github mirror hook and pushed the initial content to https://github.com/RTEMS/rtems_waf. I pinned also this repository. -- Sebastian Huber, embedded brains GmbH Address

examples-v2 and libbsd: MANUAL STEP NECESSARY: rtems_waf is now in the public set of repositories.

2018-06-18 Thread Christian Mauderer
Hello, the rtems_waf submodule has been an essential part of the build system for quite some time. Therefore it now has been migrated to the public repository set on git.rtems.org. The URLs for the submodule has been updated in the following two repositories: - examples-v2 - rtems

Re: Patch for rtems_waf to support build configurations in libbsd

2018-04-05 Thread Chris Johns
On 05/04/2018 23:29, Christian Mauderer wrote: > > I now managed to build multiple configurations for libbsd. But I needed > the per-bsp-classes from the rtems_waf/rtems.py init function so that I > can derive further classes of them. So I added a hook to the init > function that

Patch for rtems_waf to support build configurations in libbsd

2018-04-05 Thread Christian Mauderer
Hello Chris, I now managed to build multiple configurations for libbsd. But I needed the per-bsp-classes from the rtems_waf/rtems.py init function so that I can derive further classes of them. So I added a hook to the init function that is executed at the end. If you want to know where I needed

Re: [PATCH] rtems_waf: moved "import os.path" to the beginning of "bsp_configure" func def to avoid UnboundLocalError.

2016-09-11 Thread Chris Johns
Hi, Thank you for the report and the fix. I have pushed a variation of your patch. I could not use the email as a patch because git did not like it. It looks like it contained HTML. It would be good if you could please use 'git send-email' to posts patches in the future then I can use your p

[PATCH] rtems_waf: moved "import os.path" to the beginning of "bsp_configure" func def to avoid UnboundLocalError.

2016-09-08 Thread Saeed Ehteshamifar
In function 'bsp_configure' of rtems_bsd.py, when conf.options.rtems_libbsd is None, os.path is not imported, which leads to "UnboundLocalError: local variable 'os' referenced before assignment" error. This patch tries to avoid that error. - diff --git a/rtems_bsd.py b/rte