[][OpenWrt Dev][Add release-specific package overriding]

[Description]
Add release-specific package overriding to solve patching failure due to
different package versions for different oprnwrt releases.

[Release-log]
N/A

Change-Id: I6785bfe0ebc59e598ee4fbf225e3ecb3442e6894
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5902796
diff --git a/package/boot/uboot-envtools/files/mediatek b/package-21.02/boot/uboot-envtools/files/mediatek
similarity index 100%
rename from package/boot/uboot-envtools/files/mediatek
rename to package-21.02/boot/uboot-envtools/files/mediatek
diff --git a/package/system/fstools/patches/0001-add-support-for-dual-boot.patch b/package-21.02/system/fstools/patches/0001-add-support-for-dual-boot.patch
similarity index 100%
rename from package/system/fstools/patches/0001-add-support-for-dual-boot.patch
rename to package-21.02/system/fstools/patches/0001-add-support-for-dual-boot.patch
diff --git a/prepare_sdk.sh b/prepare_sdk.sh
index 7a3dd67..ab555dc 100755
--- a/prepare_sdk.sh
+++ b/prepare_sdk.sh
@@ -32,7 +32,7 @@
 sdk_patch
 #cp mtk target to OpenWRT
 cp -fpR ${MTK_FEEDS_DIR}/target ./
-cp -fpR ${MTK_FEEDS_DIR}/package ./
+cp -fpR ${MTK_FEEDS_DIR}/package${OPENWRT_VER}/* ./package
 cp -fpR ${MTK_FEEDS_DIR}/tools ./
 #remove patch if choose to not "keep" patch
 if [ -z ${2} ]; then