blob: 5121b5f1e87f253b88b4b7d335d1d2587a59ceb2 [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2
3require ccsp_common_turris.inc
4
5SRC_URI += " file://turris-macro-gwprov.patch;apply=no"
6SRC_URI += " file://set-uplink-for-turris.patch;apply=no"
7
8# we need to patch to code for Turris
9do_turris_patches() {
10 cd ${S}
11 if [ ! -e patch_applied ]; then
12 patch -p1 < ${WORKDIR}/turris-macro-gwprov.patch
13 patch -p1 < ${WORKDIR}/set-uplink-for-turris.patch
14 touch patch_applied
15 fi
16}
17addtask turris_patches after do_unpack before do_compile
18
19export PLATFORM_TURRIS_ENABLED="yes"
20
21FILES_${PN} += " \
22 /usr/bin/gw_prov_utopia \
23"