summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Nagy <tnagy2pow10@gmail.com>2015-03-03 15:52:10 +0100
committerAmar Takhar <amar@rtems.org>2015-12-11 15:15:55 -0500
commit79ea7c8324b4d34816410b3547880677b6383592 (patch)
tree85d9aba583eb7890dfed75811329d1e429c73988
parentc25a58862f0671aea0b6655e4a29c9d4501ff374 (diff)
Do not include config.cfg in archives from 'waf dist'
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index e749753e61..06ac7de1c8 100644
--- a/wscript
+++ b/wscript
@@ -30,6 +30,12 @@ if config["rtems_version_revision"]:
VERSION = "%s.%d" % (VERSION, config["rtems_version_patch"])
APPNAME='rtems'
+class Dist(Scripting.Dist):
+ algo = 'tar.bz2' # tar.gz, tar.bz2, tar.xz or zip
+ def get_excl(self):
+ # do not ship config.cfg in the archive
+ return Scripting.Dist.get_excl(self) + ' config.cfg'
+
pprint.__doc__ = None # Make sure waf doesn't see this as a command.