[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190716195544.GB14834@mini-arch>
Date: Tue, 16 Jul 2019 12:55:44 -0700
From: Stanislav Fomichev <sdf@...ichev.me>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, daniel@...earbox.net,
ast@...com, andrii.nakryiko@...il.com, kernel-team@...com,
Ilya Leoshkevich <iii@...ux.ibm.com>,
Stanislav Fomichev <sdf@...gle.com>,
Martin KaFai Lau <kafai@...com>
Subject: Re: [PATCH bpf 1/2] selftests/bpf: fix test_verifier/test_maps make
dependencies
On 07/16, Andrii Nakryiko wrote:
> e46fc22e60a4 ("selftests/bpf: make directory prerequisites order-only")
> exposed existing problem in Makefile for test_verifier and test_maps tests:
> their dependency on auto-generated header file with a list of all tests wasn't
> recorded explicitly. This patch fixes these issues.
Why adding it explicitly fixes it? At least for test_verifier, we have
the following rule:
test_verifier.c: $(VERIFIER_TESTS_H)
And there should be implicit/builtin test_verifier -> test_verifier.c
dependency rule.
Same for maps, I guess:
$(OUTPUT)/test_maps: map_tests/*.c
test_maps.c: $(MAP_TESTS_H)
So why is it not working as is? What I'm I missing?
Powered by blists - more mailing lists