mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-29 18:11:43 +00:00
binman: Use the Makefile for u_boot_binman_syms_bad
Remove this file from git and instead build it using the Makefile. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e9d2ee3862
commit
8dc60f99f9
3 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ def BuildElfTestFiles(target_dir):
|
||||||
os.path.join(testdir, 'Makefile'), 'SRC=%s/' % testdir,
|
os.path.join(testdir, 'Makefile'), 'SRC=%s/' % testdir,
|
||||||
'bss_data', 'u_boot_ucode_ptr', 'u_boot_no_ucode_ptr',
|
'bss_data', 'u_boot_ucode_ptr', 'u_boot_no_ucode_ptr',
|
||||||
'u_boot_binman_syms', 'u_boot_binman_syms.bin',
|
'u_boot_binman_syms', 'u_boot_binman_syms.bin',
|
||||||
'u_boot_binman_syms_size')
|
'u_boot_binman_syms_size', 'u_boot_binman_syms_bad')
|
||||||
|
|
||||||
|
|
||||||
class TestElf(unittest.TestCase):
|
class TestElf(unittest.TestCase):
|
||||||
|
@ -134,7 +134,7 @@ class TestElf(unittest.TestCase):
|
||||||
"""
|
"""
|
||||||
entry = FakeEntry(10)
|
entry = FakeEntry(10)
|
||||||
section = FakeSection()
|
section = FakeSection()
|
||||||
elf_fname = os.path.join(binman_dir, 'test', 'u_boot_binman_syms_bad')
|
elf_fname = self.ElfTestFile('u_boot_binman_syms_bad')
|
||||||
self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, section),
|
self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, section),
|
||||||
None)
|
None)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ CFLAGS := -march=i386 -m32 -nostdlib -I $(SRC)../../../include \
|
||||||
|
|
||||||
LDS_UCODE := -T $(SRC)u_boot_ucode_ptr.lds
|
LDS_UCODE := -T $(SRC)u_boot_ucode_ptr.lds
|
||||||
LDS_BINMAN := -T $(SRC)u_boot_binman_syms.lds
|
LDS_BINMAN := -T $(SRC)u_boot_binman_syms.lds
|
||||||
LDS_BINMAN_BAD := -T u_boot_binman_syms_bad.lds
|
LDS_BINMAN_BAD := -T $(SRC)u_boot_binman_syms_bad.lds
|
||||||
|
|
||||||
TARGETS = u_boot_ucode_ptr u_boot_no_ucode_ptr bss_data \
|
TARGETS = u_boot_ucode_ptr u_boot_no_ucode_ptr bss_data \
|
||||||
u_boot_binman_syms u_boot_binman_syms.bin u_boot_binman_syms_bad \
|
u_boot_binman_syms u_boot_binman_syms.bin u_boot_binman_syms_bad \
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue