aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
blob: 169ab6e4bbee7f450b9bf79e5c9518363bc585b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "TI IQN2 peripheral module low level driver"

DEPENDS = "common-csl-ip"

include iqn2-lld.inc

PR = "${INC_PR}.0"

EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"

do_configure () {
	sed -i -e 's/march=armv7-a/march=armv7ve/' build/armv7/libiqn2_aearmv7.mk
}

do_compile () {
	oe_runmake clean
	oe_runmake lib
}

do_install () {
	oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
	chown -R root:root ${D}
}