Don't edit the riscv subsystem if using objcopy
* Only needed in binary mode Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
e092a94869
commit
06320f8fb3
@ -45,8 +45,10 @@ ifeq ($(IS_MINGW32),)
|
||||
-j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
|
||||
-j .areloc -j .reloc $(FORMAT) $*.so $@
|
||||
ifeq ($(ARCH),riscv64)
|
||||
ifeq ($(SYSTEM_HAS_EFI_OBJCOPY),0)
|
||||
$(HIDE)/bin/echo -ne "$(CHAR_SUBSYSTEM)" | dd of=$@ bs=1 seek=156 count=1 conv=notrunc status=none
|
||||
endif
|
||||
endif
|
||||
|
||||
%.efi.debug: %.so
|
||||
@$(ECHO) " OBJCOPY $(notdir $@)"
|
||||
|
Loading…
Reference in New Issue
Block a user