Re: [PATCH] mips: fixed MIPS Makefile

From: Maciej W. Rozycki
Date: Tue Oct 19 2004 - 12:47:45 EST


On Wed, 20 Oct 2004, Yoichi Yuasa wrote:

> #
> +# If you need data offset, please set up as follows.
> +#
> +# dataoffset-$(CONFIG_FOO) := <data offset value>
> +#
> +
> +DATAOFFSET := $(shell if [ -z $(dataoffset-y) ] ; then echo "0"; \
> + else echo $(dataoffset-y); fi ;)

Ugh, please consider using $(if ...).

Maciej
-
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/