move crt0 to libnx

This commit is contained in:
Dave Murphy 2018-01-18 22:57:00 +00:00 committed by plutoo
parent e39dc2baf8
commit 305d4bf3e3
4 changed files with 1 additions and 12 deletions

View File

@ -1,12 +1,9 @@
all:
$(MAKE) -C crt0/
$(MAKE) -C nx/
install:
$(MAKE) -C buildscripts/ install
$(MAKE) -C crt0/ install
$(MAKE) -C nx/ install
clean:
$(MAKE) -C crt0/ clean
$(MAKE) -C nx/ clean

View File

@ -4,5 +4,5 @@
%(old_link) -T switch.ld%s -pie --gc-sections -z text -z nodynamic-undefined-weak
*startfile:
switch_crt0%O%s crti%O%s crtbegin%O%s
crti%O%s crtbegin%O%s

View File

@ -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