summaryrefslogtreecommitdiff
path: root/recipes/led/led_cvs.bb
blob: 90eb116bd7d81d6d91d5f8eb35c26e1454b9d882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SECTION = "base"
LICENSE= "GPL"
SRCDATE = "20060814"
PV = "0.0cvs${SRCDATE}"
DESCRIPTION = "Command line tool for iPaq LED control"

SRC_URI = "${HANDHELDS_CVS};module=apps/h3600_test \
           file://nokernelheader.patch;striplevel=0"
inherit module-base

S = "${WORKDIR}/h3600_test"
PR = "r0"

inherit pkgconfig

FILES_${PN} = "${bindir}"

do_configure (){
}

do_compile (){
	oe_runmake led CC="${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}-gcc -I${STAGING_INCDIR} -I${STAGING_KERNEL_DIR}/include  -L${STAGING_LIBDIR}" AS=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}-as LD=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}-ld
}

do_install () {
        install -d ${D}${bindir}
        install -m 4755 ${S}/led ${D}${bindir}/led
}