From 8ed6911eda65e816cb2bb1e1e5a38e157538a74f Mon Sep 17 00:00:00 2001 From: Sunguk Lee Date: Mon, 18 Sep 2017 03:24:58 +0900 Subject: [PATCH 1/2] Install tools binaries to DEVKITA64/bin --- Makefile | 1 + tools/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c4bf5a8b..6ee44de2 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ install: make -C buildscripts/ install make -C crt0/ install make -C nx/ install + make -C tools/ install clean: make -C crt0/ clean diff --git a/tools/Makefile b/tools/Makefile index 0479b49e..6e516457 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -7,8 +7,8 @@ elf2nso: elf2nso.c sha256.c gcc -o $@ $^ -llz4 install: all - cp build_pfs0 /usr/local/bin/ - cp elf2nso /usr/local/bin/ + cp build_pfs0 ${DEVKITA64}/bin/ + cp elf2nso ${DEVKITA64}/bin/ clean: rm -f elf2nso From 19f752157a4056552c44662e38f4e5a2f8aaa4dc Mon Sep 17 00:00:00 2001 From: Sunguk Lee Date: Mon, 18 Sep 2017 03:27:53 +0900 Subject: [PATCH 2/2] Improve to clean tools --- Makefile | 1 + tools/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6ee44de2..6e4e8361 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,4 @@ install: clean: make -C crt0/ clean make -C nx/ clean + make -C tools/ clean diff --git a/tools/Makefile b/tools/Makefile index 6e516457..1d5269b5 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -12,3 +12,4 @@ install: all clean: rm -f elf2nso + rm -f build_pfs0