diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-06-30 22:07:04 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-06-30 22:07:04 +0000 |
commit | d4f7af436d07c7bc4dd61ac45bff3414a1c12c74 (patch) | |
tree | 049f5903fea26153466932a6b271c49f10b75ba8 /packages/ezx | |
parent | 873ce28c40814edb45f534003450318c6e9b2650 (diff) | |
parent | 7339a83b4095582728045cee92aa215373607caf (diff) |
merge of '08199c52a592fe71e2675200cf618a439d710884'
and '3e5f187370604cf4577025ebc49d90ca52a72d4d'
Diffstat (limited to 'packages/ezx')
-rw-r--r-- | packages/ezx/ezx-boot-usb-native.inc | 32 | ||||
-rw-r--r-- | packages/ezx/ezx-boot-usb-native_0.1.0.bb | 25 | ||||
-rw-r--r-- | packages/ezx/ezx-boot-usb-native_0.2.0.bb | 28 | ||||
-rw-r--r-- | packages/ezx/ezx-boot-usb-native_svn.bb | 34 |
4 files changed, 36 insertions, 83 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 diff --git a/packages/ezx/ezx-boot-usb-native_0.1.0.bb b/packages/ezx/ezx-boot-usb-native_0.1.0.bb index 5919f28a11..b70aca3709 100644 --- a/packages/ezx/ezx-boot-usb-native_0.1.0.bb +++ b/packages/ezx/ezx-boot-usb-native_0.1.0.bb @@ -1,30 +1,7 @@ -DESCRIPTION = "Boots an EZX device with a user supplied kernel zImage" -DEPENDS = "libusb-native" -SECTION = "devel" -AUTHOR = "Harald Welte" -LICENSE = "GPL" +require ezx-boot-usb-native.inc PR = "r0" SRC_URI = "http://www.openezx.org/download/boot_usb-${PV}.tar.bz2" S = "${WORKDIR}/boot_usb-${PV}" inherit native - -do_compile() { - ${CC} ${CFLAGS} ${LDFLAGS} -lusb -o ezx-boot-usb boot_usb.c -} - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0755 ezx-boot-usb ${DEPLOY_DIR_IMAGE}/ezx-boot-usb -} - -do_stage() { - : -} - -do_install() { - : -} - -addtask deploy before do_build after do_compile diff --git a/packages/ezx/ezx-boot-usb-native_0.2.0.bb b/packages/ezx/ezx-boot-usb-native_0.2.0.bb index 6091e36d11..7c2883b5b7 100644 --- a/packages/ezx/ezx-boot-usb-native_0.2.0.bb +++ b/packages/ezx/ezx-boot-usb-native_0.2.0.bb @@ -1,31 +1,5 @@ -DESCRIPTION = "Boots a Motorola EZX device with a user supplied kernel zImage" -DEPENDS = "libusb-native" -SECTION = "devel" -AUTHOR = "Team OpenEZX <openezx-devel@lists.openezx.org>" -LICENSE = "GPL" -PR = "r0" +require ezx-boot-usb-native.inc SRC_URI = "http://www.openezx.org/download/boot_usb-${PV}.tar.bz2 \ file://asm-arm" S = "${WORKDIR}/boot_usb-${PV}" - -inherit native - -do_compile() { - ${CC} ${CFLAGS} -I${WORKDIR} ${LDFLAGS} -lusb -o ezx-boot-usb boot_usb.c -} - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0755 ezx-boot-usb ${DEPLOY_DIR_IMAGE}/ezx-boot-usb -} - -do_stage() { - : -} - -do_install() { - : -} - -addtask deploy before do_build after do_compile diff --git a/packages/ezx/ezx-boot-usb-native_svn.bb b/packages/ezx/ezx-boot-usb-native_svn.bb index 64e8a486e0..6ab4263dba 100644 --- a/packages/ezx/ezx-boot-usb-native_svn.bb +++ b/packages/ezx/ezx-boot-usb-native_svn.bb @@ -1,35 +1,5 @@ -DESCRIPTION = "Boots an EZX device with a user supplied kernel zImage" -DEPENDS = "libusb-native" -SECTION = "devel" -AUTHOR = "Harald Welte" -LICENSE = "GPL" -PR = "r1" +require ezx-boot-usb-native.inc DEFAULT_PREFERENCE = "-1" -REV = "1922" -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 - -do_compile() { - ${CC} ${CFLAGS} ${LDFLAGS} -lusb -o ezx-boot-usb boot_usb.c -} - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0755 ezx-boot-usb ${DEPLOY_DIR_IMAGE}/ezx-boot-usb -} - -do_stage() { - : -} - -do_install() { - : -} - -addtask deploy before do_build after do_compile +PV = "0.2.0+r${SRCREV}" |