[Neil Brown <[EMAIL PROTECTED]>]
> O_OBJS := $(shell echo $(obj-y) | tr ' ' '\n' | cat -n | sort -u +1 | sort -n | cut
>-f2)
Clever. I like pipelines too. Here is a one-fork equivalent, untested:
nodups = $(shell g=' '; for f in $(1); do case $$g in (*" $$f "*) ;; (*) g="$$g$$f
"; echo $$
On Thu, Nov 30, 2000 at 12:36:28AM +, Russell King wrote:
> and CONFIG_FOO=y and CONFIG_BAR=m? What about CONFIG_FOO=y and
> CONFIG_BAR=y? Do we still support this method? If not, what is the
> recommended way of doing this sort of stuff?
To do this you need to extend the scheme a little b
2 matches
Mail list logo