diff options
author | Chris Johns <chrisj@rtems.org> | 2015-03-26 11:12:13 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-03-26 11:12:13 +1100 |
commit | 2e54abc9bacaf17a15f5dc744e4a839c82f9b28a (patch) | |
tree | 8828b4f6658fcf138cd4ac99f2e77d59f0dcfe57 /source-builder/sb/macros.py | |
parent | Bump newlib git head (diff) | |
download | rtems-source-builder-2e54abc9bacaf17a15f5dc744e4a839c82f9b28a.tar.bz2 |
sb: Make the source and patch labels have sortable label.
This patch changes 'patch1' to 'patch0001' so sorting of the macro
keys in the patch macro map returns the order the patches are declared.
The helps mamage patch sets that need a specific order.
Diffstat (limited to '')
-rw-r--r-- | source-builder/sb/macros.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/macros.py b/source-builder/sb/macros.py index 1f37ae4..d2bdc91 100644 --- a/source-builder/sb/macros.py +++ b/source-builder/sb/macros.py @@ -199,7 +199,7 @@ class macros: def map_keys(self, _map): if _map in self.macros: - return self.macros[_map].keys() + return sorted(self.macros[_map].keys()) return [] def map_num_keys(self, _map): |