From e6bba9fc92a6b5f238d2e99b6c6d08d16f555394 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Wed, 9 Oct 2024 21:27:17 +0200
Subject: [PATCH] Revert "tools flex: disable parallel build (#3169)" (#3350)

This reverts commit b4807e751141fbfa691ba546d2f43c6336cd283f.

The race condition has been fixed in OpenWrt.
---
 ...ort-for-broadcast-multicast-packets.patch} |  0
 ...08-tools-flex-disable-parallel-build.patch | 25 -------------------
 ...t76-include-fixes-for-MT7603-MT7612.patch} |  0
 3 files changed, 25 deletions(-)
 rename patches/openwrt/{0009-mac80211-add-AQL-support-for-broadcast-multicast-packets.patch => 0008-mac80211-add-AQL-support-for-broadcast-multicast-packets.patch} (100%)
 delete mode 100644 patches/openwrt/0008-tools-flex-disable-parallel-build.patch
 rename patches/openwrt/{0010-mt76-include-fixes-for-MT7603-MT7612.patch => 0009-mt76-include-fixes-for-MT7603-MT7612.patch} (100%)

diff --git a/patches/openwrt/0009-mac80211-add-AQL-support-for-broadcast-multicast-packets.patch b/patches/openwrt/0008-mac80211-add-AQL-support-for-broadcast-multicast-packets.patch
similarity index 100%
rename from patches/openwrt/0009-mac80211-add-AQL-support-for-broadcast-multicast-packets.patch
rename to patches/openwrt/0008-mac80211-add-AQL-support-for-broadcast-multicast-packets.patch
diff --git a/patches/openwrt/0008-tools-flex-disable-parallel-build.patch b/patches/openwrt/0008-tools-flex-disable-parallel-build.patch
deleted file mode 100644
index f19c47732..000000000
--- a/patches/openwrt/0008-tools-flex-disable-parallel-build.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: David Bauer <mail@david-bauer.net>
-Date: Sun, 21 Jan 2024 02:03:56 +0100
-Subject: tools flex: disable parallel build
-
-Sometimes the build of flex fails with erros like these:
-
-./build-aux/config.sub: line 63: opying: command not found
-
-Disable the parallel build of flex in order to avoid these issues from
-occuring.
-
-Signed-off-by: David Bauer <mail@david-bauer.net>
-
-diff --git a/tools/flex/Makefile b/tools/flex/Makefile
-index 177136b78c77c31c56db2fc993d1273d3dd81562..cb4f95e8d0c45a9c328c7ce48235a0ba80c02c6e 100644
---- a/tools/flex/Makefile
-+++ b/tools/flex/Makefile
-@@ -15,7 +15,6 @@ PKG_SOURCE_URL:=https://github.com/westes/flex/releases/download/v$(PKG_VERSION)
- PKG_HASH:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
- 
- HOST_FIXUP:=autoreconf
--HOST_BUILD_PARALLEL:=1
- 
- include $(INCLUDE_DIR)/host-build.mk
- 
diff --git a/patches/openwrt/0010-mt76-include-fixes-for-MT7603-MT7612.patch b/patches/openwrt/0009-mt76-include-fixes-for-MT7603-MT7612.patch
similarity index 100%
rename from patches/openwrt/0010-mt76-include-fixes-for-MT7603-MT7612.patch
rename to patches/openwrt/0009-mt76-include-fixes-for-MT7603-MT7612.patch
-- 
GitLab