Moved buildscripts from cpu/msp430 to platform/esb.
This commit is contained in:
parent
84413ddc99
commit
f0ce3a5292
|
@ -1,14 +1,4 @@
|
||||||
# $Id: Makefile.msp430,v 1.13 2007/03/22 23:57:33 adamdunkels Exp $
|
# $Id: Makefile.msp430,v 1.14 2007/03/23 16:22:26 nifi Exp $
|
||||||
|
|
||||||
### Check if we are running under Windows
|
|
||||||
|
|
||||||
ifndef WINDIR
|
|
||||||
ifdef OS
|
|
||||||
ifneq (,$(findstring Windows,$(OS)))
|
|
||||||
WINDIR := Windows
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef nodeid
|
ifdef nodeid
|
||||||
CFLAGS += -DNODEID=$(nodeid)
|
CFLAGS += -DNODEID=$(nodeid)
|
||||||
|
@ -111,13 +101,3 @@ else
|
||||||
symbols.c symbols.h:
|
symbols.c symbols.h:
|
||||||
@${CONTIKI}/tools/make-empty-symbols
|
@${CONTIKI}/tools/make-empty-symbols
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### System dependent Makefile
|
|
||||||
|
|
||||||
ifndef WINDIR
|
|
||||||
# settings for unix
|
|
||||||
-include ${CONTIKI}/cpu/msp430/buildscripts/Makefile.unix
|
|
||||||
else
|
|
||||||
# settings for windows
|
|
||||||
-include ${CONTIKI}/cpu/msp430/buildscripts/Makefile.win
|
|
||||||
endif
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.esb,v 1.5 2007/03/16 11:34:05 adamdunkels Exp $
|
# $Id: Makefile.esb,v 1.6 2007/03/23 16:19:41 nifi Exp $
|
||||||
|
|
||||||
SENSORS = sensors.c irq.c button-sensor.c pir-sensor.c vib-sensor.c \
|
SENSORS = sensors.c irq.c button-sensor.c pir-sensor.c vib-sensor.c \
|
||||||
sound-sensor.c radio-sensor.c ctsrts-sensor.c battery-sensor.c \
|
sound-sensor.c radio-sensor.c ctsrts-sensor.c battery-sensor.c \
|
||||||
|
@ -34,3 +34,26 @@ send: $(CONTIKI)/tools/codeprop.c
|
||||||
|
|
||||||
%.send: %.cm send
|
%.send: %.cm send
|
||||||
send $(BASE_IP) $<
|
send $(BASE_IP) $<
|
||||||
|
|
||||||
|
### System dependent Makefile
|
||||||
|
|
||||||
|
ifndef WINDIR
|
||||||
|
ifdef OS
|
||||||
|
ifneq (,$(findstring Windows,$(OS)))
|
||||||
|
WINDIR := Windows
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (${HOSTTYPE},FreeBSD)
|
||||||
|
# settings for FreeBSD
|
||||||
|
-include $(CONTIKI)/platform/$(TARGET)/buildscripts/Makefile.freebsd
|
||||||
|
else
|
||||||
|
ifndef WINDIR
|
||||||
|
# settings for unix
|
||||||
|
-include $(CONTIKI)/platform/$(TARGET)/buildscripts/Makefile.unix
|
||||||
|
else
|
||||||
|
# settings for windows
|
||||||
|
-include $(CONTIKI)/platform/$(TARGET)/buildscripts/Makefile.win
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
ifndef JTAG
|
ifndef JTAG
|
||||||
JTAG := $(CONTIKI_CPU)/buildscripts/jtag/pyjtag/jtag.py
|
JTAG := $(CONTIKI)/platform/$(TARGET)/buildscripts/jtag/pyjtag/jtag.py
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef JTAG_PORT
|
ifndef JTAG_PORT
|
2
platform/esb/buildscripts/Makefile.unix
Normal file
2
platform/esb/buildscripts/Makefile.unix
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
%.u: %.ihex
|
||||||
|
msp430-jtag -eI $^
|
0
cpu/msp430/buildscripts/jtag/pyjtag/jtag.py → platform/esb/buildscripts/jtag/pyjtag/jtag.py
Executable file → Normal file
0
cpu/msp430/buildscripts/jtag/pyjtag/jtag.py → platform/esb/buildscripts/jtag/pyjtag/jtag.py
Executable file → Normal file
Loading…
Reference in a new issue