mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-12-01 01:00:33 +00:00
amend makefile and LCF
This commit is contained in:
parent
7f6b575788
commit
411f63edda
1
Makefile
1
Makefile
@ -39,7 +39,6 @@ S_FILES := $(wildcard asm/*.s)
|
||||
C_FILES := $(wildcard src/*.c)
|
||||
CPP_FILES := $(wildcard src/*.cpp)
|
||||
LDSCRIPT := $(BUILD_DIR)/ldscript.lcf
|
||||
PATCHLINKER := patch_linker.sh
|
||||
READMEGEN := tools/UpdateReadme.exe
|
||||
|
||||
# Outputs
|
||||
|
@ -30,15 +30,15 @@ GROUP: {
|
||||
_size_extab = SIZEOF(._extab);
|
||||
_size_extabindex = SIZEOF(._exidx);
|
||||
_size_text = SIZEOF(.text);
|
||||
_size_ctors = SIZEOF(.ctors); /* unlike the other sections, we can use this size symbol as-is. */
|
||||
_size_ctors = SIZEOF(.ctors);
|
||||
_size_dtors = SIZEOF(.dtors);
|
||||
_size_rodata = SIZEOF(.rodata);
|
||||
_size_data = SIZEOF(.data);
|
||||
_size_sdata = SIZEOF(.sdata); /* unlike the other sections, we can use this size symbol as-is. */
|
||||
_size_sdata = SIZEOF(.sdata);
|
||||
_size_sdata2 = SIZEOF(.sdata2);
|
||||
_size_bss = SIZEOF(.bss);
|
||||
_size_sbss = SIZEOF(.sbss);
|
||||
_size_sbss2 = SIZEOF(.sbss2); /* unlike the other sections, we can use this size symbol as-is. */
|
||||
_size_sbss2 = SIZEOF(.sbss2);
|
||||
}
|
||||
|
||||
FORCEFILES {
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
# param 1: file
|
||||
# param 2: offset
|
||||
# param 3: value
|
||||
printf "$(printf '\\x%02X' $2)" | dd of="$1" bs=1 seek=222480 count=1 conv=notrunc &> /dev/null
|
Loading…
Reference in New Issue
Block a user