blob: b411f4cabfa224da084a54c8886af3796827e81e [file] [log] [blame]
developercc441a02022-05-09 19:04:26 +08001require ccsp_common_filogic.inc
developer15a43312022-04-12 11:23:23 +08002
developer07d97382024-04-26 14:11:18 +08003FILESEXTRAPATHS_append := "${THISDIR}/files:"
4
5SRC_URI_append += " \
6 file://Fix-ccsp-eth-agent-build-error.patch;apply=no \
7"
8
9do_filogic_patches() {
10 cd ${S}
11
developer5a158f52024-05-17 14:27:33 +080012 if [ ! -e filogic_patch_applied ] && ([ "${PROJECT_BRANCH}" = "rdkb-2024q1-dunfell" ] || [ "${PROJECT_BRANCH}" = "rdkb-2024q1-kirkstone" ]); then
developer07d97382024-04-26 14:11:18 +080013 patch -p1 < ${WORKDIR}/Fix-ccsp-eth-agent-build-error.patch
14 touch filogic_patch_applied
15 fi
16}
17addtask filogic_patches after do_unpack before do_configure
18
developer15a43312022-04-12 11:23:23 +080019CFLAGS_aarch64_append = " -Werror=format-truncation=1 "
20
developer783a8a62024-01-17 12:34:31 +080021EXTRA_OECONF_append_dunfell = " --with-ccsp-arch=arm"
developer15a43312022-04-12 11:23:23 +080022
23LDFLAGS_append =" \
24 -lsyscfg \
25 -lbreakpadwrapper \
26"
developer07d97382024-04-26 14:11:18 +080027LDFLAGS_append_dunfell = " -lpthread -lsafec-3.5.1"