Adding support for device specific retroarch.cfg
This commit is contained in:
parent
0e7e39bb41
commit
817e7fc5de
1 changed files with 5 additions and 1 deletions
|
@ -76,7 +76,11 @@ makeinstall_target() {
|
||||||
|
|
||||||
# General configuration
|
# General configuration
|
||||||
mkdir -p ${INSTALL}/usr/config/retroarch/
|
mkdir -p ${INSTALL}/usr/config/retroarch/
|
||||||
|
if [ -d "${PKG_DIR}/sources/${DEVICE}" ] then
|
||||||
|
cp -rf ${PKG_DIR}/sources/${DEVICE}/* ${INSTALL}/usr/config/retroarch/
|
||||||
|
else
|
||||||
cp -rf ${PKG_DIR}/sources/* ${INSTALL}/usr/config/retroarch/
|
cp -rf ${PKG_DIR}/sources/* ${INSTALL}/usr/config/retroarch/
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
mkdir -p ${INSTALL}/usr/bin
|
mkdir -p ${INSTALL}/usr/bin
|
||||||
cp ${PKG_BUILD}/retroarch ${INSTALL}/usr/bin
|
cp ${PKG_BUILD}/retroarch ${INSTALL}/usr/bin
|
||||||
|
|
Loading…
Reference in a new issue