support for init objects
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1273 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
2f726c3e83
commit
c8ea12d672
|
@ -65,8 +65,8 @@ makerule linuxbios_payload
|
|||
end
|
||||
|
||||
makerule linuxbios
|
||||
depends "crt0.o linuxbios_payload ldscript.ld"
|
||||
action "$(CC) -nostdlib -nostartfiles -static -o $@ -T ldscript.ld crt0.o"
|
||||
depends "crt0.o $(INIT-OBJECTS) linuxbios_payload ldscript.ld"
|
||||
action "$(CC) -nostdlib -nostartfiles -static -o $@ -T ldscript.ld crt0.o $(INIT-OBJECTS)"
|
||||
action "$(CROSS_COMPILE)nm -n linuxbios | sort > linuxbios.map"
|
||||
end
|
||||
|
||||
|
@ -96,9 +96,9 @@ makerule crt0.s
|
|||
end
|
||||
|
||||
makerule crt0.o
|
||||
depends "crt0.s $(INIT-OBJECTS)"
|
||||
depends "crt0.s"
|
||||
action "@echo $(CC) ... -o $@ $<"
|
||||
action "@$(CC) -c $(CPU_OPT) -o $@ $< $(INIT-OBJECTS)"
|
||||
action "@$(CC) -c $(CPU_OPT) -o $@ $<"
|
||||
end
|
||||
|
||||
makerule etags
|
||||
|
|
Loading…
Reference in New Issue