BigW Consortium Gitlab

Commit 305dd2a5 by David Pochet

Add makefile for standalone build with mksys

parent 452bc649
TARGET:=wp85
# Load default PA definitions from main Legato Makefile
$(shell grep 'export PA_DIR .*' $(LEGATO_ROOT)/Makefile > legatoDefs.mk)
$(shell grep 'export .*_PA_.* .*' $(LEGATO_ROOT)/Makefile >> legatoDefs.mk)
-include legatoDefs.mk
# Default targets definitions from Framework
-include targetDefs.$(TARGET)
.PHONY: all $(TARGET)
all: $(TARGET)
$(TARGET):
export MANGOH_ROOT=$(shell pwd) && \
mksys -t $(TARGET) \
-i "$(LEGATO_ROOT)/interfaces/supervisor" \
-i "$(LEGATO_ROOT)/interfaces/positioning" \
-i "$(LEGATO_ROOT)/interfaces/airVantage" \
-i "$(LEGATO_ROOT)/interfaces/modemServices" \
-i "$(LEGATO_ROOT)/interfaces" \
-i "$(LEGATO_ROOT)/interfaces/atServices" \
-i "$(LEGATO_ROOT)/interfaces/wifi" \
-i "$(LEGATO_ROOT)/interfaces/secureStorage" \
-i "$(LEGATO_ROOT)/interfaces/logDaemon" \
-s "$(LEGATO_ROOT)/modules/WiFi/service" \
-s "$(LEGATO_ROOT)/components" \
-s "$(LEGATO_ROOT)/modules/WiFi/apps/tools/wifi" \
-s "$(LEGATO_ROOT)/apps/platformServices/airVantage" \
-s "$(LEGATO_ROOT)/apps/platformServices" \
-s "$(LEGATO_ROOT)/apps/tools" \
-C -g -X -g -L -g \
mangoh.sdef
clean:
rm -rf /tmp/mkbuild_* _build_* *.update legatoDefs.mk
......@@ -5,6 +5,12 @@
// Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
//--------------------------------------------------------------------------------------------------
buildVars:
{
LEGATO_WIFI_ROOT = $LEGATO_ROOT/modules/WiFi
LEGATO_WIFI_PA = ti
}
apps:
{
// Platform services.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment