X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Fmsp%2Freinstall.extra;h=360eb5de36ad5a9370e45d7abdc977cd64a436a7;hb=f4263e3d036f79a8127d49ced6ec40be6e81d1e2;hp=cf0d9d87afa650f7f6055bc674ccbaf4b9b6e085;hpb=2b779eba0deb6fe41f2c1d829f607c00dcebaa68;p=tinyos-2.x.git diff --git a/support/make/msp/reinstall.extra b/support/make/msp/reinstall.extra index cf0d9d87..360eb5de 100644 --- a/support/make/msp/reinstall.extra +++ b/support/make/msp/reinstall.extra @@ -4,11 +4,11 @@ NODEID = $(REINSTALL) BUILD_DEPS = setid program -ifdef TINYOS_NP - ifeq ($(TINYOS_NP),BNP) +ifdef BOOTLOADER + ifeq ($(BOOTLOADER),tosboot) BUILD_DEPS = setid program_bl program_no_e endif endif -check_bnp: FORCE - @perl -e 'exit 0 if (<> =~ /^\:103000/); print "\nERROR: Trying to install with BNP support.\n main.ihex was not built properly, please recompile.\n\n"; exit 1;' $(INSTALL_IHEX) +check_tosboot: FORCE + @perl -e 'exit 0 if (<> =~ /^\:103000/); print "\nERROR: Trying to install with tosboot support.\n main.ihex was not built properly, please recompile.\n\n"; exit 1;' $(INSTALL_IHEX)