[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <FE248B88-D584-4E66-A59F-B2A2C254000C@ellerman.id.au>
Date: Thu, 24 Sep 2015 08:16:37 +1000
From: Michael Ellerman <michael@...erman.id.au>
To: Michal Marek <mmarek@...e.com>,
Michael Ellerman <mpe@...erman.id.au>, linuxppc-dev@...abs.org
CC: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
yann.morin.1998@...e.fr
Subject: Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target
On 23 September 2015 19:50:52 GMT+10:00, Michal Marek <mmarek@...e.com> wrote:
>On 2015-09-23 07:40, Michael Ellerman wrote:
>> +else ifneq ($(wildcard
>arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
>> @$(kecho) "*** Default configuration is based on
>'$(KBUILD_DEFCONFIG)'"
>> $(Q)$< $(silent)
>--defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
>> +else
>> + @$(kecho) "*** Default configuration is based on target
>'$(KBUILD_DEFCONFIG)'"
>> + $(Q)$(MAKE) -f $(srctree)/Makefile $(KBUILD_DEFCONFIG)
>> endif
>
>What is the anticipated usage of this? The patch is not needed to make
>
> make ppc64le_defconfig
>
>work with the second patch. If it was, this would create a loop anyway.
The idea is to make 'make defconfig' work when KBUILD_DEFCONFIG is ppc64le_defconfig (which happens for us when uname returns ppc64le) and additionally when ppc64le_defconfig is not a real file.
It doesn't work currently, but does with these two patches applied.
cheers
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists