All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rafael Gago Castano <RGC@hms.se>
To: "Bird, Timothy" <Tim.Bird@sony.com>
Cc: "fuego@lists.linuxfoundation.org" <fuego@lists.linuxfoundation.org>
Subject: Re: [Fuego] First steps with fuego
Date: Mon, 15 May 2017 13:57:26 +0000	[thread overview]
Message-ID: <HE1PR06MB30363A12896656E5F22B867AC2E10@HE1PR06MB3036.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <ECADFF3FD767C149AD96A924E7EA6EAF1FA88C0A@USCULXMSG01.am.sony.com>

> Here's an example (I haven't tested):
> You put this in your <board>.board file for the DUT.
> 
> function my_custom_board_bringup {
>   echo "do a bunch of interesting stuff here"
> }
> TARGET_SETUP_LINK="my_custom_board_bringup"

This doesn't work as-is. 

/fuego-core/engine/scripts/functions.sh: line 264: BOARD_SETUP: command not found

If I try to write "echo" from the board file it doesn't echo nothing.  If I add an eval to the line 264 of functions.sh it still fails. Grepping the repository for TARGET_SETUP_LINK only gives a result (functions.sh:264).

I had no time to look at the "ftc" source but is it possible that ftc is filtering out the functions?

The obvious workaround is to place the setup/teardown scripts on /usr/bin and pass parameters to them, but it would be nice to keep all the fuego related things near and explicit.




  reply	other threads:[~2017-05-15 13:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09  9:49 [Fuego] First steps with fuego Rafael Gago Castano
2017-05-09 19:04 ` Bird, Timothy
2017-05-10  6:32   ` Rafael Gago Castano
2017-05-10 13:12   ` Rafael Gago Castano
2017-05-10 19:30     ` Bird, Timothy
     [not found]       ` <HE1PR06MB3036959D51FD5FBFC02208C8C2ED0@HE1PR06MB3036.eurprd06.prod.outlook.com>
     [not found]         ` <ECADFF3FD767C149AD96A924E7EA6EAF1FA88A98@USCULXMSG01.am.sony.com>
2017-05-12  9:38           ` Rafael Gago Castano
2017-05-12 18:05             ` Bird, Timothy
2017-05-15  8:21               ` Rafael Gago Castano
2017-05-12 14:33         ` Rafael Gago Castano
2017-05-12 18:39           ` Bird, Timothy
2017-05-15 13:57             ` Rafael Gago Castano [this message]
2017-05-15 22:37               ` Bird, Timothy
2017-05-16 14:38                 ` Rafael Gago Castano
2017-05-17  5:06                   ` Bird, Timothy
2017-05-17  6:35                     ` Rafael Gago Castano
2017-05-17 15:33                       ` Bird, Timothy
2017-05-22  8:23                         ` Rafael Gago Castano
2017-05-22 20:51                           ` Bird, Timothy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=HE1PR06MB30363A12896656E5F22B867AC2E10@HE1PR06MB3036.eurprd06.prod.outlook.com \
    --to=rgc@hms.se \
    --cc=Tim.Bird@sony.com \
    --cc=fuego@lists.linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.