Re: build failure of next-20220715 due to "No rule to make target"

From: Samuel Holland
Date: Fri Jul 15 2022 - 22:16:04 EST


On 7/15/22 8:59 PM, Florian Fainelli wrote:
> On 7/15/2022 4:35 PM, Sudip Mukherjee (Codethink) wrote:
>> Not sure if it has been reported, builds of arm and arm64 allmodconfig
>> have failed to build next-20220715 with the error:
>>
>> make[3]: *** No rule to make target
>> 'drivers/pinctrl/sunxi/pinctrl-sun20i-d1.o', needed by
>> 'drivers/pinctrl/sunxi/built-in.a'.  Stop.
>
> Caused by f6e42a0fce98b85380df8cdfb081d75c48e4fee1 ("pinctrl: sunxi: Add driver
> for Allwinner D1/D1s") adding CONFIG_PINCTRL_SUN20I_D1 a build rule in
> drivers/pinctrl/sunxi/Makefile to build pinctrl-sun20i-d1.o but ... there was no
> drivers/pinctrl/sunxi/pinctrl-sun20i-d1.c file added to the commit, missing git
> add presumably?

The patch in question[0] contains the new file, so something must have gone
wrong when applying it[1]. I wasn't sure what to do, so I resent the whole
series[2], in case the index hashes in the v1 patches were causing the problem.

Regards,
Samuel

[0]: https://lore.kernel.org/linux-gpio/20220626021148.56740-7-samuel@xxxxxxxxxxxx/
[1]:
https://lore.kernel.org/linux-gpio/879fb3b2-4bcb-82d6-e186-e845d62c9843@xxxxxxxxxxxx/
[2]: https://lore.kernel.org/linux-gpio/20220713025233.27248-1-samuel@xxxxxxxxxxxx/