[U-Boot] [PATCH v3 1/9] Use ALL-y style instead of ifeq blocks for better readability

Vipin Kumar
2011-07-19T03:51:44Z

On 7/18/2011 9:39 PM, Daniel Schwierzeck wrote:
> diff --git a/board/spear/spear300/config.mk b/board/spear/spear300/config.mk
> index 11da2c3..5848ef8 100644
> --- a/board/spear/spear300/config.mk
> +++ b/board/spear/spear300/config.mk
> @@ -25,7 +25,7 @@
>
> CONFIG_SYS_TEXT_BASE = 0x00700000
>
> -ALL += $(obj)u-boot.img
> +ALL-y += $(obj)u-boot.img
>
> # Environment variables in NAND
> ifeq ($(ENV),NAND)
> diff --git a/board/spear/spear310/config.mk b/board/spear/spear310/config.mk
> index 2b59c39..f8a6bdb 100644
> --- a/board/spear/spear310/config.mk
> +++ b/board/spear/spear310/config.mk
> @@ -25,7 +25,7 @@
>
> CONFIG_SYS_TEXT_BASE = 0x00700000
>
> -ALL += $(obj)u-boot.img
> +ALL-y += $(obj)u-boot.img
>
> # Environment variables in NAND
> ifeq ($(ENV),NAND)
> diff --git a/board/spear/spear320/config.mk b/board/spear/spear320/config.mk
> index 2b59c39..f8a6bdb 100644
> --- a/board/spear/spear320/config.mk
> +++ b/board/spear/spear320/config.mk
> @@ -25,7 +25,7 @@
>
> CONFIG_SYS_TEXT_BASE = 0x00700000
>
> -ALL += $(obj)u-boot.img
> +ALL-y += $(obj)u-boot.img
>
> # Environment variables in NAND
> ifeq ($(ENV),NAND)
> diff --git a/board/spear/spear600/config.mk b/board/spear/spear600/config.mk
> index 11da2c3..5848ef8 100644
> --- a/board/spear/spear600/config.mk
> +++ b/board/spear/spear600/config.mk
> @@ -25,7 +25,7 @@
>
> CONFIG_SYS_TEXT_BASE = 0x00700000
>
> -ALL += $(obj)u-boot.img
> +ALL-y += $(obj)u-boot.img
>
> # Environment variables in NAND
> ifeq ($(ENV),NAND)

Acked-by : Vipin Kumar <vipin.kumar@st.com>