X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Ftosboot.extra;h=ddb928c01f387642c8e30dab41734d31b24a713a;hb=4fb956e3bddd9f271197449e3b7029d23f602040;hp=80e00688c96f2509b695620d3a519fd20752d44c;hpb=c6d9663aef7ea2f34323160158e0143cd38880cd;p=tinyos-2.x.git diff --git a/support/make/tosboot.extra b/support/make/tosboot.extra index 80e00688..ddb928c0 100644 --- a/support/make/tosboot.extra +++ b/support/make/tosboot.extra @@ -34,11 +34,25 @@ ifeq ($(BOOTLOADER),tosboot) AVR_FUSE_H ?= 0xda endif + ifeq ($(TARGETS),mulle) + CFLAGS += -I$(DELUGE_EXTRA) -I$(DELUGE_EXTRA)/mulle -I$(DELUGE_EXTRA)/m16c62p + BOOTLOADER_IMG ?= $(TOSBOOT_DIR)/mulle/main.srec + endif + ifeq ($(TARGETS),iris) CFLAGS += -I$(DELUGE_EXTRA)/iris -I$(DELUGE_EXTRA)/micaz -I$(DELUGE_EXTRA)/mica2 -I$(DELUGE_EXTRA)/avr -I$(DELUGE_EXTRA) BOOTLOADER_IMG ?= $(TOSBOOT_DIR)/iris/main.ihex AVR_FUSE_H ?= 0xda endif + ifeq ($(TARGETS),tinynode) + CFLAGS += -I$(DELUGE_EXTRA)/tinynode + CFLAGS += -I$(DELUGE_EXTRA) -I$(DELUGE_EXTRA)/msp430 -I$(DELUGE_EXTRA)/msp430f1611 + ifeq ($(filter docs,$(GOALS)),) + CFLAGS += -Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000 + endif + BOOTLOADER_IMG ?= $(TOSBOOT_DIR)/tinynode/main.ihex + endif + endif