From 6dc864939347ba8db5dc0ba61c88273e906f421e Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 16 May 2015 16:52:52 +1000 Subject: freebsd-to-rtems: Fix the Makefile test generator. This removes the make warnings. --- makefile.py | 14 +++++++------- 1 file 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): -- cgit v1.2.3