aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/SConstruct
diff options
context:
space:
mode:
authorTC Wan2010-12-27 18:12:29 +0800
committerTC Wan2010-12-27 18:12:29 +0800
commitb7d4f58fac3aced7756a15264b89575ab0ba2490 (patch)
tree3ade04030bfa6ecd631460245c840c8d11015567 /AT91SAM7S256/armdebug/SConstruct
parent2ce74d88a2a894799dfb025e92806c61c5dd9612 (diff)
parent86539efe1fe0cbbc6926f23a6e29b97d09ef9360 (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/SConstruct')
-rw-r--r--AT91SAM7S256/armdebug/SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/AT91SAM7S256/armdebug/SConstruct b/AT91SAM7S256/armdebug/SConstruct
index aad988c..b82d2af 100644
--- a/AT91SAM7S256/armdebug/SConstruct
+++ b/AT91SAM7S256/armdebug/SConstruct
@@ -162,8 +162,12 @@ else:
myasflags.append('-Wa,-mcpu=arm7tdmi,-mfpu=softfpa')
mycflags.append('-g')
mycflags.append('-ggdb')
+mycflags.append('-D__NXOS__')
+
myasflags.append('-g')
myasflags.append('-ggdb')
+myasflags.append('-D__NXOS__')
+
env.Replace(CCFLAGS = mycflags, ASFLAGS = myasflags )
# Build the baseplate, and all selected application kernels.