From patchwork Thu Aug 3 21:37:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 797482 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="m4Q6AVvp"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xNk4B5T8Nz9s76 for ; Fri, 4 Aug 2017 07:40:10 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V6xGTVjlbzHpbhUKHrnQGqTV5v+QuoBjHiOBRchvWwc=; b=m4Q6AVvpJ2eJ/k QoAZu2jqwe79T38ZptHOjGg82VsymP3pYQY/ysF7ME9+VkBNG+5Y48RueM1raj4Tm/c7pA2M3yrH9 E3k3xTMiaMTEJZ6tqWxO+etWp4tY9BOI74MKG8QlUDE+VjFJUcH0ebmVJUu1kptVCl3Nc85IH46xb wCCYXYQhr9hPYJF/FpcmPfzQwnVXKFgYduzTioIlm0/1rx1/7uYhnbq5TqE0BUrTLbKte2fngtjRR INbV2WOxUt17GAhoy52IL9lclA0oLdX3HltU2MIF4inXH2m4LMNr5Jz/NNt97j3XfuCTs0uL0vY/0 ZsAuNXKOoU1cks+JNH+w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ddNqd-00052e-C3; Thu, 03 Aug 2017 21:40:03 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddNpO-00040V-CI for lede-dev@lists.infradead.org; Thu, 03 Aug 2017 21:38:50 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id A727F45F3A; Thu, 3 Aug 2017 23:38:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id nx5Ri20AaF34; Thu, 3 Aug 2017 23:38:25 +0200 (CEST) From: Hauke Mehrtens To: wigyori@uid0.hu, lede-dev@lists.infradead.org Date: Thu, 3 Aug 2017 23:37:53 +0200 Message-Id: <20170803213759.8875-8-hauke@hauke-m.de> In-Reply-To: <20170803213759.8875-1-hauke@hauke-m.de> References: <20170803213759.8875-1-hauke@hauke-m.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170803_143846_650444_59FF158C X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.241.60.215 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 07/13] sunxi: fix build of rtc package when module not available X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yszhou4tech@gmail.com, Hauke Mehrtens , txt.file@txtfile.eu MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org If the Kconfig option CONFIG_RTC_DRV_SUNXI is not selected this package should be be build. Signed-off-by: Hauke Mehrtens --- target/linux/sunxi/modules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk index 99b82a3b5f..b8ea7d5cb6 100644 --- a/target/linux/sunxi/modules.mk +++ b/target/linux/sunxi/modules.mk @@ -10,8 +10,8 @@ define KernelPackage/rtc-sunxi DEPENDS:=@TARGET_sunxi $(call AddDepends/rtc) KCONFIG:= \ - CONFIG_RTC_CLASS=y \ - CONFIG_RTC_DRV_SUNXI=m + CONFIG_RTC_DRV_SUNXI \ + CONFIG_RTC_CLASS=y FILES:=$(LINUX_DIR)/drivers/rtc/rtc-sunxi.ko AUTOLOAD:=$(call AutoLoad,50,rtc-sunxi) endef