u-boot-fw-utils: consolidate common files by STORAGE_MEDIA
Platform-based variable STORAGE_MEDIA, allows us to select the correct configuration file without needing to replicate it per platform. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
de79310dc8
commit
fb2e7e37f4
|
|
@ -1,7 +0,0 @@
|
||||||
# Configuration file for fw_(printenv/setenv) utility.
|
|
||||||
# Up to two entries are valid, in this case the redundant
|
|
||||||
# environment sector is assumed present.
|
|
||||||
|
|
||||||
# Device name Offset Size
|
|
||||||
/dev/mmcblk0boot1 0x1C0000 0x4000
|
|
||||||
/dev/mmcblk0boot1 0x1E0000 0x4000
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# Configuration file for fw_(printenv/setenv) utility.
|
|
||||||
# Up to two entries are valid, in this case the redundant
|
|
||||||
# environment sector is assumed present.
|
|
||||||
|
|
||||||
# Device name Offset Size
|
|
||||||
/dev/mmcblk0boot1 0x1C0000 0x4000
|
|
||||||
/dev/mmcblk0boot1 0x1E0000 0x4000
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (C) 2015-2017 Digi International
|
# Copyright (C) 2015-2020 Digi International
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://fw_env.config \
|
file://${STORAGE_MEDIA}/fw_env.config \
|
||||||
"
|
"
|
||||||
|
|
||||||
UBOOT_FW_UTILS_PATCHES = " \
|
UBOOT_FW_UTILS_PATCHES = " \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue