Revamp all the Makefiles (thanks @fincs @WinterMute)

... dependencies are now properly handled (e.g. header changes, etc.)
This commit is contained in:
TuxSH 2018-05-19 00:54:38 +02:00
parent 7bfdf63a71
commit b4eeddd7e1
23 changed files with 773 additions and 304 deletions

View file

@ -9,7 +9,7 @@ SECTIONS
. = ALIGN(4);
.text : {
PROVIDE(lds_thermo_start = .);
build/start.o (.text*)
start.o (.text*)
*(.text*)
}
@ -35,16 +35,16 @@ SECTIONS
. = ALIGN(16);
. += 0x10000; /* 64 KiB stack */
el2_stack_end = .;
/* Page align the end of binary */
. = ALIGN(512);
PROVIDE(lds_el2_thermo_end = .);
/* EL1 stack */
. = ALIGN(16);
. += 0x10000; /* 64 KiB stack */
el1_stack_end = .;
lds_thermo_end = .;
/DISCARD/ : { *(.dynstr*) }