diff options
| author | Yuntao Wang <yuntao.wang@linux.dev> | 2026-09-30 09:57:48 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-08 23:06:51 -0700 |
| commit | c1f2dd537940ee7488912f4e7ba63392461ac213 (patch) | |
| tree | 49303e6943bfcce0a28fd13a4d07e390b452752f /tools/lib/python/kdoc/python_version.py | |
| parent | 001fc2b0a2eefdc1a0110628ed0f33a648b8b12c (diff) | |
| download | linux-next-c1f2dd537940ee7488912f4e7ba63392461ac213.tar.gz linux-next-c1f2dd537940ee7488912f4e7ba63392461ac213.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>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
