[rdkb][mt7988][patch][Remove tops master patches for ccn34 project]
[Description]
Remove tops master patches for ccn34 project
[Release-log]
N/A
Change-Id: I4ae68d73707aa660f8e40ebc246d2f8471a3d32a
diff --git a/recipes-kernel/linux/linux-mediatek_5.4.bb b/recipes-kernel/linux/linux-mediatek_5.4.bb
index 35d6560..6dc242d 100644
--- a/recipes-kernel/linux/linux-mediatek_5.4.bb
+++ b/recipes-kernel/linux/linux-mediatek_5.4.bb
@@ -86,6 +86,12 @@
DISTRO_FlowBlock_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','flow_offload','true','false',d)}"
DISTRO_logan_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','logan','true','false',d)}"
DISTRO_secure_boot_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','secure_boot','true','false',d)}"
+ DISTRO_ccn34_build_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','ccn34','true','false',d)}"
+ if [ $DISTRO_ccn34_build_ENABLED = 'true' ]; then
+ rm -rf ${WORKDIR}/mediatek/nf_hnat/999-40*.patch
+ rm -rf ${WORKDIR}/mediatek/nf_hnat/999-41*.patch
+ rm -rf ${WORKDIR}/mediatek/nf_hnat/999-45*.patch
+ fi
if [ ! -e patch_applied ]; then
patch -p1 < ${WORKDIR}/001-rdkb-eth-mtk-change-ifname-for.patch
patch -p1 < ${WORKDIR}/003-rdkb-mtd-kernel-ubi-relayout.patch