summaryrefslogtreecommitdiff
path: root/packages/bl/bl_cvs.bb
blob: c0f206225a6047f0255e08139a91510303366736 (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
SECTION = "base"
LICENSE= "GPL"
PV = "0.0cvs${CVSDATE}"
DESCRIPTION = "Command line tool for iPaq backlight control"
MAINTAINER = "Florian Boor <florian@kernelconcepts.de>"

SRC_URI = "${HANDHELDS_CVS};module=apps/h3600_test \
           file://nokernelheader.patch;patch=1;pnum=0"

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

inherit pkgconfig

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

do_configure (){
}

do_compile (){
	oe_runmake bl CC="${CROSS_DIR}/bin/${TARGET_SYS}-gcc -I{STAGING_INCDIR} -L${STAGING_LIBDIR}" AS=${CROSS_DIR}/bin/${TARGET_SYS}-as LD=${CROSS_DIR}/bin/${TARGET_SYS}-ld
}

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