diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-06-24 16:23:24 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-06-24 16:23:24 +0000 |
commit | 9c47c678db8c6ddd87f1f1e80a74b5f0b784d8a6 (patch) | |
tree | 562590141d78596beb280331966f8f5ec379a11c /packages/ezx/ezx-boot-usb-native.inc | |
parent | fa6500797b94e356b2840da4edd80c315e30b884 (diff) |
ezx-boot-usb-native ALL create .inc and deploy into proper directory (DEPLOY_DIR_TOOLS)
Diffstat (limited to 'packages/ezx/ezx-boot-usb-native.inc')
-rw-r--r-- | packages/ezx/ezx-boot-usb-native.inc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/ezx/ezx-boot-usb-native.inc b/packages/ezx/ezx-boot-usb-native.inc new file mode 100644 index 0000000000..e2ebb52df4 --- /dev/null +++ b/packages/ezx/ezx-boot-usb-native.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Boots a Motorola EZX device with a user supplied kernel zImage" +DEPENDS = "libusb-native" +SECTION = "devel" +AUTHOR = "Harald Welte <laforge@openezx.org>" +LICENSE = "GPL" + +SRC_URI = "\ + svn://svn.openezx.org/trunk/src/host;module=boot_usb;proto=http \ + file://asm-arm \ +" +S = "${WORKDIR}/boot_usb" + +inherit native + +do_compile() { + ${CC} -I${WORKDIR} ${CFLAGS} ${LDFLAGS} -lusb -o ezx-boot-usb boot_usb.c +} + +do_deploy() { + install -d ${DEPLOY_DIR_TOOLS} + install -m 0755 ezx-boot-usb ${DEPLOY_DIR_TOOLS}/ezx-boot-usb-${PV} +} + +do_stage() { + : +} + +do_install() { + : +} + +addtask deploy before do_build after do_compile |