diff options
| author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-27 09:25:13 +0000 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-28 10:57:15 +0800 |
| commit | 43fe6d3befdea8f707a5f72bb2b0fb6266401f78 (patch) | |
| tree | 161bdd6a1a19654d493b1153846913ccc9a7d4d4 | |
| parent | 86d2a261608242a26a71b7a2655ed425d075a9b1 (diff) | |
| download | meta-fsl-ppc-43fe6d3befdea8f707a5f72bb2b0fb6266401f78.tar.gz | |
skmm: add recipe
SKMM is the application for PCIe endpoint.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
| -rw-r--r-- | recipes-tools/skmm/skmm_git.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-tools/skmm/skmm_git.bb b/recipes-tools/skmm/skmm_git.bb new file mode 100644 index 0000000..224e556 --- /dev/null +++ b/recipes-tools/skmm/skmm_git.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | DESCRIPTION = "SKMM application for PCIe endpoint" | ||
| 2 | SECTION = "skmm" | ||
| 3 | LICENSE = "BSD & GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f" | ||
| 5 | |||
| 6 | DEPENDS = "libedit" | ||
| 7 | |||
| 8 | SRC_URI = "git://git.freescale.com/ppc/sdk/skmm-ep.git" | ||
| 9 | SRCREV = "80d8393a2033b3b0cc8f885702d7b288956f3a37" | ||
| 10 | |||
| 11 | COMPATIBLE_MACHINE = "(p4080ds|t4240qds)" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | EXTRA_OEMAKE = 'MACHINE=${MACHINE}' | ||
| 16 | |||
| 17 | export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)" | ||
| 18 | export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)" | ||
| 19 | |||
| 20 | do_compile () { | ||
| 21 | export ARCH=${TARGET_ARCH} | ||
| 22 | oe_runmake HOST=x86_64 clean | ||
| 23 | oe_runmake HOST=x86_64 | ||
| 24 | oe_runmake HOST=powerpc clean | ||
| 25 | oe_runmake HOST=powerpc | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install () { | ||
| 29 | oe_runmake ARCH=${TARGET_ARCH} HOST=x86_64 install DESTDIR=${D} | ||
| 30 | oe_runmake ARCH=${TARGET_ARCH} HOST=powerpc install DESTDIR=${D} | ||
| 31 | } | ||
| 32 | |||
| 33 | FILES_${PN} += "/home/root/.skmm/*" | ||
