Просмотр исходного кода

linux-steam support for stripping

Miodrag Milanovic 10 лет назад
Родитель
Сommit
3843315b85
1 измененных файлов с 7 добавлено и 1 удалено
  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)\""
 			"$(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 {
 		postbuildcommands {
 			"$(SILENT) echo Stripping symbols.",
 			"$(SILENT) echo Stripping symbols.",
 			"$(SILENT) strip -s \"$(TARGET)\""
 			"$(SILENT) strip -s \"$(TARGET)\""