summaryrefslogtreecommitdiff
path: root/classes/ccdv.oeclass
blob: 6ebc7bf0c24803b785ee2b36bbf7373951f241fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEPENDS =+ "ccdv-native"
CCDV = "ccdv"
CC =+ "${CCDV}"
BUILD_CC =+ "${CCDV}"
CCLD =+ "${CCDV}"

def quiet_libtool(oe,d):
	deps = (oe.data.getVar('DEPENDS', d, 1) or "").split()
	if 'libtool-cross' in deps:
		return "'LIBTOOL=${STAGING_BINDIR}/${HOST_SYS}-libtool --silent'"
	elif 'libtool-native' in deps:
		return "'LIBTOOL=${B}/${HOST_SYS}-libtool --silent'"
	else:
		return ""
EXTRA_OEMAKE_append = " ${@quiet_libtool(oe,d)}"
MAKE += "-s"