From nobody Mon Jun 13 20:37:45 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 AD33B831D98; Mon, 13 Jun 2022 20:37:45 +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 4LMNfx4XDgz4YKw; Mon, 13 Jun 2022 20:37:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655152665; 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=IKHhRh6ATNrPuojPfz7bVaXDgFYGygzAUKqUdKf88/4=; b=QXx6pfkZqnagJeZt7MtlHibeFQkR7+aP3OoEnZQ/MI2jUvQ8Msca+2vGwuUvUjuHI3DfcF VRYIhY6uWKH01S5x8szk9fRS0DH23lc95pOAn7r0AQ7UwsrGLndFzZK1HqHhr1PBMOkSWc cZFKsY8plmHKPjLLB8pqmWGPfuE5TNC5NEbOpid3+Y8XUfQWs0/vkogybCJMN9PCv9FM3W 9WYJO7EycfP1TrNNpLbTeABy2Q1BFD302ssuSkZiTd639U0GgQOK31S9cgfnRi1ACE/GRz vWoYrORhQV5RPNkgCvwBt46oOgNcHXhzWuV+VKTnk0DiZSb29st9dfyWARYscA== 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 770531C4EE; Mon, 13 Jun 2022 20:37:45 +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 25DKbj3V005494; Mon, 13 Jun 2022 20:37:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25DKbjvG005492; Mon, 13 Jun 2022 20:37:45 GMT (envelope-from git) Date: Mon, 13 Jun 2022 20:37:45 GMT Message-Id: <202206132037.25DKbjvG005492@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 1a2ff852e342 - main - include/i386: fix release builds 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a2ff852e342d9a864814aac1baa43bfb6657435 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655152665; 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=IKHhRh6ATNrPuojPfz7bVaXDgFYGygzAUKqUdKf88/4=; b=Cdvf0TrB0c42/kv0T2rWpuwQfpvOIqMz+loimPonvszscqYT7HZUpn41IyYbxgEpwpfeNx UraHNAPiOXaly17QmugfhwAM2j/8gZwW58cNBJcImd17et3HY+gkmjeTLfIedaoLKTvJcI zFaI0nbPgr4JU/qlBlsCdOLFOLywpATAA98fZNWKsWK09NEDxbRHUEkVWbdetFQxph8BIa tDPFueXZpnc91hr3JudVeBPz4cCfN3OgOcK3ArAwfZ2tYTk9kyXT99RxX0BmcF9YAEqlQh mt8jDOQAAiTSSP25nDOBgJDKnzRc/SzY/LpptJ3TAQDNnFQnHbuamw4CDrt+bg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655152665; a=rsa-sha256; cv=none; b=RauSx7uFZ/59xlbXjEyAi0f4vvC/VlKP/yCjHMqJXosfftSNbN2mCKyBn1J45/dmhBk116 XtJYBw0IR7tH7xtn+3qrjUuSGYhV/rMJxUH7LOp3TWL6JbOuemmld3HWj3RZq7s9up527T ntjf6nQAkdx7sYvz0fzD3NunDEF1/aTZoT+uIGZWppAJn60ozqa22V6tZ+wRS86bDybQzz rQmdPL9XXQh6xcnwpCXlYqYST4wqr11QXoteQ/T65B9FJkNTn3eC+LtH+eYjHcX0z3uabb M0tfDe8o1DQqBf1D5g6ahX068dDJ3B2H6ldTv2AdktkWhlzK5TJ4HVEBxoTcdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=1a2ff852e342d9a864814aac1baa43bfb6657435 commit 1a2ff852e342d9a864814aac1baa43bfb6657435 Author: Brooks Davis AuthorDate: 2022-06-13 20:37:34 +0000 Commit: Brooks Davis CommitDate: 2022-06-13 20:37:34 +0000 include/i386: fix release builds Add a target to ensure the presence of /usr/include/i386 before we try to install files. In the buildworld/installworld path it gets created different ways, but for distribute (used in releases) we need it in the subdir. (Creating of this the x86, pc, powerpc directories is far too complex. We should look for ways to simplify it.) Reported by: lwhsu Fixes: a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891 --- include/i386/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/i386/Makefile b/include/i386/Makefile index b5f5a23eb906..901cc87392ba 100644 --- a/include/i386/Makefile +++ b/include/i386/Makefile @@ -20,4 +20,12 @@ INCS+= \ pcpu_aux.h INCSDIR= ${INCLUDEDIR}/i386 +beforeinstall: i386dir +META_TARGETS+= i386dir + +i386dir: + ${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \ + ${DESTDIR}${INCLUDEDIR}/i386 + + .include