Moved buildscripts from cpu/msp430 to platform/esb.

This commit is contained in:
nifi 2007-03-23 16:19:41 +00:00
parent 84413ddc99
commit f0ce3a5292
14 changed files with 28 additions and 23 deletions

View File

@ -1,14 +1,4 @@
# $Id: Makefile.msp430,v 1.13 2007/03/22 23:57:33 adamdunkels Exp $
### Check if we are running under Windows
ifndef WINDIR
ifdef OS
ifneq (,$(findstring Windows,$(OS)))
WINDIR := Windows
endif
endif
endif
# $Id: Makefile.msp430,v 1.14 2007/03/23 16:22:26 nifi Exp $
ifdef nodeid
CFLAGS += -DNODEID=$(nodeid)
@ -111,13 +101,3 @@ else
symbols.c symbols.h:
@${CONTIKI}/tools/make-empty-symbols
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

View File

@ -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 \
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 $(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

View File

@ -1,5 +1,5 @@
ifndef JTAG
JTAG := $(CONTIKI_CPU)/buildscripts/jtag/pyjtag/jtag.py
JTAG := $(CONTIKI)/platform/$(TARGET)/buildscripts/jtag/pyjtag/jtag.py
endif
ifndef JTAG_PORT

View File

@ -0,0 +1,2 @@
%.u: %.ihex
msp430-jtag -eI $^