diff options
| author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-05-20 13:12:05 +0000 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-05-21 10:19:45 +0800 |
| commit | 70afc09e8a5aac8c06d654c6477cc06c90d2d164 (patch) | |
| tree | 069114393446d24a185b8a38eb984831c402eb37 /recipes-tools/eth-config | |
| parent | 923783954b0466ca7b29dfa3ee052d6768331aa1 (diff) | |
| download | meta-fsl-ppc-70afc09e8a5aac8c06d654c6477cc06c90d2d164.tar.gz | |
eth-config: use pattern match for xml files installation
Use pattern match to install xml files and no need to update recipe if xml
files are added, renamed or deleted.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Diffstat (limited to 'recipes-tools/eth-config')
| -rw-r--r-- | recipes-tools/eth-config/eth-config_git.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/recipes-tools/eth-config/eth-config_git.bb b/recipes-tools/eth-config/eth-config_git.bb index f1e957c..3ed50a5 100644 --- a/recipes-tools/eth-config/eth-config_git.bb +++ b/recipes-tools/eth-config/eth-config_git.bb | |||
| @@ -3,7 +3,7 @@ SECTION = "eth-config" | |||
| 3 | LICENSE = "Freescale EULA" | 3 | LICENSE = "Freescale EULA" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87" |
| 5 | 5 | ||
| 6 | PR = "r1" | 6 | PR = "r2" |
| 7 | 7 | ||
| 8 | SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git" | 8 | SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git" |
| 9 | SRCREV = "c1400695e56aa80f2f4c88c4e0582028248ae06f" | 9 | SRCREV = "c1400695e56aa80f2f4c88c4e0582028248ae06f" |
| @@ -12,11 +12,8 @@ S = "${WORKDIR}/git" | |||
| 12 | 12 | ||
| 13 | do_install() { | 13 | do_install() { |
| 14 | install -d ${D}/etc/fmc/config | 14 | install -d ${D}/etc/fmc/config |
| 15 | install -m 644 ${S}/8c-128fq-p.xml ${D}/etc/fmc/config | 15 | install -m 644 ${S}/*.xml ${D}/etc/fmc/config |
| 16 | install -m 644 ${S}/cfg-8c.xml ${D}/etc/fmc/config | ||
| 17 | install -d ${D}/etc/fmc/config/shared_mac | 16 | install -d ${D}/etc/fmc/config/shared_mac |
| 18 | install -m 644 ${S}/shared_mac/hv2p_config_p4_shared_mac.xml ${D}/etc/fmc/config/shared_mac | 17 | install -m 644 ${S}/shared_mac/*.xml ${D}/etc/fmc/config/shared_mac |
| 19 | install -m 644 ${S}/shared_mac/hv2p_policy_shared_mac.xml ${D}/etc/fmc/config/shared_mac | ||
| 20 | install -m 644 ${S}/shared_mac/hv2p_swparser_shared_mac.xml ${D}/etc/fmc/config/shared_mac | ||
| 21 | install -m 644 ${S}/shared_mac/README ${D}/etc/fmc/config/shared_mac | 18 | install -m 644 ${S}/shared_mac/README ${D}/etc/fmc/config/shared_mac |
| 22 | } | 19 | } |
