mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
move crt0 to libnx
This commit is contained in:
parent
e39dc2baf8
commit
305d4bf3e3
3
Makefile
3
Makefile
@ -1,12 +1,9 @@
|
|||||||
all:
|
all:
|
||||||
$(MAKE) -C crt0/
|
|
||||||
$(MAKE) -C nx/
|
$(MAKE) -C nx/
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(MAKE) -C buildscripts/ install
|
$(MAKE) -C buildscripts/ install
|
||||||
$(MAKE) -C crt0/ install
|
|
||||||
$(MAKE) -C nx/ install
|
$(MAKE) -C nx/ install
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C crt0/ clean
|
|
||||||
$(MAKE) -C nx/ clean
|
$(MAKE) -C nx/ clean
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
%(old_link) -T switch.ld%s -pie --gc-sections -z text -z nodynamic-undefined-weak
|
%(old_link) -T switch.ld%s -pie --gc-sections -z text -z nodynamic-undefined-weak
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
switch_crt0%O%s crti%O%s crtbegin%O%s
|
crti%O%s crtbegin%O%s
|
||||||
|
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
switch_crt0.o: *.s
|
|
||||||
$(DEVKITA64)/bin/aarch64-none-elf-gcc -march=armv8-a -x assembler-with-cpp -c $^ -o $@
|
|
||||||
|
|
||||||
install: switch_crt0.o
|
|
||||||
cp $^ $(DEVKITA64)/aarch64-none-elf/lib/pic/$^
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f switch_crt0.o
|
|
Loading…
Reference in New Issue
Block a user