From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 16 Mar 2015 21:39:08 -0600 Subject: [U-Boot] [PATCH 6/7] ARM: bcm283x: merge BCM2835/BCM2836 directories into mach-bcm283x In-Reply-To: <1426502117-15281-7-git-send-email-yamada.masahiro@socionext.com> References: <1426502117-15281-1-git-send-email-yamada.masahiro@socionext.com> <1426502117-15281-7-git-send-email-yamada.masahiro@socionext.com> Message-ID: <5507A1DC.30908@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/16/2015 04:35 AM, Masahiro Yamada wrote: > BCM2835 (used on Raspberry Pi) and BCM2836 (used on Raspberry Pi 2) > are similar enough. One of the biggest differences is the ARM > processor. It is reasonable to collect the source files into a > single place, arch/arm/mach-bcm283x/. > diff --git a/arch/arm/cpu/arm1176/bcm2835/Makefile b/arch/arm/mach-bcm283x/Makefile > -obj-y := lowlevel_init.o > +obj-$(CONFIG_TARGET_RPI) += lowlevel_init.o > obj-y += init.o reset.o timer.o mbox.o Why is only one file conditional; shouldn't they all be either -y or -$(CONFIG_TARGET_RPI)?