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