build without strip if debug is on
This commit is contained in:
parent
0e4136537b
commit
8ba7a585cc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue