[][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/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