mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
initramfs: shorten cmd_initfs in usr/Makefile
Avoid repetition of long variables. No functional change intended. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org>
This commit is contained in:
parent
256abd8e55
commit
fb3f7f0f15
@ -62,8 +62,8 @@ $(deps_initramfs): ;
|
|||||||
quiet_cmd_initfs = GEN $@
|
quiet_cmd_initfs = GEN $@
|
||||||
cmd_initfs = \
|
cmd_initfs = \
|
||||||
$(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \
|
$(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \
|
||||||
$(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \
|
$(addprefix -u , $(CONFIG_INITRAMFS_ROOT_UID)) \
|
||||||
$(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) \
|
$(addprefix -g , $(CONFIG_INITRAMFS_ROOT_GID)) \
|
||||||
$(if $(KBUILD_BUILD_TIMESTAMP), -d "$(KBUILD_BUILD_TIMESTAMP)") \
|
$(if $(KBUILD_BUILD_TIMESTAMP), -d "$(KBUILD_BUILD_TIMESTAMP)") \
|
||||||
$(ramfs-input)
|
$(ramfs-input)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user