mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
Revert "toolchain: gcc: improve patch handling by introducing major version"
This reverts commit b51a15b3e8
.
This commit is contained in:
parent
2a9196062b
commit
779ed7d9a0
@ -23,7 +23,6 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=gcc
|
||||
GCC_VERSION:=$(call qstrip,$(CONFIG_GCC_VERSION))
|
||||
PKG_VERSION:=$(firstword $(subst +, ,$(GCC_VERSION)))
|
||||
GCC_MAJOR_VERSION:=$(word 1,$(subst ., ,$(PKG_VERSION)))
|
||||
GCC_DIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION)
|
||||
@ -45,7 +44,7 @@ ifeq ($(PKG_VERSION),12.2.0)
|
||||
PKG_HASH:=e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
|
||||
endif
|
||||
|
||||
PATCH_DIR=../patches-$(GCC_MAJOR_VERSION).x
|
||||
PATCH_DIR=../patches/$(GCC_VERSION)
|
||||
|
||||
BUGURL=http://bugs.openwrt.org/
|
||||
PKGVERSION=OpenWrt GCC $(PKG_VERSION) $(REVISION)
|
||||
|
Loading…
Reference in New Issue
Block a user