Skip to content

Commit

Permalink
Squash to "DO-NOT-MERGE: mptcp: improve code coverage for CI"
Browse files Browse the repository at this point in the history
When our bpf_selftests is re-built, this error occurs:

 make[1]: *** No rule to make target 'atomics.lskel.h',
			needed by '.../atomics.test.o'.  Stop.
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory 'tools/testing/selftests/bpf'
 make: *** [Makefile:259: install] Error 2
 make: Leaving directory 'tools/testing/selftests'

A workaround patch is found in [1].

[1]
https://lore.kernel.org/bpf/Q3BN2kW9Kgy6LkrDOwnyY4Pv7_YF8fInLCd2_QA3LimKYM3wD64kRdnwp7blwG2dI_s7UGnfUae-4_dOmuTrxpYCi32G_KTzB3PfmxIerH8=@pm.me/T/

Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
Geliang Tang committed Oct 25, 2024
1 parent 6974732 commit 2e9e078
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/testing/selftests/bpf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,12 @@ $(TRUNNER_BPF_SKELS_LINKED): $(TRUNNER_OUTPUT)/%: $$$$(%-deps) $(BPFTOOL) | $(TR
$(notdir %.skel.h): $(TRUNNER_OUTPUT)/%.skel.h
@true

$(notdir %.lskel.h): $(TRUNNER_OUTPUT)/%.lskel.h
@true

$(notdir %.subskel.h): $(TRUNNER_OUTPUT)/%.subskel.h
@true

endif

# ensure we set up tests.h header generation rule just once
Expand Down

0 comments on commit 2e9e078

Please sign in to comment.