diff options
author | Song Shuai <[email protected]> | 2023-09-14 17:13:34 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-10-12 11:34:03 -0700 |
commit | 505b02957e74f0c5c4655647ccb04bdc945d18f6 (patch) | |
tree | 0f33219189cb2327dd52b24c1d60c81ffc3a6754 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 14a270bfab7ab1c4b605c01eeca5557447ad5a2b (diff) |
riscv: Remove duplicate objcopy flag
There are two duplicate `-O binary` flags when objcopying from vmlinux
to Image/xipImage.
RISC-V set `-O binary` flag in both OBJCOPYFLAGS in the top-level riscv
Makefile and OBJCOPYFLAGS_* in the boot/Makefile, and the objcopy cmd
in Kbuild would join them together.
The `-O binary` flag is only needed for objcopying Image, so remove the
OBJCOPYFLAGS in the top-level riscv Makefile.
Fixes: c0fbcd991860 ("RISC-V: Build flat and compressed kernel images")
Signed-off-by: Song Shuai <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions