<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d6212d82 - selftests/bpf: Consolidate kernel modules into common directory</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/bpf/test_kmods/Makefile#d6212d82</link>
        <description>selftests/bpf: Consolidate kernel modules into common directoryThe selftests build four kernel modules which use copy-pasted Makefiletargets. This is a bit messy, and doesn&apos;t scale so well when we add moremodules, so let&apos;s consolidate these rules into a single rule generatedfor each module name, and move the module sources into a singledirectory.To avoid parallel builds of the different modules stepping on eachother&apos;s toes during the &apos;modpost&apos; phase of the Kbuild &apos;make modules&apos;,the module files should really be a grouped target. However, make onlyadded explicit support for grouped targets in version 4.3, which isnewer than the minimum version supported by the kernel. However, makeimplicitly treats pattern matching rules with multiple targets as agrouped target, so we can work around this by turning the rule into apattern matching target. We do this by replacing &apos;.ko&apos; with &apos;%ko&apos; in thetargets with subst().Signed-off-by: Toke H&#248;iland-J&#248;rgensen &lt;toke@redhat.com&gt;Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Acked-by: Viktor Malik &lt;vmalik@redhat.com&gt;Link: https://lore.kernel.org/bpf/20241204-bpf-selftests-mod-compile-v5-1-b96231134a49@redhat.com

            List of files:
            /linux-6.15/tools/testing/selftests/bpf/test_kmods/Makefile</description>
        <pubDate>Wed, 04 Dec 2024 13:28:26 +0000</pubDate>
        <dc:creator>Toke H&#248;iland-J&#248;rgensen &lt;toke@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
