ezx-boot-usb: use a more recent version to get rokre6 and a1200 working
authorKoen Kooi <koen@openembedded.org>
Sun, 23 Sep 2007 18:35:40 +0000 (18:35 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 23 Sep 2007 18:35:40 +0000 (18:35 +0000)
packages/ezx/ezx-boot-usb-native_svn.bb

index 64e8a48..7e71115 100644 (file)
@@ -1,22 +1,24 @@
 DESCRIPTION = "Boots an EZX device with a user supplied kernel zImage"
-DEPENDS = "libusb-native"
+DEPENDS = "libusb-native virtual/kernel"
 SECTION = "devel"
 AUTHOR = "Harald Welte"
 LICENSE = "GPL"
 PR = "r1"
 
-DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE = "1"
 
-REV = "1922"
+REV = "2060"
 PV = "0.1.0+r${REV}"
 
 SRC_URI = "svn://svn.openezx.org/trunk/src/host;module=boot_usb;proto=http;rev=${REV}"
 S = "${WORKDIR}/boot_usb"
 
-inherit native
+
+inherit module-base
+#inherit native
 
 do_compile() {
-       ${CC} ${CFLAGS} ${LDFLAGS} -lusb -o ezx-boot-usb boot_usb.c
+       ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -lusb -o ezx-boot-usb boot_usb.c -I${STAGING_KERNEL_DIR}/include
 }
 
 do_deploy() {