Sfoglia il codice sorgente

Merge pull request #92 from mmicko/master

linux-steam support for stripping
Branimir Karadžić 10 anni fa
parent
commit
0656c6f568
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      scripts/toolchain.lua

+ 7 - 1
scripts/toolchain.lua

@@ -1126,7 +1126,13 @@ function strip()
 			"$(SILENT) $(ANDROID_NDK_X86)/bin/i686-linux-android-strip -s \"$(TARGET)\""
 		}
 
-	configuration { "linux-* or rpi", "Release" }
+	configuration { "linux-steamlink", "Release" }
+		postbuildcommands {
+			"$(SILENT) echo Stripping symbols.",
+			"$(SILENT) $(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-strip -s \"$(TARGET)\""
+		}
+
+	configuration { "linux-* or rpi", "not linux-steamlink", "Release" }
 		postbuildcommands {
 			"$(SILENT) echo Stripping symbols.",
 			"$(SILENT) strip -s \"$(TARGET)\""