From nobody Sun Jan 02 07:45:22 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7F390191990A; Sun, 2 Jan 2022 07:45:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRWBW1f63z3MGj; Sun, 2 Jan 2022 07:45:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 149816524; Sun, 2 Jan 2022 07:45:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2027jMju050870; Sun, 2 Jan 2022 07:45:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2027jMma050869; Sun, 2 Jan 2022 07:45:22 GMT (envelope-from git) Date: Sun, 2 Jan 2022 07:45:22 GMT Message-Id: <202201020745.2027jMma050869@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 4cc76d90ea25 - main - iicbb: Always build ofw_bus_if.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4cc76d90ea259df205fec14d6bed1bfb7b0ef23e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641109523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YwGuqj12kKetg0wg95KbJ21iZFvCK+gqkYfkpJskIG4=; b=p5BXL0Fs9umKlZspFcWhTt5Fp9riwR3VCjC4/VYDhidMaPxXk9wrbq6XZT7qgy8N9aO3W6 G6geSv3ETQleNQy3e9f6HEib0F5dCzKQLw3OaxxzPPa0rkfkE5gdvAZcisCPHbExyJrs+s ZchosvWqLJcOMZI0MA95xXjaz0jfixNrtjfxBS2h/LIapuRLsGoWz9BIA+insJHx/46QfR oQ3nFPIMuNPAt2r6ATQE6nNLrBOLqQNbNts+NSSx6AykzUTfbu7uKmRO6kzfmy6SgZ/Imw N4/Wq6QDnP/x+etdc9sCmZ1W1WbKK5HTgIxIFk8IbSGspmyhy60w6w8pH0CbHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641109523; a=rsa-sha256; cv=none; b=mGZ8RwWiEdyrkqx+TRKJTh045p3SehOZShGW/fbZ+wZjLFBj0bVMzW3ii+1hCTT+cegF1s D+LB4IMiU6GbpjFg4iUiulYanEmgG2hM/5O/ZYxIX5I/yfCEx8xFmNB8tD64XBGLisUQVP qkSZOJASYC8QdbqaL3/b4o94L7+aMptYG0Q9axV3Prb4RX2tDt2jVIfrr6/1lR5t7oswMX NoYmU/fSh2rftwlKcFVqJ32u6YKukDzYmfXr0YORLACS7ujNBRt1lOd3oZJPZmrzy6G79p K0K+b/ltzLghyCMKb6j/3zv9Ceoz8uMjuWfkHuf4Rj8nOmQjB6CyxbVWKS/EQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4cc76d90ea259df205fec14d6bed1bfb7b0ef23e commit 4cc76d90ea259df205fec14d6bed1bfb7b0ef23e Author: Warner Losh AuthorDate: 2022-01-02 07:32:30 +0000 Commit: Warner Losh CommitDate: 2022-01-02 07:41:28 +0000 iicbb: Always build ofw_bus_if.h Always make ofw_bus_if.h. While it's only used when option FDT is in the kernel, it can always be generated. In theory we could omit it if option FDT isn't present, but none of the rest of sys/modules does that. That fine-grained control likely won't be reliable w/o a redesign of the kernel/module config system. Sponsored by: Netflix --- sys/modules/i2c/iicbb/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/modules/i2c/iicbb/Makefile b/sys/modules/i2c/iicbb/Makefile index 9b74a5da39d6..7da4c6acc3b3 100644 --- a/sys/modules/i2c/iicbb/Makefile +++ b/sys/modules/i2c/iicbb/Makefile @@ -1,14 +1,9 @@ # $FreeBSD$ .PATH: ${SRCTOP}/sys/dev/iicbus -.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ - ${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc" || \ - ${MACHINE_CPUARCH} == "riscv" -ofw_bus_if= ofw_bus_if.h -.endif KMOD = iicbb SRCS = device_if.h bus_if.h iicbus_if.h \ - iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h + iicbb_if.h iicbb_if.c iicbb.c ofw_bus_if.h opt_platform.h EXPORT_SYMS= YES