Re: $(call cc-option) in combination with KBUILD_*FLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 11, 2013 at 11:12 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> On Thu, Jul 11, 2013 at 11:08 PM, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>> On Thu, Jul 11, 2013 at 11:05:24PM +0200, Sedat Dilek wrote:
>>> On Thu, Jul 11, 2013 at 11:03 PM, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>>> > On Fri, Jul 05, 2013 at 05:36:21PM +0200, Sedat Dilek wrote:
>>> >> Hi,
>>> >>
>>> >> in which case(s) do you have to set a comma or not?
>>> >
>>> > Only when you specify the last option.
>>>
>>> You have an example for this?
>>
>> Example:
>> arch/m68k/Makefile:cpuflags-$(CONFIG_M5441x)    := $(call cc-option,-mcpu=54455,-mcfv4e)
>>
>
> OK, so if I have multiple cc-options separated vi comma. So a single
> one it is not mandatory.
>

So, this can be simplified:

[ arch/x86/realmode/rm/Makefile ]

OLD:
                   $(call cc-option, -fno-toplevel-reorder,\
                        $(call cc-option, -fno-unit-at-a-time)) \

NEW:
                   $(call cc-option, -fno-toplevel-reorder, -fno-unit-at-a-time)

No?

- Sedat -

> Thanks!
>
> - Sedat -
>
>>
>>         Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux