blob: 6275d04926c5df56f12b48a18512576f6e686d4b [file] [log] [blame]
ZXIC_EXTRA_CFLAGS = "-I${BSPDIR}/zxic_code/pub/include/infra "
ZXIC_EXTRA_CFLAGS += "-I${BSPDIR}/zxic_code/pub/include/tools "
ZXIC_ZX297520V3_CFLAGS = "-I${BSPDIR}/zxic_code/pub/project/zx297520v3/include/infra "
ZXIC_ZX297520V3_CFLAGS += "-I${BSPDIR}/zxic_code/pub/project/zx297520v3/include/psm "
ZXIC_ZX297520V3_CFLAGS += "-I${BSPDIR}/zxic_code/pub/project/zx297520v3/include/drv "
ZXIC_ZX297520V3_CFLAGS += "-I${BSPDIR}/zxic_code/pub/project/zx297520v3/include/nv "
ZXIC_ZX297520V3_CFLAGS += "-D_CHIP_ZX297520V3 -DCPU_SHIFT=0 -D_USE_VEHICLE_DC -D_USE_ZXIC_DEBUG_INFO"
ZXIC_ZX297520V3_CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'vehicle_dc_ref', '-D_USE_VEHICLE_DC_REF', '', d)}"
ZXIC_EXTRA_CFLAGS += "${@bb.utils.contains('MACHINE', 'zx297520v3', '${ZXIC_ZX297520V3_CFLAGS}', '', d)}"
export ZXIC_EXTRA_CFLAGS