summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-12-11 14:21:29 +1100
committerChris Johns <chrisj@rtems.org>2015-12-11 14:21:29 +1100
commitcbcfcd0bdbdb2193dcb07fb24540720409048114 (patch)
treecb3deadf746214804ba2429b387a8043a14bc0cf
parentor1k: use newlib snapshot for rtems4.11 (diff)
downloadrtems-source-builder-cbcfcd0bdbdb2193dcb07fb24540720409048114.tar.bz2
Remove the warning when undefining an undefined macro.
-rw-r--r--source-builder/sb/config.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index 127112b..441ce6c 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -710,8 +710,6 @@ class file:
mn = self._label(ls[1])
if mn in self.macros:
del self.macros[mn]
- else:
- log.warning("macro '%s' not defined" % (mn))
def _ifs(self, config, ls, label, iftrue, isvalid, dir, info):
in_iftrue = True