[Bugfix][T106]fix linux-zxic build for esdk
Change-Id: I56a4ae6159875e438cd11b91cbf4e6765eb8618f
diff --git a/cap/zx297520v3/sources/meta-zxic/conf/pub_esdk.inc b/cap/zx297520v3/sources/meta-zxic/conf/pub_esdk.inc
new file mode 100755
index 0000000..b66ac77
--- /dev/null
+++ b/cap/zx297520v3/sources/meta-zxic/conf/pub_esdk.inc
@@ -0,0 +1,14 @@
+
+ZXIC_EXTRA_CFLAGS = "-I${BSPDIR}/pub/include/infra "
+ZXIC_EXTRA_CFLAGS += "-I${BSPDIR}/pub/include/tools "
+
+ZXIC_ZX297520V3_CFLAGS = "-I${BSPDIR}/pub/project/zx297520v3/include/infra "
+ZXIC_ZX297520V3_CFLAGS += "-I${BSPDIR}/pub/project/zx297520v3/include/psm "
+ZXIC_ZX297520V3_CFLAGS += "-I${BSPDIR}/pub/project/zx297520v3/include/drv "
+ZXIC_ZX297520V3_CFLAGS += "-I${BSPDIR}/pub/project/zx297520v3/include/nv "
+ZXIC_ZX297520V3_CFLAGS += "-D_CHIP_ZX297520V3 -DCPU_SHIFT=0 -D_USE_VEHICLE_DC -D_USE_ZXIC_DEBUG_INFO"
+
+ZXIC_EXTRA_CFLAGS += "${@bb.utils.contains('MACHINE', 'zx297520v3', '${ZXIC_ZX297520V3_CFLAGS}', '', d)}"
+
+export ZXIC_EXTRA_CFLAGS
+