#!/bin/bash

export GPL_PLATFORM="$1"
export GPL_MODEL="$2"
export GPL_OPENWRT="../openwrt"
export GPL_CONFIG_FILE="../config/${GPL_PLATFORM}/${GPL_MODEL}/config_draytek"
export GPL_IPK_FOLDER="../openwrt/${GPL_PLATFORM}/bin/packages/aarch64_cortex-a53/base/"
export GPL_DRAY_APPLICATION_FOLDER="../package/draytek/applications"
export GPL_SUFFIX="_1.0.0-1_aarch64_cortex-a53.ipk"
export GPL_EXCEPT_LIST="dray_gpl_ipk"
export GPL_EXCEPT_FOLDER="dray_gpl_ipk"
export GPL_LIBFEEDS_RELATED="libcgi libcli libfeeds libseeds netcwmp draybox sysklogd license_cgi"
export GPL_DRAYOS5_FOLDER="../package/draytek/drayos5"
export GPL_NON_GPL_FOLDER="../package/draytek/drayos5_non-gpl"
export GPL_DRIVER_FOLDER="../package/draytek/drivers"
export GPL_DRIVER_KO_FILEFOLDER="../openwrt/${GPL_PLATFORM}/build_dir/target-aarch64_cortex-a53_musl/root.orig-mediatek/lib/modules/5.4.238"
export GPL_MT_WIFI_KO_RELATED="mt_wifi.ko mtk_warp_proxy.ko mtkhnat.ko"
export GPL_EXTERNAL_SRC="1905daemon 1905daemon_62aff5ff mapd mapd_62aff5ff mt_wifi mt_wifi_62aff5ff linux-5.4.238"
export GPL_EXTERNAL_SRC_FOLDER="../openwrt/${GPL_PLATFORM}/external_src/decompress"
export GPL_BUILD_USER="rd6"
export GPL_BUILD_CLEAN="./build.sh ap962c clean"
export GPL_BUILD_COMMAND="./build.sh ap962c beta"
export GPL_MTK_PACKAGE="1905daemon 8021xd ated_ext datconf fwdd libmapd mapd mapfilter mtfwd sigma_daemon sigma_dut wapp warp"
export GPL_MTK_PACKAGE_TAR="1905daemon 8021xd ated_ext datconf bndstrg_plus fwdd libmapd mapd mapfilter miniupnpd-1.6 mt7915_20220907 mt79xx_20220907  mt79xx_conninfra_20220907 sigma_daemon sigma_dut wapp warp"
export GPL_MTK_DL_FOLDER="../openwrt/${GPL_PLATFORM}/dl"
export GPL_SOURCE_PACK="VigorAP962C_v501_GPL_release"
