From 5e784d292fc2532f0d1929173a356aba3d868715 Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Tue, 9 Apr 2019 18:29:44 +1000 Subject: [PATCH] wut.mk: don't depend on WUT_ROOT Brings wut.mk in line with the other build systems - probably the last real love it'll get. --- share/wut.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/share/wut.mk b/share/wut.mk index afa25d6c..3b8790d1 100644 --- a/share/wut.mk +++ b/share/wut.mk @@ -22,10 +22,8 @@ export DEVKITPPC ?= $(DEVKITPRO)/devkitPPC # Pull in devkitPPC bits - this gets $(CC) and friends set up include $(DEVKITPPC)/base_tools -# Make sure we have wut -ifeq ($(strip $(WUT_ROOT)),) - $(error "Please set WUT_ROOT in your environment.") -endif +# Have a guess at WUT_ROOT +export WUT_ROOT ?= $(DEVKITPRO)/wut # Grab wut tools we need. WUT_ELF2RPL := $(DEVKITPRO)/tools/bin/elf2rpl