summaryrefslogtreecommitdiff
path: root/packages/led/led_cvs.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-02-04 17:07:12 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-04 17:07:12 +0000
commit86b21695d815dbf5cd3d6b848f075af16ec972f9 (patch)
tree50eb4559f3a1d80e1d68b68283824e1741e09470 /packages/led/led_cvs.bb
parent4098aa1caf875ffa9a4eadf61d198fec29aa4a36 (diff)
led: add led from h3600-utils (adapted from .oz354fam083)
Diffstat (limited to 'packages/led/led_cvs.bb')
-rw-r--r--packages/led/led_cvs.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/led/led_cvs.bb b/packages/led/led_cvs.bb
new file mode 100644
index 0000000000..7d3b76c6f5
--- /dev/null
+++ b/packages/led/led_cvs.bb
@@ -0,0 +1,27 @@
+SECTION = "base"
+LICENSE= "GPL"
+PV = "0.0cvs${SRCDATE}"
+DESCRIPTION = "Command line tool for iPaq LED control"
+
+SRC_URI = "${HANDHELDS_CVS};module=apps/h3600_test \
+ file://nokernelheader.patch;patch=1;pnum=0"
+inherit module-base
+
+S = "${WORKDIR}/h3600_test"
+PR = "r0"
+
+inherit pkgconfig
+
+FILES_${PN} = "${bindir}"
+
+do_configure (){
+}
+
+do_compile (){
+ oe_runmake led CC="${CROSS_DIR}/bin/${TARGET_SYS}-gcc -I${STAGING_INCDIR} -I${STAGING_KERNEL_DIR}/include -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}/led ${D}${bindir}/led
+}