Patrick Venture | a4cc02e | 2017-06-29 12:22:12 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_ast2500 := "${THISDIR}/files:" |
Brad Bishop | f753668 | 2016-06-04 00:55:57 -0400 | [diff] [blame] | 2 | |
Patrick Venture | a4cc02e | 2017-06-29 12:22:12 -0700 | [diff] [blame] | 3 | SRC_URI_append_ast2500 = " file://fw_env.config" |
Edward A. James | e06fec0 | 2017-08-18 15:30:04 -0500 | [diff] [blame] | 4 | SRC_URI_append_ast2500 += "file://alt_fw_env.config" |
Brad Bishop | f753668 | 2016-06-04 00:55:57 -0400 | [diff] [blame] | 5 | |
Patrick Venture | a4cc02e | 2017-06-29 12:22:12 -0700 | [diff] [blame] | 6 | do_install_append_ast2500() { |
Brad Bishop | f753668 | 2016-06-04 00:55:57 -0400 | [diff] [blame] | 7 | if [ -e ${WORKDIR}/fw_env.config ] ; then |
| 8 | install -d ${D}${sysconfdir} |
| 9 | install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config |
Edward A. James | e06fec0 | 2017-08-18 15:30:04 -0500 | [diff] [blame] | 10 | install -m 644 ${WORKDIR}/alt_fw_env.config ${D}${sysconfdir}/alt_fw_env.config |
Brad Bishop | f753668 | 2016-06-04 00:55:57 -0400 | [diff] [blame] | 11 | fi |
| 12 | } |
| 13 | |
| 14 | BBCLASSEXTEND += "native" |