Commit d7d271ec30dd ("selftests/nolibc: execute defconfig before other targets")
accidentally introduced implicit executions of the defconfig target.
These executions were unintentional and come from a misunderstanding of
ordering dependencies.

Drop the dependencies again.

Reported-by: Mark Brown <broo...@kernel.org>
Closes: 
https://lore.kernel.org/all/3d5128b9-b4b6-4a8e-94ce-ea5ff4ea6...@sirena.org.uk/
Signed-off-by: Thomas Weißschuh <li...@weissschuh.net>
---
 tools/testing/selftests/nolibc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/nolibc/Makefile 
b/tools/testing/selftests/nolibc/Makefile
index 
147ce411b46ac84ea3ee0f91a55a7bb6c0712626..41b97dfd02bff3fb57f4d2b73b718f5c389d25e9
 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -307,10 +307,10 @@ defconfig:
                $(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) 
CROSS_COMPILE=$(CROSS_COMPILE) olddefconfig < /dev/null; \
        fi
 
-kernel: | defconfig
+kernel:
        $(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) 
CROSS_COMPILE=$(CROSS_COMPILE) $(IMAGE_NAME) < /dev/null
 
-kernel-standalone: initramfs | defconfig
+kernel-standalone: initramfs
        $(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) 
CROSS_COMPILE=$(CROSS_COMPILE) $(IMAGE_NAME) 
CONFIG_INITRAMFS_SOURCE=$(CURDIR)/initramfs < /dev/null
 
 # run the tests after building the kernel

-- 
2.50.0


Reply via email to