Skip to content

Commit

Permalink
Modify paths to look for WiFi API files in Legato.
Browse files Browse the repository at this point in the history
Resolves: trac:4628

Change-Id: I62ed0b439f27f80985339d1e626757d991d3f6ae
  • Loading branch information
Dmitry Narkevich committed May 10, 2016
1 parent 8d014d8 commit 0c8d73f
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 9 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{MANGOH_WIFI_ROOT}/le_wifiClient.api")
generate_header_extern("$ENV{MANGOH_WIFI_ROOT}/le_wifiAp.api")
generate_header_extern("$ENV{LEGATO_WIFI_ROOT}/le_wifiClient.api")
generate_header_extern("$ENV{LEGATO_WIFI_ROOT}/le_wifiAp.api")
message(STATUS "MSG:MangOH Exit $ENV{MANGOH_WIFI_ROOT}/CMakeLists.txt")
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -12,6 +12,11 @@ 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

ifndef MANGOH_WIFI_PA
MANGOH_WIFI_PA = ti
export MANGOH_WIFI_PA
Expand Down
5 changes: 5 additions & 0 deletions apps/sample/wifiApTest/Makefile
Expand Up @@ -3,6 +3,11 @@ 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:
{
${MANGOH_WIFI_ROOT}/le_wifiAp.api
${LEGATO_WIFI_ROOT}/le_wifiAp.api
}
}
5 changes: 5 additions & 0 deletions apps/sample/wifiClientTest/Makefile
Expand Up @@ -3,6 +3,11 @@ 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:
{
${MANGOH_WIFI_ROOT}/le_wifiClient.api
${LEGATO_WIFI_ROOT}/le_wifiClient.api
}
}
5 changes: 5 additions & 0 deletions apps/sample/wifiWebAp/Makefile
Expand Up @@ -3,6 +3,11 @@ 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:
{
${MANGOH_WIFI_ROOT}/le_wifiAp.api
${LEGATO_WIFI_ROOT}/le_wifiAp.api
}
}

Expand Down
5 changes: 5 additions & 0 deletions apps/tools/wifi/Makefile
Expand Up @@ -3,6 +3,11 @@ 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
4 changes: 2 additions & 2 deletions apps/tools/wifi/wifi/Component.cdef
Expand Up @@ -2,8 +2,8 @@ requires:
{
api:
{
${MANGOH_WIFI_ROOT}/le_wifiClient.api
${MANGOH_WIFI_ROOT}/le_wifiAp.api
${LEGATO_WIFI_ROOT}/le_wifiClient.api
${LEGATO_WIFI_ROOT}/le_wifiAp.api
}
}

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

Expand Down
1 change: 1 addition & 0 deletions targetDefs.wifi
@@ -1,6 +1,7 @@
# Root directory for MangOH code
export MANGOH_ROOT = $(LEGATO_ROOT)/../mangOH
export MANGOH_WIFI_ROOT = $(MANGOH_ROOT)/apps/WiFi
export LEGATO_WIFI_ROOT = $(LEGATO_ROOT)/interfaces/wifi

# this variable goes from environment -> cmake -> Doxygen.
# It can be used in Legato Doxygen code to conditionally add MangOH links etc.
Expand Down

0 comments on commit 0c8d73f

Please sign in to comment.