<?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>5c816641 - kbuild: replace $(if A,A,B) with $(or A,B)</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#5c816641</link>
        <description>kbuild: replace $(if A,A,B) with $(or A,B)$(or ...) is available since GNU Make 3.81, and useful to shorten thecode in some places.Covert as follows:  $(if A,A,B)  --&gt;  $(or A,B)This patch also converts:  $(if A, A, B) --&gt; $(or A, B)Strictly speaking, the latter is not an equivalent conversion becauseGNU Make keeps spaces after commas; if A is not empty, $(if A, A, B)expands to &quot; A&quot;, while $(or A, B) expands to &quot;A&quot;.Anyway, preceding spaces are not significant in the code hunks I touched.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Fri, 11 Feb 2022 05:14:11 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>bc2e9578 - spi: tools: make a symbolic link to the header file spi.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#bc2e9578</link>
        <description>spi: tools: make a symbolic link to the header file spi.hThe header file spi.h in include/uapi/linux/spi is needed for spidev.h,so we also need make a symbolic link to it to eliminate the error messageas below:In file included from spidev_test.c:24:include/linux/spi/spidev.h:28:10: fatal error: linux/spi/spi.h: No such file or directory   28 | #include &lt;linux/spi/spi.h&gt;      |          ^~~~~~~~~~~~~~~~~compilation terminated.Fixes: f7005142dace (&quot;spi: uapi: unify SPI modes into a single spi.h&quot;)Signed-off-by: Quanyang Wang &lt;quanyang.wang@windriver.com&gt;Link: https://lore.kernel.org/r/20210422102604.3034217-1-quanyang.wang@windriver.comSigned-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Thu, 22 Apr 2021 10:26:04 +0000</pubDate>
        <dc:creator>Quanyang Wang &lt;quanyang.wang@windriver.com&gt;</dc:creator>
    </item>
<item>
        <title>0b93dd98 - spi: spidev_test: Remove hidden temporary file when make clean</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#0b93dd98</link>
        <description>spi: spidev_test: Remove hidden temporary file when make cleanIn the current code, it only removes *.o and .*.o.d file when make clean,there still exists useless .*.o.cmd file, just remove it.Without this patch:[yangtiezhu@linux spi]$ make[yangtiezhu@linux spi]$ make clean[yangtiezhu@linux spi]$ ls -1 .*.o.cmd.spidev_fdx-in.o.cmd.spidev_fdx.o.cmd.spidev_test-in.o.cmd.spidev_test.o.cmdWith this patch:[yangtiezhu@linux spi]$ make[yangtiezhu@linux spi]$ make clean[yangtiezhu@linux spi]$ ls -1 .*.o.cmdls: cannot access .*.o.cmd: No such file or directorySigned-off-by: Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;Link: https://lore.kernel.org/r/1586230512-5507-1-git-send-email-yangtiezhu@loongson.cnSigned-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Tue, 07 Apr 2020 03:35:12 +0000</pubDate>
        <dc:creator>Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>aea7afd9 - spi: spidev_test: Remove the whole &quot;include&quot; directory when make clean</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#aea7afd9</link>
        <description>spi: spidev_test: Remove the whole &quot;include&quot; directory when make cleanIn the current code, it only removes &quot;include/linux/spi/spidev.h&quot; filewhen make clean and there still exists useless &quot;include/linux/spi/&quot;directory, just remove it.Signed-off-by: Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;Link: https://lore.kernel.org/r/1581567368-8055-4-git-send-email-yangtiezhu@loongson.cnSigned-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Thu, 13 Feb 2020 04:16:08 +0000</pubDate>
        <dc:creator>Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>ec8f24b7 - treewide: Add SPDX license identifier - Makefile/Kconfig</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#ec8f24b7</link>
        <description>treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is:  GPL-2.0-onlySigned-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Sun, 19 May 2019 12:07:45 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>7ed1c190 - tools: fix cross-compile var clobbering</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#7ed1c190</link>
        <description>tools: fix cross-compile var clobberingCurrently a number of Makefiles break when used with toolchains thatpass extra flags in CC and other cross-compile related variables (suchas --sysroot).Thus we get this error when we use a toolchain that puts --sysroot inthe CC var:  ~/src/linux/tools$ make iio  [snip]  iio_event_monitor.c:18:10: fatal error: unistd.h: No such file or directory    #include &lt;unistd.h&gt;             ^~~~~~~~~~This occurs because we clobber several env vars related tocross-compiling with lines like this:  CC = $(CROSS_COMPILE)gccAlthough this will point to a valid cross-compiler, we lose any extraflags that might exist in the CC variable, which can break toolchainsthat rely on them (for example, those that use --sysroot).This easily shows up using a Yocto SDK:  $ . [snip]/sdk/environment-setup-cortexa8hf-neon-poky-linux-gnueabi  $ echo $CC  arm-poky-linux-gnueabi-gcc -march=armv7-a -mfpu=neon -mfloat-abi=hard  -mcpu=cortex-a8  --sysroot=[snip]/sdk/sysroots/cortexa8hf-neon-poky-linux-gnueabi  $ echo $CROSS_COMPILE  arm-poky-linux-gnueabi-  $ echo ${CROSS_COMPILE}gcc  krm-poky-linux-gnueabi-gccAlthough arm-poky-linux-gnueabi-gcc is a cross-compiler, we&apos;ve lost the--sysroot and other flags that enable us to find the right libraries tolink against, so we can&apos;t find unistd.h and other libraries and headers.Normally with the --sysroot flag we would find unistd.h in the sdkdirectory in the sysroot:  $ find [snip]/sdk/sysroots -path &apos;*/usr/include/unistd.h&apos;  [snip]/sdk/sysroots/cortexa8hf-neon-poky-linux-gnueabi/usr/include/unistd.hThe perf Makefile adds CC = $(CROSS_COMPILE)gcc if and only if CC is notalready set, and it compiles correctly with the above toolchain.So, generalize the logic that perf uses in the common Makefile andremove the manual CC = $(CROSS_COMPILE)gcc lines from each Makefile.Note that this patch does not fix cross-compile for all the tools (somehave other bugs), but it does fix it for all except usb and acpi, whichstill have other unrelated issues.I tested both with and without the patch on native and cross-build andthere appear to be no regressions.Link: http://lkml.kernel.org/r/20180107214028.23771-1-martin@martingkelly.comSigned-off-by: Martin Kelly &lt;martin@martingkelly.com&gt;Acked-by: Mark Brown &lt;broonie@kernel.org&gt;Cc: Tejun Heo &lt;tj@kernel.org&gt;Cc: Li Zefan &lt;lizefan@huawei.com&gt;Cc: Johannes Weiner &lt;hannes@cmpxchg.org&gt;Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;Cc: &quot;K. Y. Srinivasan&quot; &lt;kys@microsoft.com&gt;Cc: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;Cc: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;Cc: Jonathan Cameron &lt;jic23@kernel.org&gt;Cc: Pali Rohar &lt;pali.rohar@gmail.com&gt;Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;Cc: Jacek Anaszewski &lt;jacek.anaszewski@gmail.com&gt;Cc: Pavel Machek &lt;pavel@ucw.cz&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Arnaldo Carvalho de Melo &lt;acme@kernel.org&gt;Cc: Robert Moore &lt;robert.moore@intel.com&gt;Cc: Lv Zheng &lt;lv.zheng@intel.com&gt;Cc: &quot;Rafael J. Wysocki&quot; &lt;rafael.j.wysocki@intel.com&gt;Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Cc: Valentina Manea &lt;valentina.manea.m@gmail.com&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Mario Limonciello &lt;mario.limonciello@dell.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Wed, 21 Feb 2018 22:45:12 +0000</pubDate>
        <dc:creator>Martin Kelly &lt;martin@martingkelly.com&gt;</dc:creator>
    </item>
<item>
        <title>e9d4650d - spi: tools: add install section</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#e9d4650d</link>
        <description>spi: tools: add install sectionAllow user to call install target.Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Wed, 26 Jul 2017 09:59:30 +0000</pubDate>
        <dc:creator>Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>f325b73d - spi: tools: move to tools buildsystem</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#f325b73d</link>
        <description>spi: tools: move to tools buildsystemThere is a nice buildsystem dedicated for userspace tools in Linux kernel tree.Switch spi target to be built by it.Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Wed, 26 Jul 2017 09:59:29 +0000</pubDate>
        <dc:creator>Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>2a4635ea - spi: tools: enable CROSS_COMPILE in Makefile</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#2a4635ea</link>
        <description>spi: tools: enable CROSS_COMPILE in MakefileSigned-off-by: Jorge Ramirez-Ortiz &lt;jorge.ramirez-ortiz@linaro.org&gt;Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Wed, 07 Sep 2016 15:43:00 +0000</pubDate>
        <dc:creator>Jorge Ramirez-Ortiz &lt;jorge.ramirez-ortiz@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>5eca4d84 - spi: Move spi code from Documentation to tools</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/spi/Makefile#5eca4d84</link>
        <description>spi: Move spi code from Documentation to toolsJon Corbet requested this code moved with the last changeset,https://lkml.org/lkml/2015/3/1/144,but the patch was not applied because it missed the Makefile.Moved spidev_test, spidev_fdx and their Makefile infrastructure.Signed-off-by: Joshua Clayton &lt;stillcompiling@gmail.com&gt;Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/tools/spi/Makefile</description>
        <pubDate>Wed, 18 Nov 2015 22:30:37 +0000</pubDate>
        <dc:creator>Joshua Clayton &lt;stillcompiling@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
