1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00

disable non working opengl example

This commit is contained in:
DanyLE 2023-07-19 16:58:05 +02:00
parent e07da1a7c0
commit 86a7359b2a

View File

@ -12,17 +12,13 @@ TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {
${CXX} ${WORKDIR}/sdl_test.cpp `pkg-config --cflags --libs sdl2` -o ${WORKDIR}/sdl_test
${CC} ${WORKDIR}/sdlgl.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlgl
# ${CC} ${WORKDIR}/sdlgl.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlgl
${CC} ${WORKDIR}/sdlglshader.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlglshader
}
do_install() {
install -d ${D}/usr/bin
install -m 0755 ${WORKDIR}/sdl_test ${D}/usr/bin
install -m 0755 ${WORKDIR}/sdlgl ${D}/usr/bin
# install -m 0755 ${WORKDIR}/sdlgl ${D}/usr/bin
install -m 0755 ${WORKDIR}/sdlglshader ${D}/usr/bin
# for manual copy test applications on target from tmp dir
install -m 0755 ${WORKDIR}/sdl_test /tmp
install -m 0755 ${WORKDIR}/sdlgl /tmp
install -m 0755 ${WORKDIR}/sdlglshader /tmp
}