mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Merge pull request #7 from devkitPro/devkitA64-fixes
minor devkitA64 updates
This commit is contained in:
commit
ad6ce3d6f8
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.o
|
||||||
|
*.bz2
|
||||||
|
|
@ -10,7 +10,7 @@ endif
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# path to tools
|
# path to tools
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
export PATH := $(DEVKITARM)/bin:$(PATH)
|
export PATH := $(DEVKITA64)/bin:$(PATH)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# the prefix on the compiler executables
|
# the prefix on the compiler executables
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
switch_crt0.o: *.s
|
switch_crt0.o: *.s
|
||||||
aarch64-none-elf-gcc -march=armv8-a -x assembler-with-cpp -c $^ -o $@
|
$(DEVKITA64)/bin/aarch64-none-elf-gcc -march=armv8-a -x assembler-with-cpp -c $^ -o $@
|
||||||
|
|
||||||
install: switch_crt0.o
|
install: switch_crt0.o
|
||||||
cp $^ $(DEVKITA64)/aarch64-none-elf/lib/$^
|
cp $^ $(DEVKITA64)/aarch64-none-elf/lib/pic/$^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f switch_crt0.o
|
rm -f switch_crt0.o
|
||||||
|
4
nx/.gitignore
vendored
Normal file
4
nx/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
debug
|
||||||
|
release
|
||||||
|
lib
|
||||||
|
|
2
tools/.gitignore
vendored
Normal file
2
tools/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
build_pfs0
|
||||||
|
elf2nso
|
@ -1,14 +1,14 @@
|
|||||||
all: elf2nso build_pfs0
|
all: elf2nso build_pfs0
|
||||||
|
|
||||||
build_pfs0: build_pfs0.c
|
build_pfs0: build_pfs0.c
|
||||||
gcc -o $@ $^
|
gcc $(CFLAGS) -o $@ $^
|
||||||
|
|
||||||
elf2nso: elf2nso.c sha256.c
|
elf2nso: elf2nso.c sha256.c
|
||||||
gcc -o $@ $^ -llz4
|
gcc $(CFLAGS) -o $@ $^ -llz4
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp build_pfs0 /usr/local/bin/
|
cp build_pfs0 $(DEVKITA64)/bin/
|
||||||
cp elf2nso /usr/local/bin/
|
cp elf2nso $(DEVKITA64)/bin/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f elf2nso
|
rm -f elf2nso
|
||||||
|
Loading…
Reference in New Issue
Block a user