From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 9 Oct 2013 13:49:18 +0200 Subject: [Buildroot] [PATCHv3 04/20] toolchain: introduce a virtual package In-Reply-To: <87ob6y4t8v.fsf@dell.be.48ers.dk> References: <1381256237-27948-1-git-send-email-thomas.petazzoni@free-electrons.com> <1381256237-27948-5-git-send-email-thomas.petazzoni@free-electrons.com> <87ob6y4t8v.fsf@dell.be.48ers.dk> Message-ID: <20131009134918.2e9e7844@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Peter Korsgaard, On Wed, 09 Oct 2013 12:46:08 +0200, Peter Korsgaard wrote: > >>>>> "Thomas" == Thomas Petazzoni writes: > > Thomas> This commit introduces a virtual package called 'toolchain', located > Thomas> in 'toolchain/toolchain', which simply depends on > Thomas> 'toolchain-buildroot' or 'toolchain-external' depending on the > Thomas> selected toolchain backend. > > [snip] > > Thomas> @@ -317,11 +313,8 @@ include support/dependencies/dependencies.mk > Thomas> # We also need the various per-package makefiles, which also add > Thomas> # each selected package to TARGETS if that package was selected > Thomas> # in the .config file. > Thomas> -ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) > Thomas> -include toolchain/toolchain-buildroot.mk > Thomas> -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) > Thomas> -include toolchain/toolchain-external.mk > Thomas> -endif > Thomas> +include toolchain/helpers.mk > Thomas> +include toolchain/*/*.mk > > That's no good. toolchain/*/*.mk doesn't pick up up > toolchain/toolchain-{buildroot,external}.mk: > > >>> toolchain undefined Extracting > >>> toolchain undefined Patching toolchain//toolchain > make: *** No rule to make target `toolchain-buildroot', needed by `toolchain-depends'. Stop. > > Did you mean to simply do 'include toolchain/*.mk' instead of those two lines? No. The toolchain/toolchain-{buildroot,external}.mk file get removed in PATCH 5 and PATCH 6 respectively. So the problem is just a bisection problem: I haven't tested the series after each commit. Do you want me to respin with this bisection issue fixed? Thomas -- Thomas Petazzoni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com