From patchwork Mon May 9 06:07:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1628343 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=XriTSyHI; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KxW1H1syfz9sGV for ; Mon, 9 May 2022 16:07:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 46ED581759; Mon, 9 May 2022 06:07:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NQGH47789nW6; Mon, 9 May 2022 06:07:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 2FAFD8174C; Mon, 9 May 2022 06:07:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1CFAF1BF284 for ; Mon, 9 May 2022 06:07:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0B49F4098D for ; Mon, 9 May 2022 06:07:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3hSRH-OY6rAS for ; Mon, 9 May 2022 06:07:26 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by smtp4.osuosl.org (Postfix) with ESMTPS id 8AA5940308 for ; Mon, 9 May 2022 06:07:26 +0000 (UTC) Received: by mail-lf1-x131.google.com with SMTP id u23so16290000lfc.1 for ; Sun, 08 May 2022 23:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YcA0gHhYgjM6OLM49VLtb5o8B2XYCmty/tCXIpM6icc=; b=XriTSyHImudw58K2fj8I3FYSzGSwFIho9zyXeu/Bc9/w7S12H1lq9/JK35UEFBpO9w +p0ywOtVqSvPLISoaYLnogBIKi0DLpt41VNzbCt3orGCwReLmAJf/Mio0Yv0+eKag4y4 c3aPLSbuwoQNm6yRgGcKSvM5Yt1Rj80lyhOHF3gpcVsi/Js5luhXk/8yZGePy4ay44ax 3JDJTIyxjfPRVU86L6EcmiMI1fsJ2C+5thenkLl+6wRcq9oQBNIq1KaEI/lmIisbkm7m hX/UBGVu3gwaTZyjRsID0/bEAvPORDf+eyMrTWFwYAdUc+DzD3vctT/Sv/7WtGwlMide 8qgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YcA0gHhYgjM6OLM49VLtb5o8B2XYCmty/tCXIpM6icc=; b=eX6J8Nahjyn2pCOSYXIuMbpKbT/1Pdp1nQQuWiMQ1ZY4gkNmCOPRKq5bWEE63pRo8c SVNyEyNYECE6THD1lVoo01uzSRi4vvQLVF36mKJ1h1NbRvbJIdQdUTINMyaLWyPL3Lq5 G7i4AM4lmilJyy6n1zDoPz6pUV3XsN+YcfLQp1Xs8LBTnbX3xW54lgC7zUOIoHrkpoMg EUDA+nWpNVzZZedaSiYkymHQzkTEaDIW8lbhxVuhyPcXDEJDXhHog5O0LT0jBt1Yi33J TBiLPgVbg+X3aL4LQByStY6OUgWBPqCUL3LoyD9OVFiZR6X+UhTph8GIVSBQR6PxgGN/ L17w== X-Gm-Message-State: AOAM532QQDIFREYp5/U/vF51PuM0Cf9Vg60yDoFtGw8815tfEJu1N8XE sTxtnuaPnep2TcZ60XAegxEnVq5IUESrWQ== X-Google-Smtp-Source: ABdhPJwQ/9nqzmlfLVTgQZFaHZNzHgzgL+vSHOX/qRwsF9EQ1ld+5G52r7DycS58coUN0A11o49NxQ== X-Received: by 2002:a05:6512:c2a:b0:473:9e11:6ecd with SMTP id z42-20020a0565120c2a00b004739e116ecdmr11317967lfu.676.1652076444327; Sun, 08 May 2022 23:07:24 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id q19-20020a0565123a9300b0047255d211b6sm1824707lfu.229.2022.05.08.23.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 23:07:24 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Mon, 9 May 2022 09:07:19 +0300 Message-Id: <20220509060721.2726047-2-geomatsi@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220509060721.2726047-1-geomatsi@gmail.com> References: <20220509060721.2726047-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/3] package/rtl8189fs: enable required kernel options X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergey Matyukevich Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Enable Linux kernel configuration options required by the driver. Those are wireless networking and sdio support. Fixes: - http://autobuild.buildroot.net/results/ed6e29e44333ccae2728ca3321ff876c3056eada/ Signed-off-by: Sergey Matyukevich --- package/rtl8189fs/rtl8189fs.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/rtl8189fs/rtl8189fs.mk b/package/rtl8189fs/rtl8189fs.mk index 40b735c21b..0cca0b751d 100644 --- a/package/rtl8189fs/rtl8189fs.mk +++ b/package/rtl8189fs/rtl8189fs.mk @@ -13,5 +13,12 @@ RTL8189FS_MODULE_MAKE_OPTS = \ KVER=$(LINUX_VERSION_PROBED) \ KSRC=$(LINUX_DIR) +define RTL8189FS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS) + $(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211) + $(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211) + $(call KCONFIG_ENABLE_OPT,CONFIG_MMC) +endef + $(eval $(kernel-module)) $(eval $(generic-package)) From patchwork Mon May 9 06:07:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1628344 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=mjpUyvVZ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KxW1W1DNqz9sGV for ; Mon, 9 May 2022 16:07:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0F758414C3; Mon, 9 May 2022 06:07:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l7gy0c4Sgmtg; Mon, 9 May 2022 06:07:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id CE80C41497; Mon, 9 May 2022 06:07:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 268E51BF97F for ; Mon, 9 May 2022 06:07:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 246238174C for ; Mon, 9 May 2022 06:07:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wssqMiSzHPwg for ; Mon, 9 May 2022 06:07:27 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2D8BC8174A for ; Mon, 9 May 2022 06:07:27 +0000 (UTC) Received: by mail-lf1-x134.google.com with SMTP id w19so21976487lfu.11 for ; Sun, 08 May 2022 23:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2AVJGKifEXs19MXo37mlo7wyJYOv4vmJ4PZmvGph3tk=; b=mjpUyvVZ3Riw5Bdcycd4Obw+69VS4RQTK988/sqDg3pGGhSbvCuLYbU8/5BsZ43ciL 3r3pRE1UpdifwRi7Pxm7y0XiWZA5xv5J2jUzjsbNzJSftgdwHwmt/lcpdqHU/tIIsmD7 2yekJv7lSooIgUrfE6jnenj/rGHuDIB2udZVKzdylpZYLp7fvHI2m6lwsre8DqJ2Ggzb ZSYZP+6mreyTFs77vZrXwCP4g6mePhGJCVbFAz20U+iP+7oLeaGdvDVlgx08IVb+fn6b FnxkpVbLYfl7k0DQcy6zLTGPZn6RWlMXBoeA2x7zBIKGN6PhPjwIUFyxQ3RRa09OeJas D2Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2AVJGKifEXs19MXo37mlo7wyJYOv4vmJ4PZmvGph3tk=; b=dF4QD8rYCcZVp2vwEgMdorOwBopJmy4bBk554upAGUTzzUbou074Nsw15nPrw5IFPn 3Zo8yPiDFTEPeEvDZBn0DDOCQNAbHzFBmUTRghDiQAn6wJVwf8fry5m5jbwBMG0V4Wr7 AQC/9DildcfZVRAuBFmh9heMP2WWq7Rkz4QQCgZ3LixIzq85N7nk7BCuk4HquxCBhpPT 3dk4aZIjz8w/0DyAFrihaEfUMHKRJk3zQ52FNL2C+bs8UAhvIDJeCswikk/nGP+3doZR K0qo5jT2QThQJTkPXkRZ5GCr9Csl2BPL8fiTEL40mz1jVdgbWM42f+8atcpCSQnL88Il pIcQ== X-Gm-Message-State: AOAM533nNSMzFM0y+UJuzYvP8H8KPZvXDgENcf5Nv37wK7dGBTGgwSdX hUhif3wcxjz6MyYU+PVEBhNJDT7qmE3QJw== X-Google-Smtp-Source: ABdhPJyL9KdA/sf3oyUOs7o9DkZtOwoY/EzEf+KfXAwllD3Us77NHrUcwvJozwWXdi2CcenUAa5gIA== X-Received: by 2002:a19:6454:0:b0:472:4946:d23 with SMTP id b20-20020a196454000000b0047249460d23mr11429771lfj.216.1652076444978; Sun, 08 May 2022 23:07:24 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id q19-20020a0565123a9300b0047255d211b6sm1824707lfu.229.2022.05.08.23.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 23:07:24 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Mon, 9 May 2022 09:07:20 +0300 Message-Id: <20220509060721.2726047-3-geomatsi@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220509060721.2726047-1-geomatsi@gmail.com> References: <20220509060721.2726047-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/rtl8189fs: bump revision X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergey Matyukevich Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Bump package revision to pull various fixes for v5.1 - v5.17 kernels. Patch that disables verbose debug is no more compatible with updated driver since build flags in Makefile has been changed. Drop it. Signed-off-by: Sergey Matyukevich --- .../0001-include-disable-debug-messages.patch | 28 ------------------- package/rtl8189fs/rtl8189fs.hash | 2 +- package/rtl8189fs/rtl8189fs.mk | 2 +- 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 package/rtl8189fs/0001-include-disable-debug-messages.patch diff --git a/package/rtl8189fs/0001-include-disable-debug-messages.patch b/package/rtl8189fs/0001-include-disable-debug-messages.patch deleted file mode 100644 index 532982b1d3..0000000000 --- a/package/rtl8189fs/0001-include-disable-debug-messages.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 5d3a44ff1aeb8ace6e08df3cad16102aaac1ef09 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Sun, 13 Jun 2021 15:51:51 +0300 -Subject: [PATCH] include: disable debug messages - -Disable debug messages to make rtl8189fs driver less noisy. - -Signed-off-by: Sergey Matyukevich ---- - include/autoconf.h | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/include/autoconf.h b/include/autoconf.h -index 44efe42..b5df57b 100644 ---- a/include/autoconf.h -+++ b/include/autoconf.h -@@ -224,8 +224,6 @@ - /* - * Debug Related Config - */ --#define CONFIG_DEBUG /* DBG_871X, etc... */ -- - #ifdef CONFIG_DEBUG - #define DBG 1 // for ODM & BTCOEX debug - //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */ --- -2.32.0 - diff --git a/package/rtl8189fs/rtl8189fs.hash b/package/rtl8189fs/rtl8189fs.hash index f9772f2a89..d5d18a8ba8 100644 --- a/package/rtl8189fs/rtl8189fs.hash +++ b/package/rtl8189fs/rtl8189fs.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 fd74248b8cc62e54a954502228be221ace6051832a972b8b3005cc05e9c87761 rtl8189fs-73f826f0fa74b2fc1ad67eaf92bf9787947ae673.tar.gz +sha256 41eee18d8a4289c2eac07af3224c62214a9b694a717bf497cd34a95b955f3d49 rtl8189fs-94a61cbf46ce87b7c9b8aa53123aeb142133a3c9.tar.gz diff --git a/package/rtl8189fs/rtl8189fs.mk b/package/rtl8189fs/rtl8189fs.mk index 0cca0b751d..6031a3072c 100644 --- a/package/rtl8189fs/rtl8189fs.mk +++ b/package/rtl8189fs/rtl8189fs.mk @@ -4,7 +4,7 @@ # ################################################################################ -RTL8189FS_VERSION = 73f826f0fa74b2fc1ad67eaf92bf9787947ae673 +RTL8189FS_VERSION = 94a61cbf46ce87b7c9b8aa53123aeb142133a3c9 RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION)) RTL8189FS_LICENSE = GPL-2.0 From patchwork Mon May 9 06:07:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1628345 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=XathL5Pd; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KxW1m2ykFz9sGV for ; Mon, 9 May 2022 16:08:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4B14660F2A; Mon, 9 May 2022 06:08:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YCE5q73-tJy0; Mon, 9 May 2022 06:08:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 4452660F26; Mon, 9 May 2022 06:08:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5EEB51BF284 for ; Mon, 9 May 2022 06:07:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4E7AB8174C for ; Mon, 9 May 2022 06:07:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e-4Yf18aamcc for ; Mon, 9 May 2022 06:07:28 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3FA408174A for ; Mon, 9 May 2022 06:07:28 +0000 (UTC) Received: by mail-lf1-x129.google.com with SMTP id b18so21970240lfv.9 for ; Sun, 08 May 2022 23:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MNL7f0JF2F3a4FlAMF2s1z8pB1o19fRJgTPXUiFdMk8=; b=XathL5Pd4AiCnmVYBZolWo++yXTllABIzeJLUYd39zbCvxzTztMqYDHYfP0OaY68j9 7qMc6mAQ/Chs4FJ/kF4PAeGP9ks3kkzszJjaOYBASXlvSeYeOGchkVNs4nXLPEYVihXu pzO6yZDH3DhE6c4V3BSMM46hvMfXH7S/Uvt6uLnYVTYfdW35a36CXvuMFiUoxIG+QzFq KmLDMiU3S3d1j8eR3DX5qBxRgRaFWhkibiV0YSI9vVV+HqG6mgIjtJ0MjCCRInLdcPvN KtYXDj/CriQORqFoRdCeYoooc0K1VLcUUDWhsWk+M2VRcB9XbHFwhFF3shBxNE8MWj6L HQTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MNL7f0JF2F3a4FlAMF2s1z8pB1o19fRJgTPXUiFdMk8=; b=wMzwaNvvwpk+7sCAubGKQpYlQzoArFEMA+eNJGiwzg48zQiVcP9kXM9VQNJ17gXk3j KLnHTVSPZqEFDReDE38sk30Tmz/upxfWp/QmiN0PoTGg3JlDBZGoMVMMQrQ9ZLDw16l8 fIKDZ0DowY3yLz7V9Z6qNlf9R4nBM7g0aMaLmoQZknkYdMcDAji74VXJiAe5TwSKLdtm jz+K4iNm+DvfqSC9Qt54ZRjcFNCnw1/NhHVvsWuBQACbs7A/CeNLpyyzti5oTpIFvCXF gc+jyeVM9zGfzSZmNFO+pZYqNbgvVuUR6xEV2ghTgxULcUIpTrcLmp25Dg7G2KYz/IA6 S7ng== X-Gm-Message-State: AOAM531Pm5L/tKrGwdkvmPCWyVkodLpdhT4IMfMsOHhbjlkTzTzY1Q5L OSc7DsfCtdy7fVQyrQMxJryfFRv+xxSsrw== X-Google-Smtp-Source: ABdhPJwYjA/JhP9cp8V02wtKeu9DntP7mlS2b3tYVON45TZxt8nh9qJ0JRk/aU5mkgEGfvho+UTGMw== X-Received: by 2002:a05:6512:169a:b0:44a:fea7:50a5 with SMTP id bu26-20020a056512169a00b0044afea750a5mr11669810lfb.498.1652076445778; Sun, 08 May 2022 23:07:25 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.245]) by smtp.googlemail.com with ESMTPSA id q19-20020a0565123a9300b0047255d211b6sm1824707lfu.229.2022.05.08.23.07.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 23:07:25 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Mon, 9 May 2022 09:07:21 +0300 Message-Id: <20220509060721.2726047-4-geomatsi@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220509060721.2726047-1-geomatsi@gmail.com> References: <20220509060721.2726047-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/3] package/rtl8189fs: fix big-endian builds X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergey Matyukevich Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fix rtl8189fs builds for big-endian platforms. For this purpose remove default little-endian configuration option from rtl8189fs Makefile. Configure proper endianness using USER_EXTRA_CFLAGS instead. Fixes: - http://autobuild.buildroot.net/results/51e95561103e40ae94f38b9bb944bdfcd4ab50ed/ - http://autobuild.buildroot.net/results/8ac7921926ab48aeb95dc4ea20f3c9970094c71d/ - http://autobuild.buildroot.net/results/7f0bdd03c41bcc9e567fe722ed271e5dcf210f44/ Signed-off-by: Sergey Matyukevich --- ...1-Makefile-remove-default-endianness.patch | 30 +++++++++++++++++++ package/rtl8189fs/rtl8189fs.mk | 3 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 package/rtl8189fs/0001-Makefile-remove-default-endianness.patch diff --git a/package/rtl8189fs/0001-Makefile-remove-default-endianness.patch b/package/rtl8189fs/0001-Makefile-remove-default-endianness.patch new file mode 100644 index 0000000000..47e42415eb --- /dev/null +++ b/package/rtl8189fs/0001-Makefile-remove-default-endianness.patch @@ -0,0 +1,30 @@ +From 480d9da302885d9e8b3d1f9c68def569e3c8a8c0 Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich +Date: Mon, 9 May 2022 00:17:21 +0300 +Subject: [PATCH] Makefile: remove default endianness + +There is no way to remove configuration options from EXTRA_CFLAGS +without editing Makefile. So default LE configuration can not be +conveniently replaced by BE. Remove default endianness from the +Makefile to enable its configuration via USER_EXTRA_CFLAGS. + +Signed-off-by: Sergey Matyukevich +--- + Makefile | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile b/Makefile +index dfca305..fde4e6b 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,7 +22,6 @@ endif + + EXTRA_CFLAGS += -I$(src)/include + +-EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN + EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT + + EXTRA_LDFLAGS += --strip-debug +-- +2.35.1 + diff --git a/package/rtl8189fs/rtl8189fs.mk b/package/rtl8189fs/rtl8189fs.mk index 6031a3072c..1c398919ba 100644 --- a/package/rtl8189fs/rtl8189fs.mk +++ b/package/rtl8189fs/rtl8189fs.mk @@ -11,7 +11,8 @@ RTL8189FS_LICENSE = GPL-2.0 RTL8189FS_MODULE_MAKE_OPTS = \ CONFIG_RTL8189FS=m \ KVER=$(LINUX_VERSION_PROBED) \ - KSRC=$(LINUX_DIR) + KSRC=$(LINUX_DIR) \ + USER_EXTRA_CFLAGS="-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN" define RTL8189FS_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)