mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
fs/ubi: use namespace for internal variable
UBINIZE_CONFIG_FILE_PATH is only used inside this file, so rename it to start with UBI_, following the namespace convention already used by common packages. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f65a435e45
commit
8f2b06f455
@ -15,16 +15,16 @@ UBI_UBINIZE_OPTS += $(call qstrip,$(BR2_TARGET_ROOTFS_UBI_OPTS))
|
|||||||
ROOTFS_UBI_DEPENDENCIES = rootfs-ubifs
|
ROOTFS_UBI_DEPENDENCIES = rootfs-ubifs
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG),y)
|
ifeq ($(BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG),y)
|
||||||
UBINIZE_CONFIG_FILE_PATH = $(call qstrip,$(BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE))
|
UBI_UBINIZE_CONFIG_FILE_PATH = $(call qstrip,$(BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE))
|
||||||
else
|
else
|
||||||
UBINIZE_CONFIG_FILE_PATH = fs/ubi/ubinize.cfg
|
UBI_UBINIZE_CONFIG_FILE_PATH = fs/ubi/ubinize.cfg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# don't use sed -i as it misbehaves on systems with SELinux enabled when this is
|
# don't use sed -i as it misbehaves on systems with SELinux enabled when this is
|
||||||
# executed through fakeroot (see #9386)
|
# executed through fakeroot (see #9386)
|
||||||
define ROOTFS_UBI_CMD
|
define ROOTFS_UBI_CMD
|
||||||
sed 's;BR2_ROOTFS_UBIFS_PATH;$@fs;' \
|
sed 's;BR2_ROOTFS_UBIFS_PATH;$@fs;' \
|
||||||
$(UBINIZE_CONFIG_FILE_PATH) > $(BUILD_DIR)/ubinize.cfg
|
$(UBI_UBINIZE_CONFIG_FILE_PATH) > $(BUILD_DIR)/ubinize.cfg
|
||||||
$(HOST_DIR)/sbin/ubinize -o $@ $(UBI_UBINIZE_OPTS) $(BUILD_DIR)/ubinize.cfg
|
$(HOST_DIR)/sbin/ubinize -o $@ $(UBI_UBINIZE_OPTS) $(BUILD_DIR)/ubinize.cfg
|
||||||
rm $(BUILD_DIR)/ubinize.cfg
|
rm $(BUILD_DIR)/ubinize.cfg
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user