From 5c01c13f74cdada701ce53a4a2900898139d4d00 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 4 May 2016 15:08:24 +0200 Subject: [PATCH] Fix build under Linux --- kernel/gx2sploit/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/gx2sploit/Makefile b/kernel/gx2sploit/Makefile index 98028c0..83f9055 100755 --- a/kernel/gx2sploit/Makefile +++ b/kernel/gx2sploit/Makefile @@ -3,7 +3,9 @@ CFLAGS=-std=gnu99 -nostdinc -fno-builtin -c LD=powerpc-eabi-ld LDFLAGS=-Ttext 1800000 --oformat binary project := src +ifeq ($(shell uname -o),Cygwin) override CURDIR:=$(shell cygpath -m $(CURDIR)) +endif root:=$(CURDIR) build := $(root)/bin libs := $(root)/../../libwiiu/bin