Skip to content

Commit 25d5ef9

Browse files
committed
selftests/nolibc: drop call to mrproper target
"mrproper" unnecessarily cleans a lot of files. kbuild is smart enough to handle changed configurations, so the cleanup is not necessary and only leads to excessive rebuilds. Acked-by: Willy Tarreau <w@1wt.eu> Link: https://lore.kernel.org/r/20250123-nolibc-config-v2-3-5701c35995d6@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
1 parent a75b763 commit 25d5ef9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/nolibc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ initramfs: nolibc-test
263263
$(Q)cp nolibc-test initramfs/init
264264

265265
defconfig:
266-
$(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) mrproper $(DEFCONFIG)
266+
$(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) $(DEFCONFIG)
267267
$(Q)if [ -n "$(EXTRACONFIG)" ]; then \
268268
$(srctree)/scripts/config --file $(objtree)/.config $(EXTRACONFIG); \
269269
$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) olddefconfig < /dev/null; \

0 commit comments

Comments
 (0)