summaryrefslogtreecommitdiff
path: root/packages/ezx/ezx-boot-usb-native_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ezx/ezx-boot-usb-native_svn.bb')
-rw-r--r--packages/ezx/ezx-boot-usb-native_svn.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/ezx/ezx-boot-usb-native_svn.bb b/packages/ezx/ezx-boot-usb-native_svn.bb
index 64e8a486e0..7e7111539b 100644
--- a/packages/ezx/ezx-boot-usb-native_svn.bb
+++ b/packages/ezx/ezx-boot-usb-native_svn.bb
@@ -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() {