mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-03 14:59:37 +08:00
freebsd-to-rtems: Fix the Makefile test generator.
This removes the make warnings.
This commit is contained in:
parent
4dab3a04bb
commit
6dc8649393
14
makefile.py
14
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user