From 074b797e88c931cfedfb3e24f7d052b99c1f98df Mon Sep 17 00:00:00 2001 From: Atis Elsts Date: Fri, 23 Feb 2018 17:38:52 +0000 Subject: [PATCH] Update Makefiles to be compatible with the new build system and restrict them to specific platforms where needed --- examples/6tisch/6p-packet/Makefile | 5 ++++- examples/6tisch/etsi-plugtest-2017/Makefile | 2 ++ examples/6tisch/simple-node/Makefile | 2 ++ examples/6tisch/sixtop/Makefile | 2 ++ examples/coap/Makefile | 7 ++++++- examples/dev/gpio-hal/Makefile | 2 ++ examples/http-socket/Makefile | 5 ++++- examples/http-socket/websocket-node/Makefile | 7 +++++++ examples/ip64-router/Makefile | 3 ++- examples/ipso-objects/Makefile | 2 ++ examples/ipv6-hooks/Makefile | 3 ++- examples/libs/logging/Makefile | 3 +++ examples/libs/stack-check/Makefile | 2 ++ examples/nullnet/Makefile | 2 ++ examples/platform-specific/cc2538-common/Makefile | 2 ++ examples/platform-specific/cc2538-common/crypto/Makefile | 2 ++ .../platform-specific/cc2538-common/mqtt-demo/Makefile | 4 +++- examples/platform-specific/cc2538-common/pka/Makefile | 2 ++ examples/platform-specific/cc26xx/Makefile | 2 ++ examples/platform-specific/cc26xx/cc26xx-web-demo/Makefile | 5 ++++- .../platform-specific/cc26xx/very-sleepy-demo/Makefile | 2 ++ examples/platform-specific/jn516x/dr1175-sensors/Makefile | 2 ++ .../platform-specific/jn516x/rpl/coap-dongle-node/Makefile | 2 ++ .../platform-specific/jn516x/rpl/coap-dr1175-node/Makefile | 2 ++ .../platform-specific/jn516x/rpl/coap-dr1199-node/Makefile | 2 ++ examples/platform-specific/jn516x/rpl/node/Makefile | 2 ++ .../jn516x/tsch/simple-sensor-network/node/Makefile | 2 ++ .../jn516x/tsch/tx-power-verification/node/Makefile | 2 ++ .../tsch/tx-power-verification/rpl-border-router/Makefile | 2 ++ .../platform-specific/jn516x/tsch/uart1-test-node/Makefile | 2 ++ examples/platform-specific/nrf52dk/blink-hello/Makefile | 2 ++ examples/platform-specific/nrf52dk/mqtt-demo/Makefile | 5 ++++- examples/platform-specific/nrf52dk/timer-test/Makefile | 2 ++ examples/platform-specific/zoul/Makefile | 2 ++ examples/platform-specific/zoul/at-test/Makefile | 2 ++ examples/platform-specific/zoul/orion/client/Makefile | 2 ++ examples/platform-specific/zoul/orion/ip64-router/Makefile | 5 ++++- examples/platform-specific/zoul/rev-b/Makefile | 2 ++ examples/platform-specific/zoul/rtcc/Makefile | 2 ++ examples/rpl-udp/Makefile | 3 ++- examples/sensniff/Makefile | 2 ++ examples/storage/antelope-shell/Makefile | 6 +++++- examples/storage/cfs-coffee/Makefile | 5 ++++- 43 files changed, 112 insertions(+), 12 deletions(-) diff --git a/examples/6tisch/6p-packet/Makefile b/examples/6tisch/6p-packet/Makefile index 7e154f9d3..d5a56dbd9 100644 --- a/examples/6tisch/6p-packet/Makefile +++ b/examples/6tisch/6p-packet/Makefile @@ -1,10 +1,13 @@ -CONTIKI_PROJECT = sixp-node.c +CONTIKI_PROJECT = sixp-node PROJECT_SOURCEFILES += test-sf.c +PLATFORMS_EXCLUDE = sky nrf52dk native + CONTIKI = ../../../ MAKE_MAC = MAKE_MAC_TSCH MAKE_ROUTING = MAKE_ROUTING_NULLROUTING MODULES += os/net/mac/tsch/sixtop +all: $(CONTIKI_PROJECT) include $(CONTIKI)/Makefile.include diff --git a/examples/6tisch/etsi-plugtest-2017/Makefile b/examples/6tisch/etsi-plugtest-2017/Makefile index f09edc0a7..8de85ae21 100644 --- a/examples/6tisch/etsi-plugtest-2017/Makefile +++ b/examples/6tisch/etsi-plugtest-2017/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = node all: $(CONTIKI_PROJECT) +PLATFORMS_EXCLUDE = sky nrf52dk native + MAKE_WITH_SECURITY ?= 0 # force Security from command line ifeq ($(MAKE_WITH_SECURITY),1) CFLAGS += -DWITH_SECURITY=1 diff --git a/examples/6tisch/simple-node/Makefile b/examples/6tisch/simple-node/Makefile index fbdeb804a..3e6334a60 100644 --- a/examples/6tisch/simple-node/Makefile +++ b/examples/6tisch/simple-node/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = node all: $(CONTIKI_PROJECT) +PLATFORMS_EXCLUDE = sky nrf52dk native + CONTIKI=../../.. # force Orchestra from command line diff --git a/examples/6tisch/sixtop/Makefile b/examples/6tisch/sixtop/Makefile index 42360f170..6bc8d7160 100644 --- a/examples/6tisch/sixtop/Makefile +++ b/examples/6tisch/sixtop/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = node-sixtop all: $(CONTIKI_PROJECT) +PLATFORMS_EXCLUDE = sky nrf52dk native + PROJECT_SOURCEFILES += sf-simple.c CONTIKI=../../.. diff --git a/examples/coap/Makefile b/examples/coap/Makefile index e2c6e4a5d..1195a37a3 100644 --- a/examples/coap/Makefile +++ b/examples/coap/Makefile @@ -1,8 +1,13 @@ -all: coap-example-server coap-example-client +CONTIKI_PROJECT = coap-example-server coap-example-client # use target "plugtest-server" explicitly when required +all: $(CONTIKI_PROJECT) + CONTIKI=../.. +# Do not try to build on Sky because of code size limitation +PLATFORMS_EXCLUDE = sky + # build RESTful resources include $(CONTIKI)/Makefile.identify-target ifeq ($(TARGET),native) diff --git a/examples/dev/gpio-hal/Makefile b/examples/dev/gpio-hal/Makefile index d20495a60..efbdf6e05 100644 --- a/examples/dev/gpio-hal/Makefile +++ b/examples/dev/gpio-hal/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = gpio-hal-example CONTIKI = ../../.. +PLATFORMS_ONLY = srf06-cc26xx cc2538dk openmote-cc2538 zoul + include $(CONTIKI)/Makefile.identify-target MODULES_REL += $(TARGET) diff --git a/examples/http-socket/Makefile b/examples/http-socket/Makefile index e1904d3ab..87d0789c1 100644 --- a/examples/http-socket/Makefile +++ b/examples/http-socket/Makefile @@ -1,5 +1,8 @@ -all: http-example websocket-example +CONTIKI_PROJECT = http-example websocket-example +all: $(CONTIKI_PROJECT) CONTIKI=../.. MODULES += os/net/app-layer/http-socket +PLATFORMS_EXCLUDE = sky + include $(CONTIKI)/Makefile.include diff --git a/examples/http-socket/websocket-node/Makefile b/examples/http-socket/websocket-node/Makefile index cde795492..9dcc1def8 100644 --- a/examples/http-socket/websocket-node/Makefile +++ b/examples/http-socket/websocket-node/Makefile @@ -4,3 +4,10 @@ install: run: nodejs example-server.js + +# Needed by the build all script +all: + true + +clean: + rm -rf node_modules diff --git a/examples/ip64-router/Makefile b/examples/ip64-router/Makefile index a77652cfa..62ac81aaa 100644 --- a/examples/ip64-router/Makefile +++ b/examples/ip64-router/Makefile @@ -1,4 +1,5 @@ -all: ip64-router +CONTIKI_PROJECT = ip64-router +all: $(CONTIKI_PROJECT) CONTIKI=../.. include $(CONTIKI)/Makefile.include diff --git a/examples/ipso-objects/Makefile b/examples/ipso-objects/Makefile index d4a1ef503..d77f4200a 100644 --- a/examples/ipso-objects/Makefile +++ b/examples/ipso-objects/Makefile @@ -2,6 +2,8 @@ CONTIKI_PROJECT = example-ipso-objects CONTIKI_SOURCEFILES += serial-protocol.c example-ipso-temperature.c +PLATFORMS_EXCLUDE = sky + all: $(CONTIKI_PROJECT) MODULES += os/net/app-layer/coap diff --git a/examples/ipv6-hooks/Makefile b/examples/ipv6-hooks/Makefile index bbd4b7168..be8cc953e 100644 --- a/examples/ipv6-hooks/Makefile +++ b/examples/ipv6-hooks/Makefile @@ -1,4 +1,5 @@ -all: ipv6-hooks +CONTIKI_PROJECT = ipv6-hooks +all: $(CONTIKI_PROJECT) CONTIKI=../.. include $(CONTIKI)/Makefile.include diff --git a/examples/libs/logging/Makefile b/examples/libs/logging/Makefile index d394c0bc4..eead5bc90 100644 --- a/examples/libs/logging/Makefile +++ b/examples/libs/logging/Makefile @@ -1,5 +1,8 @@ CONTIKI_PROJECT = logging all: $(CONTIKI_PROJECT) +# Does not fit on Sky +PLATFORMS_EXCLUDE = sky + CONTIKI = ../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/libs/stack-check/Makefile b/examples/libs/stack-check/Makefile index 243679d51..02b94cfc0 100644 --- a/examples/libs/stack-check/Makefile +++ b/examples/libs/stack-check/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = example-stack-check all: $(CONTIKI_PROJECT) +PLATFORMS_EXCLUDE = native cooja + CONTIKI = ../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/nullnet/Makefile b/examples/nullnet/Makefile index 045a175cb..10a113798 100644 --- a/examples/nullnet/Makefile +++ b/examples/nullnet/Makefile @@ -3,6 +3,8 @@ all: $(CONTIKI_PROJECT) CONTIKI = ../.. +PLATFORMS_EXCLUDE = nrf52dk + #use this to enable TSCH: MAKE_MAC = MAKE_MAC_TSCH MAKE_MAC ?= MAKE_MAC_CSMA MAKE_NET = MAKE_NET_NULLNET diff --git a/examples/platform-specific/cc2538-common/Makefile b/examples/platform-specific/cc2538-common/Makefile index 70ef1bc3f..c55c65eaf 100644 --- a/examples/platform-specific/cc2538-common/Makefile +++ b/examples/platform-specific/cc2538-common/Makefile @@ -2,5 +2,7 @@ CONTIKI_PROJECT = test-pwm timer-test test-uart all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = cc2538dk openmote-cc2538 zoul + CONTIKI = ../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/cc2538-common/crypto/Makefile b/examples/platform-specific/cc2538-common/crypto/Makefile index b621dac95..2191d44f0 100644 --- a/examples/platform-specific/cc2538-common/crypto/Makefile +++ b/examples/platform-specific/cc2538-common/crypto/Makefile @@ -3,5 +3,7 @@ CONTIKI_PROJECT += sha256-test all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = cc2538dk openmote-cc2538 zoul + CONTIKI = ../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/cc2538-common/mqtt-demo/Makefile b/examples/platform-specific/cc2538-common/mqtt-demo/Makefile index 1295da093..ec29183b6 100644 --- a/examples/platform-specific/cc2538-common/mqtt-demo/Makefile +++ b/examples/platform-specific/cc2538-common/mqtt-demo/Makefile @@ -1,5 +1,7 @@ -all: mqtt-demo +CONTIKI_PROJECT = mqtt-demo +all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = cc2538dk openmote-cc2538 zoul MODULES += os/net/app-layer/mqtt diff --git a/examples/platform-specific/cc2538-common/pka/Makefile b/examples/platform-specific/cc2538-common/pka/Makefile index 488e27db9..01ba6fe62 100644 --- a/examples/platform-specific/cc2538-common/pka/Makefile +++ b/examples/platform-specific/cc2538-common/pka/Makefile @@ -2,5 +2,7 @@ CONTIKI_PROJECT = ecc-ecdh ecc-sign ecc-verify all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = cc2538dk openmote-cc2538 zoul + CONTIKI = ../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/cc26xx/Makefile b/examples/platform-specific/cc26xx/Makefile index 80506b26b..40e484bcc 100644 --- a/examples/platform-specific/cc26xx/Makefile +++ b/examples/platform-specific/cc26xx/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = cc26xx-demo +PLATFORMS_ONLY = srf06-cc26xx + all: $(CONTIKI_PROJECT) CONTIKI = ../../.. diff --git a/examples/platform-specific/cc26xx/cc26xx-web-demo/Makefile b/examples/platform-specific/cc26xx/cc26xx-web-demo/Makefile index bc024b826..3ddf9671b 100644 --- a/examples/platform-specific/cc26xx/cc26xx-web-demo/Makefile +++ b/examples/platform-specific/cc26xx/cc26xx-web-demo/Makefile @@ -1,4 +1,7 @@ -all: cc26xx-web-demo +CONTIKI_PROJECT = cc26xx-web-demo +all: $(CONTIKI_PROJECT) + +PLATFORMS_ONLY = srf06-cc26xx MODULES_REL += ./resources diff --git a/examples/platform-specific/cc26xx/very-sleepy-demo/Makefile b/examples/platform-specific/cc26xx/very-sleepy-demo/Makefile index 21f6acc1d..46da822d3 100644 --- a/examples/platform-specific/cc26xx/very-sleepy-demo/Makefile +++ b/examples/platform-specific/cc26xx/very-sleepy-demo/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = very-sleepy-demo +PLATFORMS_ONLY = srf06-cc26xx + all: $(CONTIKI_PROJECT) MODULES += os/net/app-layer/coap diff --git a/examples/platform-specific/jn516x/dr1175-sensors/Makefile b/examples/platform-specific/jn516x/dr1175-sensors/Makefile index 90be80149..23b1c50d7 100644 --- a/examples/platform-specific/jn516x/dr1175-sensors/Makefile +++ b/examples/platform-specific/jn516x/dr1175-sensors/Makefile @@ -1,6 +1,8 @@ CONTIKI=../../../.. CONTIKI_PROJECT = node +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DR1175 = 1 diff --git a/examples/platform-specific/jn516x/rpl/coap-dongle-node/Makefile b/examples/platform-specific/jn516x/rpl/coap-dongle-node/Makefile index 538bacf91..d0437d869 100644 --- a/examples/platform-specific/jn516x/rpl/coap-dongle-node/Makefile +++ b/examples/platform-specific/jn516x/rpl/coap-dongle-node/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = dongle-node all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DONGLE = 1 diff --git a/examples/platform-specific/jn516x/rpl/coap-dr1175-node/Makefile b/examples/platform-specific/jn516x/rpl/coap-dr1175-node/Makefile index 6fb119351..3670d12c4 100644 --- a/examples/platform-specific/jn516x/rpl/coap-dr1175-node/Makefile +++ b/examples/platform-specific/jn516x/rpl/coap-dr1175-node/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = dr1175-node all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DR1175 = 1 diff --git a/examples/platform-specific/jn516x/rpl/coap-dr1199-node/Makefile b/examples/platform-specific/jn516x/rpl/coap-dr1199-node/Makefile index bdef1a42a..b2286e272 100644 --- a/examples/platform-specific/jn516x/rpl/coap-dr1199-node/Makefile +++ b/examples/platform-specific/jn516x/rpl/coap-dr1199-node/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = dr1199-node all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DR1199 = 1 diff --git a/examples/platform-specific/jn516x/rpl/node/Makefile b/examples/platform-specific/jn516x/rpl/node/Makefile index 228287cf8..b5a14023a 100644 --- a/examples/platform-specific/jn516x/rpl/node/Makefile +++ b/examples/platform-specific/jn516x/rpl/node/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = node all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x CONTIKI=../../../../.. diff --git a/examples/platform-specific/jn516x/tsch/simple-sensor-network/node/Makefile b/examples/platform-specific/jn516x/tsch/simple-sensor-network/node/Makefile index 82685c610..2880a76de 100644 --- a/examples/platform-specific/jn516x/tsch/simple-sensor-network/node/Makefile +++ b/examples/platform-specific/jn516x/tsch/simple-sensor-network/node/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = node +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DONGLE = 1 diff --git a/examples/platform-specific/jn516x/tsch/tx-power-verification/node/Makefile b/examples/platform-specific/jn516x/tsch/tx-power-verification/node/Makefile index 43a0490ce..d19228f4d 100644 --- a/examples/platform-specific/jn516x/tsch/tx-power-verification/node/Makefile +++ b/examples/platform-specific/jn516x/tsch/tx-power-verification/node/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = node +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DONGLE = 1 diff --git a/examples/platform-specific/jn516x/tsch/tx-power-verification/rpl-border-router/Makefile b/examples/platform-specific/jn516x/tsch/tx-power-verification/rpl-border-router/Makefile index edbc2fe19..27454bda2 100644 --- a/examples/platform-specific/jn516x/tsch/tx-power-verification/rpl-border-router/Makefile +++ b/examples/platform-specific/jn516x/tsch/tx-power-verification/rpl-border-router/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT=rpl-border-router +PLATFORMS_ONLY = jn516x + TARGET ?= jn516x JN516x_WITH_DONGLE = 1 diff --git a/examples/platform-specific/jn516x/tsch/uart1-test-node/Makefile b/examples/platform-specific/jn516x/tsch/uart1-test-node/Makefile index 1dd86cc3d..22c5ee216 100644 --- a/examples/platform-specific/jn516x/tsch/uart1-test-node/Makefile +++ b/examples/platform-specific/jn516x/tsch/uart1-test-node/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = uart1-test-node +PLATFORMS_ONLY = jn516x + TARGET = jn516x JN516x_WITH_DR1174 = 1 TARGET_WITH_UART1 = 1 diff --git a/examples/platform-specific/nrf52dk/blink-hello/Makefile b/examples/platform-specific/nrf52dk/blink-hello/Makefile index 9bc1ee34f..393a385c3 100644 --- a/examples/platform-specific/nrf52dk/blink-hello/Makefile +++ b/examples/platform-specific/nrf52dk/blink-hello/Makefile @@ -6,5 +6,7 @@ NRF52_WITHOUT_SOFTDEVICE=1 all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = nrf52dk + CONTIKI = ../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/nrf52dk/mqtt-demo/Makefile b/examples/platform-specific/nrf52dk/mqtt-demo/Makefile index d32903531..dc3e23e67 100644 --- a/examples/platform-specific/nrf52dk/mqtt-demo/Makefile +++ b/examples/platform-specific/nrf52dk/mqtt-demo/Makefile @@ -1,4 +1,7 @@ -all: mqtt-demo +CONTIKI_PROJECT = mqtt-demo +all: $(CONTIKI_PROJECT) + +PLATFORMS_ONLY = nrf52dk MAKE_ROUTING = MAKE_ROUTING_NULLROUTING diff --git a/examples/platform-specific/nrf52dk/timer-test/Makefile b/examples/platform-specific/nrf52dk/timer-test/Makefile index c5ddcfbd2..da515a62e 100644 --- a/examples/platform-specific/nrf52dk/timer-test/Makefile +++ b/examples/platform-specific/nrf52dk/timer-test/Makefile @@ -1,5 +1,7 @@ CONTIKI_PROJECT = timer-test +PLATFORMS_ONLY = nrf52dk + MAKE_ROUTING = MAKE_ROUTING_NULLROUTING MAKE_MAC=MAKE_MAC_NULLMAC NRF52_WITHOUT_SOFTDEVICE=1 diff --git a/examples/platform-specific/zoul/Makefile b/examples/platform-specific/zoul/Makefile index 3b8a3a751..88dcb3ce2 100644 --- a/examples/platform-specific/zoul/Makefile +++ b/examples/platform-specific/zoul/Makefile @@ -15,5 +15,7 @@ MODULES += arch/dev/bme280 all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = zoul + CONTIKI = ../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/zoul/at-test/Makefile b/examples/platform-specific/zoul/at-test/Makefile index 04d282aaa..df8ef9da8 100644 --- a/examples/platform-specific/zoul/at-test/Makefile +++ b/examples/platform-specific/zoul/at-test/Makefile @@ -2,5 +2,7 @@ CONTIKI_PROJECT = at-master-test MODULES = os/services/at-master all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = zoul + CONTIKI = ../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/zoul/orion/client/Makefile b/examples/platform-specific/zoul/orion/client/Makefile index de6df0e34..181bf3073 100644 --- a/examples/platform-specific/zoul/orion/client/Makefile +++ b/examples/platform-specific/zoul/orion/client/Makefile @@ -7,5 +7,7 @@ MODULES += os/net/app-layer/http-socket WITH_IP64 = 1 +PLATFORMS_ONLY = zoul + CONTIKI = ../../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/zoul/orion/ip64-router/Makefile b/examples/platform-specific/zoul/orion/ip64-router/Makefile index 8300617ca..dc1e7f68d 100644 --- a/examples/platform-specific/zoul/orion/ip64-router/Makefile +++ b/examples/platform-specific/zoul/orion/ip64-router/Makefile @@ -1,4 +1,5 @@ -all: ip64-router +CONTIKI_PROJECT = ip64-router +all: $(CONTIKI_PROJECT) BOARD = orion @@ -8,4 +9,6 @@ WITH_IP64 = 1 PROJECT_SOURCEFILES += httpd-simple.c +PLATFORMS_ONLY = zoul + include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/zoul/rev-b/Makefile b/examples/platform-specific/zoul/rev-b/Makefile index 61d9cf432..aaa07051c 100644 --- a/examples/platform-specific/zoul/rev-b/Makefile +++ b/examples/platform-specific/zoul/rev-b/Makefile @@ -4,5 +4,7 @@ BOARD ?= remote-revb all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = zoul + CONTIKI = ../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/platform-specific/zoul/rtcc/Makefile b/examples/platform-specific/zoul/rtcc/Makefile index 9aca10bbc..284d4531a 100644 --- a/examples/platform-specific/zoul/rtcc/Makefile +++ b/examples/platform-specific/zoul/rtcc/Makefile @@ -4,5 +4,7 @@ TARGET = zoul all: $(CONTIKI_PROJECT) +PLATFORMS_ONLY = zoul + CONTIKI = ../../../.. include $(CONTIKI)/Makefile.include diff --git a/examples/rpl-udp/Makefile b/examples/rpl-udp/Makefile index e779b1680..26190e839 100644 --- a/examples/rpl-udp/Makefile +++ b/examples/rpl-udp/Makefile @@ -1,4 +1,5 @@ -all: udp-client udp-server +CONTIKI_PROJECT = udp-client udp-server +all: $(CONTIKI_PROJECT) .PHONY: renode renode: all diff --git a/examples/sensniff/Makefile b/examples/sensniff/Makefile index a3c3286f2..e207590bb 100644 --- a/examples/sensniff/Makefile +++ b/examples/sensniff/Makefile @@ -1,6 +1,8 @@ CONTIKI_PROJECT = sensniff CONTIKI = ../.. +PLATFORMS_ONLY = cc2538dk openmote-cc2538 zoul srf06-cc26xx jn516x + PROJECT_SOURCEFILES += sensniff-mac.c netstack.c MODULES_REL += pool $(TARGET) diff --git a/examples/storage/antelope-shell/Makefile b/examples/storage/antelope-shell/Makefile index c6ffd276b..3b3f7fd23 100644 --- a/examples/storage/antelope-shell/Makefile +++ b/examples/storage/antelope-shell/Makefile @@ -2,6 +2,10 @@ CONTIKI = ../../.. MODULES += os/storage/antelope os/services/unit-test -all: shell-db +# does not fit on Sky +PLATFORMS_ONLY= cc2538 + +CONTIKI_PROJECT = shell-db +all: $(CONTIKI_PROJECT) include $(CONTIKI)/Makefile.include diff --git a/examples/storage/cfs-coffee/Makefile b/examples/storage/cfs-coffee/Makefile index 4d27d6f8f..62e474401 100644 --- a/examples/storage/cfs-coffee/Makefile +++ b/examples/storage/cfs-coffee/Makefile @@ -1,7 +1,10 @@ CONTIKI = ../../.. +PLATFORMS_ONLY= cc2538 sky + MODULES += os/services/unit-test -all: test-cfs test-coffee example-coffee +CONTIKI_PROJECT = test-cfs test-coffee example-coffee +all: $(CONTIKI_PROJECT) include $(CONTIKI)/Makefile.include