Commit d9c2e93d authored by Florent Revest's avatar Florent Revest

qml-asteroid: Build with HAS_WLAN and HAS_SPEAKER depending on machine configuration

parent 7826044a
......@@ -18,7 +18,15 @@ RDEPENDS_${PN} += "qtsvg-plugins ttf-opensans qtvirtualkeyboard"
do_configure_prepend() {
if [ ${MACHINE_DISPLAY_ROUND} = "true" ]
then
export EXTRA_QMAKEVARS_PRE="DEFINES+=ROUND_SCREEN"
export EXTRA_QMAKEVARS_PRE="${EXTRA_QMAKEVARS_PRE} DEFINES+=ROUND_SCREEN"
fi
if [ ${MACHINE_HAS_WLAN} = "true" ]
then
export EXTRA_QMAKEVARS_PRE="${EXTRA_QMAKEVARS_PRE} DEFINES+=HAS_WLAN"
fi
if [ ${MACHINE_HAS_SPEAKER} = "true" ]
then
export EXTRA_QMAKEVARS_PRE="${EXTRA_QMAKEVARS_PRE} DEFINES+=HAS_SPEAKER"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment