[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot
Makefile, 1.7, 1.8
Jonathan Hui
jwhui at users.sourceforge.net
Tue Jul 19 12:48:56 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31362
Modified Files:
Makefile
Log Message:
- Strip IV as part of the build process.
Index: Makefile
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile 17 Jul 2005 20:53:18 -0000 1.7
--- Makefile 19 Jul 2005 19:48:54 -0000 1.8
***************
*** 40,43 ****
--- 40,44 ----
CFLAGS += -DTOSBOOT_START=0x1100 -DTOSBOOT_END=0x1a00
CFLAGS += -Iat45db -Imsp430 -Itelos
+ POST_BUILD_EXTRA_DEPS += strip_iv
endif
***************
*** 45,50 ****
CFLAGS += -DTOSBOOT_START=0x4000 -DTOSBOOT_END=0x4800
CFLAGS += -Imsp430 -Istm25p -Itelosb
endif
! include $(TOSDIR)/../apps/Makerules
--- 46,55 ----
CFLAGS += -DTOSBOOT_START=0x4000 -DTOSBOOT_END=0x4800
CFLAGS += -Imsp430 -Istm25p -Itelosb
+ POST_BUILD_EXTRA_DEPS += strip_iv
endif
+ strip_iv: FORCE
+ @echo " removing interrupt vector from binary"
+ msp430-objcopy -j .text -j .data -O ihex $(BUILDDIR)/main.exe $(BUILDDIR)/main.ihex
! include $(MAKERULES)
More information about the Tinyos-beta-commits
mailing list