From b04edbebb3c1c7769bd6b12e32b2ea381499d514 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 9 Oct 2006 09:15:48 +0000 Subject: [PATCH] CFLAGS contain nodeid if it is defined --- cpu/msp430/Makefile.msp430 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpu/msp430/Makefile.msp430 b/cpu/msp430/Makefile.msp430 index a29af4f74..23717b77a 100644 --- a/cpu/msp430/Makefile.msp430 +++ b/cpu/msp430/Makefile.msp430 @@ -1,4 +1,4 @@ -# $Id: Makefile.msp430,v 1.6 2006/10/09 09:13:23 adamdunkels Exp $ +# $Id: Makefile.msp430,v 1.7 2006/10/09 09:15:48 adamdunkels Exp $ ### Check if we are running under Windows @@ -10,6 +10,10 @@ ifndef WINDIR endif endif +ifdef nodeid +CFLAGS += -DNODEID=$(nodeid) +endif + .SUFFIXES: ### Define the CPU directory