Skip to content

Commit 779ed7d

Browse files
committed
Revert "toolchain: gcc: improve patch handling by introducing major version"
This reverts commit b51a15b.
1 parent 2a91960 commit 779ed7d

File tree

75 files changed

+1
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1
-2
lines changed

toolchain/gcc/common.mk

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ include $(TOPDIR)/rules.mk
2323
PKG_NAME:=gcc
2424
GCC_VERSION:=$(call qstrip,$(CONFIG_GCC_VERSION))
2525
PKG_VERSION:=$(firstword $(subst +, ,$(GCC_VERSION)))
26-
GCC_MAJOR_VERSION:=$(word 1,$(subst ., ,$(PKG_VERSION)))
2726
GCC_DIR:=$(PKG_NAME)-$(PKG_VERSION)
2827

2928
PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION)
@@ -45,7 +44,7 @@ ifeq ($(PKG_VERSION),12.2.0)
4544
PKG_HASH:=e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
4645
endif
4746

48-
PATCH_DIR=../patches-$(GCC_MAJOR_VERSION).x
47+
PATCH_DIR=../patches/$(GCC_VERSION)
4948

5049
BUGURL=http://bugs.openwrt.org/
5150
PKGVERSION=OpenWrt GCC $(PKG_VERSION) $(REVISION)

0 commit comments

Comments
 (0)