diff options
author | Chris Johns <chrisj@rtems.org> | 2015-05-16 16:52:52 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-05-16 16:52:52 +1000 |
commit | 6dc864939347ba8db5dc0ba61c88273e906f421e (patch) | |
tree | 5e16f249991c6072f379c3aec926fee19b1730b1 | |
parent | ZONE(9): Disable uma_prealloc() (diff) | |
download | rtems-libbsd-6dc864939347ba8db5dc0ba61c88273e906f421e.tar.bz2 |
freebsd-to-rtems: Fix the Makefile test generator.
This removes the make warnings.
-rwxr-xr-x | makefile.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/makefile.py b/makefile.py index ce84c65a..ad0c734a 100755 --- a/makefile.py +++ b/makefile.py @@ -73,13 +73,13 @@ class TestFragementComposer(builder.BuildSystemFragmentComposer): for fileFragment in self.fileFragments: makefileFragment += testOFiles + ' += ' + testDir + '/' + fileFragment + '.o\n' \ + testDFiles + ' += ' + testDir + '/' + fileFragment + '.d\n' - makefileFragment += '$(' + testPrefix + '): $(' + testOFiles + ') $(LIB)\n' \ - '\t$(LINK.c) -Wl,-Map,' + testMap + ' $^ -lm -lz -o $@\n' \ - + testCollection + ' += $(' + testPrefix + ')\n' \ - 'O_FILES += $(' + testOFiles + ')\n' \ - 'D_FILES += $(' + testDFiles + ')\n' - if self.runTest: - makefileFragment += 'RUN_' + testCollection + ' += $(' + testPrefix + ')\n' + makefileFragment += '$(' + testPrefix + '): $(' + testOFiles + ') $(LIB)\n' \ + '\t$(LINK.c) -Wl,-Map,' + testMap + ' $^ -lm -lz -o $@\n' \ + + testCollection + ' += $(' + testPrefix + ')\n' \ + 'O_FILES += $(' + testOFiles + ')\n' \ + 'D_FILES += $(' + testDFiles + ')\n' + if self.runTest: + makefileFragment += 'RUN_' + testCollection + ' += $(' + testPrefix + ')\n' return makefileFragment class KVMSymbolsFragmentComposer(builder.BuildSystemFragmentComposer): |