From 85acdc31fceadf0fe2f883eb65ef30ffbc981446 Mon Sep 17 00:00:00 2001 From: Toad King Date: Mon, 16 Nov 2015 21:09:16 -0600 Subject: [PATCH] add usb gecko build flags to salamander makefile for wii --- Makefile.wii.salamander | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.wii.salamander b/Makefile.wii.salamander index 76a0d5c5fc..68d9d56277 100644 --- a/Makefile.wii.salamander +++ b/Makefile.wii.salamander @@ -65,7 +65,7 @@ ifeq ($(HAVE_FILE_LOGGER), 1) CFLAGS += -DHAVE_FILE_LOGGER endif -CFLAGS += -std=gnu99 -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_RARCH_EXEC -DGEKKO -Wno-char-subscripts +CFLAGS += -std=gnu99 -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_RARCH_EXEC -DGEKKO -Wno-char-subscripts ifeq ($(DEBUG), 1) CFLAGS += -O0 -g @@ -73,6 +73,11 @@ else CFLAGS += -O3 endif +ifeq ($(USBGECKO), 1) +LIBS += -ldb +CFLAGS += -DUSBGECKO +endif + all: $(DOL_TARGET) %.dol: %.elf @@ -100,4 +105,3 @@ clean: $(MAKE) -C $(APP_BOOTER_DIR) clean .PHONY: clean -