From 5feeb362b1e3add853f98e30fec00bdc0412c86a Mon Sep 17 00:00:00 2001 From: John Parton Date: Sat, 26 Jun 2021 21:08:22 -0500 Subject: [PATCH] Remove bash-ism which was preventing strip from working on OpenDingux --- Makefile.rg350 | 4 +++- Makefile.rg350_odbeta | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.rg350 b/Makefile.rg350 index b4ecfc9382..365f12f5b1 100644 --- a/Makefile.rg350 +++ b/Makefile.rg350 @@ -219,7 +219,9 @@ opk: $(TARGET) echo "$$DESKTOP_ENTRY" > default.gcw0.desktop rm -f $(OPK_NAME) cp media/ico_src/icon32.png retroarch.png - if [ $$STRIP_BIN -eq 1 ]; then $(STRIP) --strip-unneeded retroarch; fi +ifeq ($(STRIP_BIN),1) + $(STRIP) --strip-unneeded retroarch +endif $(GCW0_MK_SQUASH_FS) retroarch default.gcw0.desktop retroarch.png $(OPK_NAME) -all-root -no-xattrs -noappend -no-exports rm -f default.gcw0.desktop retroarch.png diff --git a/Makefile.rg350_odbeta b/Makefile.rg350_odbeta index d33a487eec..715d35f963 100644 --- a/Makefile.rg350_odbeta +++ b/Makefile.rg350_odbeta @@ -219,7 +219,9 @@ opk: $(TARGET) echo "$$DESKTOP_ENTRY" > default.gcw0.desktop rm -f $(OPK_NAME) cp media/ico_src/icon32.png retroarch.png - if [ $$STRIP_BIN -eq 1 ]; then $(STRIP) --strip-unneeded retroarch; fi +ifeq ($(STRIP_BIN),1) + $(STRIP) --strip-unneeded retroarch +endif $(GCW0_MK_SQUASH_FS) retroarch default.gcw0.desktop retroarch.png $(OPK_NAME) -all-root -no-xattrs -noappend -no-exports rm -f default.gcw0.desktop retroarch.png