Merge pull request #1776 from fewtarius/dev
Fix headers issue for mupen64plus-sa-core and mupen64plus-sa-simplecore.
This commit is contained in:
commit
3b105e9882
3 changed files with 15 additions and 5 deletions
2
.github/workflows/release-dev.yaml
vendored
2
.github/workflows/release-dev.yaml
vendored
|
@ -7,7 +7,7 @@
|
||||||
name: release-dev
|
name: release-dev
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 3 * * *'
|
- cron: '0 12 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
env:
|
env:
|
||||||
BRANCH: dev
|
BRANCH: dev
|
||||||
|
|
|
@ -53,8 +53,14 @@ makeinstall_target() {
|
||||||
chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/*
|
chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/*
|
||||||
rm -rf ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
rm -rf ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
||||||
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/mupen64plus
|
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/mupen64plus
|
||||||
cp -r ${PKG_BUILD}/src/* ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
cp -rf ${PKG_BUILD}/src ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
||||||
mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
for header in ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/src/api/*h
|
||||||
|
do
|
||||||
|
ln -sf ${header} ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
||||||
|
done
|
||||||
|
|
||||||
|
# mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
|
||||||
|
|
||||||
|
|
||||||
if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ]
|
if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -51,6 +51,10 @@ makeinstall_target() {
|
||||||
chmod 644 ${INSTALL}/usr/local/lib/libsimple64.so.2
|
chmod 644 ${INSTALL}/usr/local/lib/libsimple64.so.2
|
||||||
rm -rf ${SYSROOT_PREFIX}/usr/local/include/simple64
|
rm -rf ${SYSROOT_PREFIX}/usr/local/include/simple64
|
||||||
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/simple64
|
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/simple64
|
||||||
cp -r ${PKG_BUILD}/src/* ${SYSROOT_PREFIX}/usr/local/include/simple64/
|
cp -rf ${PKG_BUILD}/src ${SYSROOT_PREFIX}/usr/local/include/simple64/
|
||||||
mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/simple64/
|
for header in ${SYSROOT_PREFIX}/usr/local/include/simple64/src/api/*h
|
||||||
|
do
|
||||||
|
ln -sf ${header} ${SYSROOT_PREFIX}/usr/local/include/simple64/
|
||||||
|
done
|
||||||
|
#mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/simple64/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue