mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-07 19:38:16 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ $(deps_initramfs): ;
|
|||
quiet_cmd_initfs = GEN $@
|
||||
cmd_initfs = \
|
||||
$(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \
|
||||
$(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \
|
||||
$(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) \
|
||||
$(addprefix -u , $(CONFIG_INITRAMFS_ROOT_UID)) \
|
||||
$(addprefix -g , $(CONFIG_INITRAMFS_ROOT_GID)) \
|
||||
$(if $(KBUILD_BUILD_TIMESTAMP), -d "$(KBUILD_BUILD_TIMESTAMP)") \
|
||||
$(ramfs-input)
|
||||
|
||||
|
|
Loading…
Reference in a new issue