path: root/linux/Config.in
diff options
authorGravatar Romain Naour <romain.naour@gmail.com>2020-05-08 10:34:33 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-05-09 16:53:06 +0200
commit0c82f3f63563c4d4d7e034d0e9e4ceb766d92322 (patch)
tree8eec37be75ad46469c951a6197db2e7c9dcd2c29 /linux/Config.in
parent3504e72693ee89113f8b113f261365a46891f65d (diff)
package/gcc: remove powerpc conditional patching logic
Back in commit [1], a patch fixing an issue a PowerPC issue in gcc was added in gcc 4.3.3. It was present until gcc 4.9, which itself was removed in [2]. The patch was dropped starting gcc 5.1 [3] but it's know to be useful for gcc 4.7.3 [4]. However, even though we no longer support building any of those older gcc versions, the conditional patching logic in gcc.mk is still there. We used to have a patch directory (package/gcc/$(GCC_VERSION)) for every gcc version available in Buildroot, the apply-patches.sh script doesn't error out even if 1000-powerpc-link-with-math-lib.patch.conditional is missing. But with gcc 10, we don't need (for the moment) to apply any patch, so the patch directory doesn't exist. apply-patches.sh breaks the build since the patch directory is missing: Aborting. 'package/gcc/10.1.0' is not a directory. Since we removed gcc 4.9 last year [2], we can safely remove this code. Tested using qemu_ppc_virtex_ml507_defconfig. [1] bb1f42e4426c432af60fc80da45c6daf7e31c1a0 [2] baf177502214a67619d9d0d6d0a780458e4d652d [3] 4deb2d93c5ab317b6addf4e1e132571ba8dac031 [4] 197006a41c1a0450bf6350d5742e186b5b0c69de Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'linux/Config.in')
0 files changed, 0 insertions, 0 deletions