Skip to content

Commit

Permalink
Remove LEGATO_WIFI_ROOT envvar and adapt paths.
Browse files Browse the repository at this point in the history
Since that variable was only defined in makefiles,
the api files weren't found when mksys was used
to build the sample apps instead of make.

Despite MANGOH_WIFI_ROOT existing, it doesn't seem
like there's even any need for a path as specific as LEGATO_WIFI_ROOT.

Change-Id: Idf0f7774908e6be5102bf198c132f91a1eb5733b
Resolves: trac:4628
  • Loading branch information
Dmitry Narkevich committed May 13, 2016
1 parent 0c8d73f commit 8e16a6a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 24 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -7,6 +7,6 @@

message(STATUS "MSG:MangOH Entered $ENV{MANGOH_WIFI_ROOT}/CMakeLists.txt")
message(STATUS "MSG:MangOH:Wifi: CMakeLists.txt called")
generate_header_extern("$ENV{LEGATO_WIFI_ROOT}/le_wifiClient.api")
generate_header_extern("$ENV{LEGATO_WIFI_ROOT}/le_wifiAp.api")
generate_header_extern("$ENV{LEGATO_ROOT}/interfaces/wifi/le_wifiClient.api")
generate_header_extern("$ENV{LEGATO_ROOT}/interfaces/wifi/le_wifiAp.api")
message(STATUS "MSG:MangOH Exit $ENV{MANGOH_WIFI_ROOT}/CMakeLists.txt")
5 changes: 0 additions & 5 deletions apps/sample/wifiApTest/Makefile
Expand Up @@ -3,11 +3,6 @@ MANGOH_WIFI_ROOT = $(PWD)/../../..
export MANGOH_WIFI_ROOT
endif

ifndef LEGATO_WIFI_ROOT
LEGATO_WIFI_ROOT = $(LEGATO_ROOT)/interfaces/wifi
export LEGATO_WIFI_ROOT
endif

localhost: app.localhost

ar7: app.ar7
Expand Down
2 changes: 1 addition & 1 deletion apps/sample/wifiApTest/wifiApTestComponent/Component.cdef
Expand Up @@ -7,6 +7,6 @@ requires:
{
api:
{
${LEGATO_WIFI_ROOT}/le_wifiAp.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiAp.api
}
}
5 changes: 0 additions & 5 deletions apps/sample/wifiClientTest/Makefile
Expand Up @@ -3,11 +3,6 @@ MANGOH_WIFI_ROOT = $(PWD)/../../..
export MANGOH_WIFI_ROOT
endif

ifndef LEGATO_WIFI_ROOT
LEGATO_WIFI_ROOT = $(LEGATO_ROOT)/interfaces/wifi
export LEGATO_WIFI_ROOT
endif

localhost: app.localhost

ar7: app.ar7
Expand Down
Expand Up @@ -7,6 +7,6 @@ requires:
{
api:
{
${LEGATO_WIFI_ROOT}/le_wifiClient.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiClient.api
}
}
5 changes: 0 additions & 5 deletions apps/sample/wifiWebAp/Makefile
Expand Up @@ -3,11 +3,6 @@ MANGOH_WIFI_ROOT = $(PWD)/../../..
export MANGOH_WIFI_ROOT
endif

ifndef LEGATO_WIFI_ROOT
LEGATO_WIFI_ROOT = $(LEGATO_ROOT)/interfaces/wifi
export LEGATO_WIFI_ROOT
endif

localhost: app.localhost

ar7: app.ar7
Expand Down
2 changes: 1 addition & 1 deletion apps/sample/wifiWebAp/wifiWebApComponent/Component.cdef
Expand Up @@ -7,7 +7,7 @@ requires:
{
api:
{
${LEGATO_WIFI_ROOT}/le_wifiAp.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiAp.api
}
}

Expand Down
4 changes: 2 additions & 2 deletions apps/tools/wifi/wifi/Component.cdef
Expand Up @@ -2,8 +2,8 @@ requires:
{
api:
{
${LEGATO_WIFI_ROOT}/le_wifiClient.api
${LEGATO_WIFI_ROOT}/le_wifiAp.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiClient.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiAp.api
}
}

Expand Down
4 changes: 2 additions & 2 deletions service/daemon/Component.cdef
Expand Up @@ -2,8 +2,8 @@ provides:
{
api:
{
${LEGATO_WIFI_ROOT}/le_wifiClient.api
${LEGATO_WIFI_ROOT}/le_wifiAp.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiClient.api
${LEGATO_ROOT}/interfaces/wifi/le_wifiAp.api
}
}

Expand Down

0 comments on commit 8e16a6a

Please sign in to comment.