developer | cc441a0 | 2022-05-09 19:04:26 +0800 | [diff] [blame] | 1 | require ccsp_common_filogic.inc |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 2 | |
developer | 07d9738 | 2024-04-26 14:11:18 +0800 | [diff] [blame] | 3 | FILESEXTRAPATHS_append := "${THISDIR}/files:" |
| 4 | |
| 5 | SRC_URI_append += " \ |
| 6 | file://Fix-ccsp-eth-agent-build-error.patch;apply=no \ |
| 7 | " |
| 8 | |
| 9 | do_filogic_patches() { |
| 10 | cd ${S} |
| 11 | |
developer | 5a158f5 | 2024-05-17 14:27:33 +0800 | [diff] [blame^] | 12 | if [ ! -e filogic_patch_applied ] && ([ "${PROJECT_BRANCH}" = "rdkb-2024q1-dunfell" ] || [ "${PROJECT_BRANCH}" = "rdkb-2024q1-kirkstone" ]); then |
developer | 07d9738 | 2024-04-26 14:11:18 +0800 | [diff] [blame] | 13 | patch -p1 < ${WORKDIR}/Fix-ccsp-eth-agent-build-error.patch |
| 14 | touch filogic_patch_applied |
| 15 | fi |
| 16 | } |
| 17 | addtask filogic_patches after do_unpack before do_configure |
| 18 | |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 19 | CFLAGS_aarch64_append = " -Werror=format-truncation=1 " |
| 20 | |
developer | 783a8a6 | 2024-01-17 12:34:31 +0800 | [diff] [blame] | 21 | EXTRA_OECONF_append_dunfell = " --with-ccsp-arch=arm" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 22 | |
| 23 | LDFLAGS_append =" \ |
| 24 | -lsyscfg \ |
| 25 | -lbreakpadwrapper \ |
| 26 | " |
developer | 07d9738 | 2024-04-26 14:11:18 +0800 | [diff] [blame] | 27 | LDFLAGS_append_dunfell = " -lpthread -lsafec-3.5.1" |