]> code.ossystems Code Review - meta-freescale.git/commitdiff
eth-config: add recipes use public git tree for eth-config build
authorZhenhua Luo <zhenhua.luo@freescale.com>
Sun, 16 Dec 2012 03:00:06 +0000 (11:00 +0800)
committerMatthew McClintock <msm@freescale.com>
Wed, 30 Jan 2013 23:12:13 +0000 (17:12 -0600)
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
meta-fsl-ppc/recipes-tools/eth-config/eth-config_git.bb [new file with mode: 0644]

diff --git a/meta-fsl-ppc/recipes-tools/eth-config/eth-config_git.bb b/meta-fsl-ppc/recipes-tools/eth-config/eth-config_git.bb
new file mode 100644 (file)
index 0000000..19da817
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "Ethernet Configuration Files"
+SECTION = "eth-config"
+LICENSE = "Freescale EULA"
+LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git"
+SRCREV = "847191454aa557d19c19fdcd9e0a145da5d43c49"
+SRCREV_e6500 = "c1400695e56aa80f2f4c88c4e0582028248ae06f"
+SRCREV_e6500-64b = "c1400695e56aa80f2f4c88c4e0582028248ae06f"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+       install -d ${D}/etc/fmc/config
+       install -m 644 ${S}/8c-128fq-p.xml ${D}/etc/fmc/config
+       install -m 644 ${S}/cfg-8c.xml ${D}/etc/fmc/config
+       install -d ${D}/etc/fmc/config/shared_mac
+       install -m 644 ${S}/shared_mac/hv2p_config_p4_shared_mac.xml ${D}/etc/fmc/config/shared_mac
+       install -m 644 ${S}/shared_mac/hv2p_policy_shared_mac.xml ${D}/etc/fmc/config/shared_mac
+       install -m 644 ${S}/shared_mac/hv2p_swparser_shared_mac.xml ${D}/etc/fmc/config/shared_mac
+       install -m 644 ${S}/shared_mac/README ${D}/etc/fmc/config/shared_mac
+}