developer | 93e9720 | 2024-01-17 12:29:44 +0800 | [diff] [blame] | 1 | SRC_URI += "git://gerrit.mediatek.inc/gateway/rdk-b/rdkb_hal;protocol=https;branch=master;destsuffix=git/source/ethsw/rdkb_hal" |
developer | 3b7aaa7 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 2 | |
| 3 | SRCREV = "${AUTOREV}" |
| 4 | |
| 5 | CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'rdkb_wan_manager', ' -DFEATURE_RDKB_WAN_MANAGER ', '', d)}" |
| 6 | |
developer | 56baff3 | 2024-10-17 13:34:32 +0800 | [diff] [blame] | 7 | CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'three_gmac', ' -DTHREE_GMACS_SUPPORT ', '', d)}" |
developer | 139ca35 | 2022-11-23 17:45:23 +0800 | [diff] [blame] | 8 | |
developer | 3b7aaa7 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 9 | do_configure_prepend(){ |
| 10 | if ${@bb.utils.contains('DISTRO_FEATURES','switch_gsw_mode','true','false',d)}; then |
| 11 | ln -sf ${S}/rdkb_hal/src/ethsw/ccsp_hal_ethsw_gsw.c ${S}/ccsp_hal_ethsw.c |
| 12 | else |
| 13 | ln -sf ${S}/rdkb_hal/src/ethsw/ccsp_hal_ethsw.c ${S}/ccsp_hal_ethsw.c |
| 14 | fi |
| 15 | } |