From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sat, 21 Mar 2020 20:59:46 +0100 Subject: [Buildroot] [PATCH] package/gcc/9.x: fix download url when using upstream gcc for csky In-Reply-To: <20200312234127.449204-1-romain.naour@smile.fr> (Romain Naour's message of "Fri, 13 Mar 2020 00:41:26 +0100") References: <20200312234127.449204-1-romain.naour@smile.fr> Message-ID: <8736a15vil.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Romain" == Romain Naour writes: > When the csky cpu support was added [1], the gcc download url was selected > depending on the csky cpu architecture (BR2_csky) rather than the csky gcc > fork version (BR2_GCC_VERSION_CSKY)[2]. > When adding gcc 9.x version [3], we forgot to update the condition in order > to use the url to the gcc csky fork only when BR2_GCC_VERSION_CSKY=y. > Due to this error, the toolchain build with the upstream gcc 9.x for csky > cpu is broken due a download error. > Fix this by using BR2_GCC_VERSION_CSKY instead of BR2_csky. > Fixes: > https://gitlab.com/kubu93/buildroot/-/jobs/470072924 > [1] 7873a5bd5ebbeb1674293dae6b06b50f0a1f2184 > [2] > https://git.buildroot.net/buildroot/tree/package/gcc/gcc.mk?id=7873a5bd5ebbeb1674293dae6b06b50f0a1f2184#n19 > [3] 089000eccf584d611ad1a8e5400436952450e883 > Signed-off-by: Romain Naour > Cc: Yann E. MORIN > Cc: Guo Ren > Cc: Arnout Vandecappelle > Cc: Peter Korsgaard Committed to 2019.11.x and 2020.02.x, thanks. -- Bye, Peter Korsgaard