developer | 3dd2737 | 2022-07-12 11:04:12 +0800 | [diff] [blame] | 1 | SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" |
| 2 | |
| 3 | |
| 4 | |
| 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
developer | e499f14 | 2023-02-13 17:54:38 +0800 | [diff] [blame] | 6 | SRC_URI += " file://fw_env.config \ |
| 7 | file://fw_env_emmc.config \ |
| 8 | " |
developer | 3dd2737 | 2022-07-12 11:04:12 +0800 | [diff] [blame] | 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
developer | 3dd2737 | 2022-07-12 11:04:12 +0800 | [diff] [blame] | 14 | do_install_append () { |
| 15 | install -d ${D}${sysconfdir} |
developer | e499f14 | 2023-02-13 17:54:38 +0800 | [diff] [blame] | 16 | if ${@bb.utils.contains('DISTRO_FEATURES','emmc','true','false',d)}; then |
| 17 | install -m 0644 ${WORKDIR}/fw_env_emmc.config ${D}${sysconfdir}/fw_env.config |
| 18 | else |
| 19 | install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config |
| 20 | fi |
developer | 3dd2737 | 2022-07-12 11:04:12 +0800 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | |