Re: [RFC] Extending kbuild syntax

From: Jan Engelhardt
Date: Mon Oct 01 2007 - 16:35:48 EST



On Sep 30 2007 15:36, Ingo Oeser wrote:
>
>> obj-y-ifn-
>
>This is the only one needed, because it is cumbersome to express
>negative rules in kbuild to include stubs (e.g. nommu stuff).

Perhaps this would work?

ifeq (${CONFIG_NO_MMU},)
obj-m += magic_mmu.o
endif

>But again this can be done with composition rules right now, but
>is order dependent. If we could get rid of this requirement,
>I would be happy already. So kbuild is just lacking an "else"
>clause here.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/