aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb
blob: f9a6b0e55dac6bcc69bf7deaeb9739f992ecc2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require nandlogical_${PV}.bb

FILESPATHPKG =. "nandlogical:"

DEPENDS += "klibc"

export CC = ${TARGET_PREFIX}klcc

# standard oe cflags don't work with klcc
export CFLAGS = ""
export CPPFLAGS = ""
export LDFLAGS = ""

do_compile() {
	${CC} ${CFLAGS} ${LDFLAGS} -static -I${STAGING_INCDIR} nandlogical.c -o nandlogical
}