blob: 5121b5f1e87f253b88b4b7d335d1d2587a59ceb2 [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
require ccsp_common_turris.inc
SRC_URI += " file://turris-macro-gwprov.patch;apply=no"
SRC_URI += " file://set-uplink-for-turris.patch;apply=no"
# we need to patch to code for Turris
do_turris_patches() {
cd ${S}
if [ ! -e patch_applied ]; then
patch -p1 < ${WORKDIR}/turris-macro-gwprov.patch
patch -p1 < ${WORKDIR}/set-uplink-for-turris.patch
touch patch_applied
fi
}
addtask turris_patches after do_unpack before do_compile
export PLATFORM_TURRIS_ENABLED="yes"
FILES_${PN} += " \
/usr/bin/gw_prov_utopia \
"