<feed xmlns='http://www.w3.org/2005/Atom'>
<title>meta-agl/meta-app-framework/recipes-core/af-binder/af-binder_git.inc, branch needlefish</title>
<subtitle>meta-agl layer (core AGL)</subtitle>
<id>http://git.automotivelinux.org/AGL/meta-agl/atom?h=needlefish</id>
<link rel='self' href='http://git.automotivelinux.org/AGL/meta-agl/atom?h=needlefish'/>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/'/>
<updated>2021-11-04T14:24:17+00:00</updated>
<entry>
<title>Prepare master for new framework integration</title>
<updated>2021-11-04T14:24:17+00:00</updated>
<author>
<name>Jan-Simon Moeller</name>
<email>jsmoeller@linuxfoundation.org</email>
</author>
<published>2021-10-18T12:07:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=d468ce3b3d602f7c8a88d67126a32900b76fd433'/>
<id>urn:sha1:d468ce3b3d602f7c8a88d67126a32900b76fd433</id>
<content type='text'>
During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.

To prepare the integration of it, we remove the deprecated components:
- meta-agl-core: remove Smack kernel patches
- meta-app-framework
- meta-pipewire/dynamic-layers/meta-app-framework/

v2: rebased

Bug-AGL: SPEC-4121

Signed-off-by: Jan-Simon Moeller &lt;jsmoeller@linuxfoundation.org&gt;
Change-Id: Icdaeadfb5d2193f3a4c535168c88da6073423e67
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26752
</content>
</entry>
<entry>
<title>Convert to new override syntax</title>
<updated>2021-08-23T11:56:42+00:00</updated>
<author>
<name>Scott Murray</name>
<email>scott.murray@konsulko.com</email>
</author>
<published>2021-08-02T21:10:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=dd6fc5dcaa0a027b7651bb365d5dd0f623498f8f'/>
<id>urn:sha1:dd6fc5dcaa0a027b7651bb365d5dd0f623498f8f</id>
<content type='text'>
This is mostly the result of running a slightly customized version
of the convert-overrides.py script from poky with additional
overrides added.  A few minor fixups were done by hand afterwards
during a review of the changes.

The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.

Bug-AGL: SPEC-4052

Signed-off-by: Scott Murray &lt;scott.murray@konsulko.com&gt;
Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller &lt;jsmoeller@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>af-binder: update SRCREV</title>
<updated>2021-07-27T09:20:32+00:00</updated>
<author>
<name>Scott Murray</name>
<email>scott.murray@konsulko.com</email>
</author>
<published>2021-07-26T20:09:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=aaec5acdb4a8ae12caa2bb7ac42b44961d2e32d3'/>
<id>urn:sha1:aaec5acdb4a8ae12caa2bb7ac42b44961d2e32d3</id>
<content type='text'>
Update SRCREV to pick up:

c5c15f8 gcc 11.x fixes
9a8aea1 CMake: Link with -latomic

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray &lt;scott.murray@konsulko.com&gt;
Change-Id: I41a1aa7c38eceb1ca10904a060d52deba6dac6ff
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26539
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller &lt;jsmoeller@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta-app-framework/recipes-core/af-binder: bump to latest revision</title>
<updated>2020-08-19T15:59:39+00:00</updated>
<author>
<name>Li, Xiaoming</name>
<email>lixm.fnst@cn.fujitsu.com</email>
</author>
<published>2020-08-19T09:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=0476a28b81d06c3eab3866c55b1ebd58fa23febe'/>
<id>urn:sha1:0476a28b81d06c3eab3866c55b1ebd58fa23febe</id>
<content type='text'>
pickup changes:
1b62498 fix(migration-to-binding-v3.sed): add a legacy call replacing rule
53228dc Fix typo

Change-Id: Ie090ad3b81047352fb002dc5cb4ec10e82418e01
Signed-off-by: Li, Xiaoming &lt;lixm.fnst@cn.fujitsu.com&gt;
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25132
Tested-by: Jenkins Job builder account &lt;agl-jobbuilder@automotivelinux.org&gt;
ci-image-build: Jenkins Job builder account &lt;agl-jobbuilder@automotivelinux.org&gt;
ci-image-boot-test: Jenkins Job builder account &lt;agl-jobbuilder@automotivelinux.org&gt;
Reviewed-by: Jan-Simon Moeller &lt;jsmoeller@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>af-main &amp; af-binder: Fix infinite loop and C++</title>
<updated>2020-05-07T15:48:37+00:00</updated>
<author>
<name>José Bollo</name>
<email>jose.bollo@iot.bzh</email>
</author>
<published>2020-05-07T13:22:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=77a17c57856077a5eb2bfb5336710a75f1af95af'/>
<id>urn:sha1:77a17c57856077a5eb2bfb5336710a75f1af95af</id>
<content type='text'>
af-main: Fix an infinite loop when starting applications
 * e7ac328 afm-urun: Fix infinite loop on start status

af-binder: Fix a missing header when compiling C++
 * 33ddfb5 Fix includes of C++ header

Bug-AGL: SPEC-3323
Bug-AGL: SPEC-3358

Change-Id: I06a05427b33791a242038d278e452fd73806d2f5
Signed-off-by: José Bollo &lt;jose.bollo@iot.bzh&gt;
</content>
</entry>
<entry>
<title>af-binder: fix bug in reconnection</title>
<updated>2020-03-13T08:55:25+00:00</updated>
<author>
<name>Jose Bollo</name>
<email>jose.bollo@iot.bzh</email>
</author>
<published>2020-03-13T08:55:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=a0a47c959b2392ad31f0b99e8c0f5f1403200a4e'/>
<id>urn:sha1:a0a47c959b2392ad31f0b99e8c0f5f1403200a4e</id>
<content type='text'>
When the client reconnected, it used the wrong type
and reconnected as server leading to unexpected
state with faults.

Include:
 * 7901c6d afb-stub-ws: fix bug in reconnection

Bug-AGL: SPEC-3272

Change-Id: I3ad0987be094527f2a3a980a3a99f397b704f3ee
Signed-off-by: Jose Bollo &lt;jose.bollo@iot.bzh&gt;
</content>
</entry>
<entry>
<title>af-binder: bump and fixes</title>
<updated>2020-03-11T14:48:03+00:00</updated>
<author>
<name>Jose Bollo</name>
<email>jose.bollo@iot.bzh</email>
</author>
<published>2020-03-04T08:55:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.automotivelinux.org/AGL/meta-agl/commit/?id=1bd9a7bcc58beaa0f5aa6029ec92d67777ce2e7e'/>
<id>urn:sha1:1bd9a7bcc58beaa0f5aa6029ec92d67777ce2e7e</id>
<content type='text'>
Includes:
 * 862fb68b Fix globset compilation warning
 * 4848ec20 Update .gitreview file
 * 2f38d2ea Improves compatibility with AddressSanitizers
 * 693249aa Fix bug in session and token removal
 * 26b09b0d Fix a tiny issue in the protocol
 * 9cab553d Fix bug in C++ wrapper

Bug-AGL: SPEC-3040
Bug-AGL: SPEC-3134
Bug-AGL: SPEC-3162
Bug-AGL: SPEC-3220

Change-Id: I5f96ac20a824df3f6cb73be2e41ef79cd3f2be04
Signed-off-by: Jose Bollo &lt;jose.bollo@iot.bzh&gt;
</content>
</entry>
<entry>
<title>af-binder: Upgrade</title>
<updated>2020-01-10T09:23:25+00:00</updated>
<author>
<name>Jose Bollo</name>
<email>jose.bollo@iot.bzh</email>
</author>
<published>2020<style>
@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
}
@media (prefers-color-scheme: light) {
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
}
</style><div class="highlight"><pre><span></span><span class="ch">#!/bin/bash</span>

<span class="c1">################################################################################</span>
<span class="c1">#</span>
<span class="c1"># The MIT License (MIT)</span>
<span class="c1">#</span>
<span class="c1"># Copyright (c) 2016 Stéphane Desneux &lt;sdx@iot.bzh&gt;</span>
<span class="c1">#</span>
<span class="c1"># Permission is hereby granted, free of charge, to any person obtaining a copy</span>
<span class="c1"># of this software and associated documentation files (the &quot;Software&quot;), to deal</span>
<span class="c1"># in the Software without restriction, including without limitation the rights</span>
<span class="c1"># to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</span>
<span class="c1"># copies of the Software, and to permit persons to whom the Software is</span>
<span class="c1"># furnished to do so, subject to the following conditions:</span>
<span class="c1">#</span>
<span class="c1"># The above copyright notice and this permission notice shall be included in</span>
<span class="c1"># all copies or substantial portions of the Software.</span>
<span class="c1">#</span>
<span class="c1"># THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span>
<span class="c1"># IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
<span class="c1"># FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
<span class="c1"># AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
<span class="c1"># LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span>
<span class="c1"># OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span>
<span class="c1"># SOFTWARE.</span>
<span class="c1">#</span>
<span class="c1">################################################################################</span>

<span class="c1">#################################################################################</span>
<span class="c1">#                              IMPORTANT NOTICE</span>
<span class="c1">#</span>
<span class="c1"># This script is a compatiblity script with previous (AGL 1.0) envsetup script</span>
<span class="c1"># It has been replaced by another script named &quot;aglsetup.sh&quot;.</span>
<span class="c1"># </span>
<span class="c1">################################################################################</span>

<span class="c1"># detect if this script is sourced: see http://stackoverflow.com/a/38128348/6255594</span>
<span class="nv">SOURCED</span><span class="o">=</span><span class="m">0</span>
<span class="k">if</span> <span class="o">[</span> -n <span class="s2">&quot;</span><span class="nv">$ZSH_EVAL_CONTEXT</span><span class="s2">&quot;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span> 
	<span class="o">[[</span> <span class="nv">$ZSH_EVAL_CONTEXT</span> <span class="o">=</span>~ :file$ <span class="o">]]</span> <span class="o">&amp;&amp;</span> <span class="o">{</span> <span class="nv">SOURCED</span><span class="o">=</span><span class="m">1</span><span class="p">;</span> <span class="nv">SOURCEDIR</span><span class="o">=</span><span class="k">$(</span><span class="nb">cd</span> <span class="k">$(</span>dirname -- <span class="nv">$0</span><span class="k">)</span> <span class="o">&amp;&amp;</span> <span class="nb">pwd</span> -P<span class="k">)</span><span class="p">;</span> <span class="o">}</span>
<span class="k">elif</span> <span class="o">[</span> -n <span class="s2">&quot;</span><span class="nv">$KSH_VERSION</span><span class="s2">&quot;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
	<span class="o">[[</span> <span class="s2">&quot;</span><span class="k">$(</span><span class="nb">cd</span> <span class="k">$(</span>dirname -- <span class="nv">$0</span><span class="k">)</span> <span class="o">&amp;&amp;</span> <span class="nb">pwd</span> -P<span class="k">)</span><span class="s2">/</span><span class="k">$(</span>basename -- <span class="nv">$0</span><span class="k">)</span><span class="s2">&quot;</span> !<span class="o">=</span> <span class="s2">&quot;</span><span class="k">$(</span><span class="nb">cd</span> <span class="k">$(</span>dirname -- <span class="si">${</span><span class="p">.sh.file</span><span class="si">}</span><span class="k">)</span> <span class="o">&amp;&amp;</span> <span class="nb">pwd</span> -P<span class="k">)</span><span class="s2">/</span><span class="k">$(</span>basename -- <span class="si">${</span><span class="p">.sh.file</span><span class="si">}</span><span class="k">)</span><span class="s2">&quot;</span> <span class="o">]]</span> <span class="o">&amp;&amp;</span> <span class="o">{</span> <span class="nv">SOURCED</span><span class="o">=</span><span class="m">1</span><span class="p">;</span> <span class="nv">SOURCEDIR</span><span class="o">=</span><span class="k">$(</span><span class="nb">cd</span> <span class="k">$(</span>dirname -- <span class="si">${</span><span class="p">.sh.file</span><span class="si">}</span><span class="k">)</span> <span class="o">&amp;&amp;</span> <span class="nb">pwd</span> -P<span class="k">)</span><span class="p">;</span> <span class="o">}</span>
<span class="k">elif</span> <span class="o">[</span> -n <span class="s2">&quot;</span><span class="nv">$BASH_VERSION</span><span class="s2">&quot;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
	<span class="o">[[</span> <span class="nv">$0</span> !<span class="o">=</span> <span class="s2">&quot;</span><span class="nv">$BASH_SOURCE</span><span class="s2">&quot;</span> <span class="o">]]</span> <span class="o">&amp;&amp;</span> <span class="o">{</span> <span class="nv">SOURCED</span><span class="o">=</span><span class="m">1</span><span class="p">;</span> <span class="nv">SOURCEDIR</span><span class="o">=</span><span class="k">$(</span><span class="nb">cd</span> <span class="k">$(</span>dirname -- <span class="nv">$BASH_SOURCE</span><span class="k">)</span> <span class="o">&amp;&amp;</span> <span class="nb">pwd</span> -P<span class="k">)</span><span class="p">;</span> <span class="o">}</span>
<span class="k">fi</span>

<span class="k">if</span> <span class="o">[</span> <span class="nv">$SOURCED</span> -ne <span class="m">1</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
	<span class="nb">unset</span> SOURCED
	<span class="nb">unset</span> SOURCEDIR
	<span class="nb">echo</span> <span class="s2">&quot;Error: this script needs to be sourced in a supported shell&quot;</span> &gt;<span class="p">&amp;</span><span class="m">2</span>
	<span class="nb">echo</span> <span class="s2">&quot;Please check that the current shell is bash, zsh or ksh and run this script as &#39;. </span><span class="nv">$0</span><span class="s2"> &lt;args&gt;&#39;&quot;</span> &gt;<span class="p">&amp;</span><span class="m">2</span>
	<span class="k">return</span> <span class="m">1</span>
<span class="k">else</span>
	<span class="nb">unset</span> SOURCED
	<span class="k">if</span> <span class="o">[</span> -z <span class="nv">$1</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
        <span class="nb">echo</span> -e <span class="s2">&quot;Usage: source envsetup.sh &lt;board/device&gt; [build dir]&quot;</span>
        <span class="k">return</span> <span class="m">1</span>
	<span class="k">fi</span>
	<span class="k">if</span> <span class="o">[</span> -n <span class="s2">&quot;</span><span class="nv">$2</span><span class="s2">&quot;</span> <span class="o">]</span><span class="p">;</span> <span class="k">then</span>
		<span class="nv">BUILD_DIR</span><span class="o">=</span><span class="s2">&quot;</span><span class="nv">$2</span><span class="s2">&quot;</span>
	<span class="k">else</span>
		<span class="nv">BUILD_DIR</span><span class="o">=</span>build
	<span class="k">fi</span>
	<span class="c1"># echo &quot;DEPRECATED...&quot; | figlet -f big -w 80 -c</span>
	cat <span class="s">&lt;&lt;&#39;EOF&#39; &gt;&amp;2</span>
<span class="s"> ------------------------------------------------------------------------------</span>
<span class="s">| using this script is...                                                      |</span>
<span class="s">|   _____  ______ _____  _____  ______ _____       _______ ______ _____        |</span>
<span class="s">|  |  __ \|  ____|  __ \|  __ \|  ____/ ____|   /\|__   __|  ____|  __ \       |</span>
<span class="s">|  | |  | | |__  | |__) | |__) | |__ | |       /  \  | |  | |__  | |  | |      |</span>
<span class="s">|  | |  | |  __| |  ___/|  _  /|  __|| |      / /\ \ | |  |  __| | |  | |      |</span>
<span class="s">|  | |__| | |____| |    | | \ \| |___| |____ / ____ \| |  | |____| |__| | _ _  |</span>
<span class="s">|  |_____/|______|_|    |_|  \_\______\_____/_/    \_\_|  |______|_____(_|_|_) |</span>
<span class="s">|                                                                              |</span>
<span class="s">| To support the newest/upcoming features, please use the script aglsetup.sh.  |</span>
<span class="s"> ------------------------------------------------------------------------------</span>
<span class="s">EOF</span>
	. <span class="nv">$SOURCEDIR</span>/aglsetup.sh -m <span class="nv">$1</span> -b <span class="nv">$BUILD_DIR</span> agl-devel agl-netboot agl-appfw-smack agl-demo
	<span class="nv">rc</span><span class="o">=</span><span class="nv">$?</span>
	<span class="nb">unset</span> SOURCEDIR
	<span class="nb">unset</span> BUILD_DIR
	<span class="k">return</span> <span class="nv">$rc</span>
<span class="k">fi</span>
</pre></div>
</code></pre></td></tr></table>
</div> <!-- class=content -->
<div id="lfcollabprojects-footer">
  <div class="gray-diagonal">
    <div class="footer-inner">
      <p>Copyright &copy; 2015 The Linux Foundation. All rights reserved.</p>
      <p>
        Linux Foundation, Linux Standard Base, LSB, LSB Certified, IAccessible2,
        MeeGo are registered trademarks of the Linux Foundation.
      </p>
      <p>
        Linux is a registered
        <a href="http://www.linuxfoundation.org/programs/legal/trademark"
          >trademark</a
        >
        of Linus Torvalds. Please see our
        <a href="https://www.linuxfoundation.org/privacy">privacy policy</a>.
      </p>
    </div>
  </div>
</div>
</div> <!-- id=cgit -->
</body>
</html>
