From: Masahiro Yamada Date: Tue, 25 Nov 2014 12:51:59 +0900 Subject: [U-Boot] [PATCH v2] Kbuild: introduce Makefile in arch/$ARCH/ In-Reply-To: <1416610293-9866-1-git-send-email-daniel.schwierzeck@gmail.com> References: <1416427934-30509-1-git-send-email-daniel.schwierzeck@gmail.com> <1416610293-9866-1-git-send-email-daniel.schwierzeck@gmail.com> Message-ID: <20141125125159.7E63.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Daniel, On Fri, 21 Nov 2014 23:51:33 +0100 Daniel Schwierzeck wrote: > Introduce a Makefile under arch/$ARCH/ and include it in the > top Makefile (similar to Linux kernel). This allows further > refactoringi like moving architecture-specific code out of global > makefiles, deprecating config variables (CPU, CPUDIR, SOC) or > deprecating arch/$ARCH/config.mk. > > In contrary to Linux kernel, U-Boot defines the ARCH variable by > Kconfig, thus the arch Makefile can only included conditionally > after the top config.mk. > > Signed-off-by: Daniel Schwierzeck Acked-by: Masahiro Yamada