Patrick Venture | a4cc02e | 2017-06-29 12:22:12 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_ast2400 := "${THISDIR}/files:" |
Patrick Williams | e40754f | 2016-06-21 11:13:49 -0500 | [diff] [blame] | 2 | |
Patrick Venture | a4cc02e | 2017-06-29 12:22:12 -0700 | [diff] [blame] | 3 | SRC_URI_append_ast2400 = " file://fw_env.config" |
Edward A. James | e06fec0 | 2017-08-18 15:30:04 -0500 | [diff] [blame] | 4 | SRC_URI_append_ast2400 += "file://alt_fw_env.config" |
Patrick Williams | e40754f | 2016-06-21 11:13:49 -0500 | [diff] [blame] | 5 | |
Patrick Venture | a4cc02e | 2017-06-29 12:22:12 -0700 | [diff] [blame] | 6 | do_install_append_ast2400() { |
Patrick Williams | e40754f | 2016-06-21 11:13:49 -0500 | [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 |
Patrick Williams | e40754f | 2016-06-21 11:13:49 -0500 | [diff] [blame] | 11 | fi |
| 12 | } |
| 13 | |
| 14 | BBCLASSEXTEND += "native" |