Hi
I see some project names hardcoded on emulation packages, like this
Code
make_target() {
case $PROJECT in
RPi)
case $DEVICE in
RPi)
make -C libretro platform=armv6-gles-hardfloat-arm1176jzf-s
;;
RPi2)
make -C libretro platform=armv7-neon-gles-hardfloat-cortex-a7
;;
esac
;;
imx6)
make -C libretro platform=armv7-neon-gles-hardfloat-cortex-a9
;;
WeTek_Play|WeTek_Core)
make -C libretro platform=armv7-neon-gles-hardfloat-cortex-a9
;;
Generic)
make -C libretro
;;
esac
}
Display More
Can I made a PR to remove the project names? or there is any reason to hardcode just that devices?
Maybe can be replaced by some combination of target_has_feature and TARGET_ARCH