diff options
| author | Yuntao Wang <yuntao.wang@linux.dev> | 2026-09-30 09:57:48 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-09-29 23:15:12 -0700 |
| commit | cbb17a7a0afe4f2a766b25e75777f70f47dbc6ba (patch) | |
| tree | b09e08809e9eac2d6b546fc1415d9df8b89406d7 /tools | |
| parent | 692de2dc10b438e41d0d680e9777420d57631715 (diff) | |
| download | linux-next-cbb17a7a0afe4f2a766b25e75777f70f47dbc6ba.tar.gz linux-next-cbb17a7a0afe4f2a766b25e75777f70f47dbc6ba.zip | |
init: simplify initramfs.o build rule
CONFIG_BLK_DEV_INITRD is known to be enabled in the else branch,
so there is no need to use obj-$(CONFIG_BLK_DEV_INITRD). Use obj-y
directly to make the build rule clearer.
Also, reorder the condition to make the code easier to follow.
No functional change.
Link: https://lore.kernel.org/20260930015748.311366-1-yuntao.wang@linux.dev
Signed-off-by: Yuntao Wang <yuntao.wang@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
