From: notaz Date: Thu, 7 Nov 2024 21:40:32 +0000 (+0200) Subject: 3ds: allow compiling with just DEVKITPRO set X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde9bdf09de1300fd9a757c85c618084ff68e942;p=pcsx_rearmed.git 3ds: allow compiling with just DEVKITPRO set --- diff --git a/Makefile.libretro b/Makefile.libretro index 6bacb3f4..21cbd282 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -66,6 +66,10 @@ else ifeq ($(platform), vita) LD = arm-vita-eabi-ld$(EXE_EXT) OBJCOPY = arm-vita-eabi-objcopy$(EXE_EXT) else ifeq ($(platform), ctr) + ifneq ($(strip $(DEVKITPRO)),) + DEVKITARM ?= $(DEVKITPRO)/devkitARM + CTRULIB ?= $(DEVKITPRO)/libctru + endif ifeq ($(strip $(DEVKITARM)),) $(error "DEVKITARM env var is not set") endif