blob: 9f501ba309e6db8f2fa6630e5742bb028ee43f86 [file] [log] [blame]
Patrick Venturea4cc02e2017-06-29 12:22:12 -07001FILESEXTRAPATHS_prepend_ast2400 := "${THISDIR}/files:"
Patrick Williamse40754f2016-06-21 11:13:49 -05002
Patrick Venturea4cc02e2017-06-29 12:22:12 -07003SRC_URI_append_ast2400 = " file://fw_env.config"
Edward A. Jamese06fec02017-08-18 15:30:04 -05004SRC_URI_append_ast2400 += "file://alt_fw_env.config"
Patrick Williamse40754f2016-06-21 11:13:49 -05005
Patrick Venturea4cc02e2017-06-29 12:22:12 -07006do_install_append_ast2400() {
Patrick Williamse40754f2016-06-21 11:13:49 -05007 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. Jamese06fec02017-08-18 15:30:04 -050010 install -m 644 ${WORKDIR}/alt_fw_env.config ${D}${sysconfdir}/alt_fw_env.config
Patrick Williamse40754f2016-06-21 11:13:49 -050011 fi
12}
13
14BBCLASSEXTEND += "native"