build without strip if debug is on

This commit is contained in:
Mariotaku 2025-06-17 18:16:33 +09:00
parent 0e4136537b
commit 8ba7a585cc
No known key found for this signature in database
GPG Key ID: 1CA89E27C95F7DF8
2 changed files with 307 additions and 303 deletions

View File

@ -66,6 +66,8 @@ jobs:
run: |
. /tmp/arm-webos-linux-gnueabi_sdk-buildroot/environment-setup
make -f Makefile.webos ipk PACKAGE_NAME=${PACKAGE_NAME} ADD_SDL2_LIB=1 -j$(getconf _NPROCESSORS_ONLN)
env:
DEBUG: ${{ github.event_name == 'release' && '0' || '1' }}
- name: Get short SHA
id: slug

View File

@ -288,7 +288,9 @@ ipk: $(TARGET) sdl2
ifeq ($(ADD_SDL2_LIB), 1)
cp -t webos/dist/lib -vf SDL/lib/libSDL2-2.0.so.0
endif
ifneq ($(DEBUG), 1)
$(STRIP) webos/dist/$(TARGET)
endif
cd webos && ares-package dist
install: ipk