From patchwork Sat Sep 30 02:15:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 728073 Delivered-To: patch@linaro.org Received: by 2002:a5d:60c8:0:b0:31d:da82:a3b4 with SMTP id x8csp740563wrt; Fri, 29 Sep 2023 19:17:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExUrNjKvzXYMoNfydlJSFQJYoeLhmBSMfOaUWeRap8yle0XS/Og+7hM7Vj2pkjJI0lDYWH X-Received: by 2002:a05:622a:1888:b0:418:1365:9b4e with SMTP id v8-20020a05622a188800b0041813659b4emr6140298qtc.20.1696040230779; Fri, 29 Sep 2023 19:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696040230; cv=none; d=google.com; s=arc-20160816; b=zfV+gYGlV8N/8jR74LP1PrfubYSknONHK0CgHtY4xUJkMcX3YrURF4hS65Hu/3bnAd eRvMr5y+o8OhRoM6m7z7ZXT95oAnQOSW8rN1b9kkU9GEox4Dpm33IHH7gyTfciz7Eyp+ wrNl+vKOlZJX/ArbCzj8syX5Ixv2HLsbTIL0J0y/AMEVBemKwRpGdNeCl0E8gykWA+Bo IFOxAOJMwKD4AXGhfcfs1LWRantzlBtwrgpH62dRzyjd72l2s5sHpBXuMoqXbUM72UJF U7UlXbmtp3UFcD08XkcoErMiGPha3ihfq9IY6uuZ9od8/t+TVcKtzRNhLTL7AKqlTamb K3jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UahwwM0xSudS8dqnIciSUED/htcAdaM6cKw6bB59fHU=; fh=yAk+WjNOVgQtt4XdbfUGN19AdnXYnHgxXE90MyVs5ko=; b=SXy36ZTmPLsdqVNT55lBIY6MsVs5ATgL+c+prPhkQ7FX4XdcRbtzUOX1nkcVceb9Ri f8ce0DIwhlw/y2wvBJbDMAcLTZFblstIr4qIxTyDlyYTwsATr8TL0z268sOXvB2jyLoX Lmjx+DAP7jbcVT+ggFgPTnvOJbinGvCYlsKcDKxNfj/bFCO9HW65vFxa+dVIOp0SCdaW ccua03jptSiNyGn4IrOs4paH0LA+v0B5vNBdDZM6LWvSSZvpBG/i0nxtsjNeAsKHeRnG btfolDQqZi/WdphlCe5hg4HyV2Xf0VQwXdmDxmjP6UtLj1bjJBTxzupPzvBwds/kyK+p i45g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iA8VgOSd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o6-20020a05622a138600b00417cf881a76si10205648qtk.339.2023.09.29.19.17.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Sep 2023 19:17:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iA8VgOSd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmPWS-0000Ju-Ff; Fri, 29 Sep 2023 22:16:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmPWO-0000HE-He for qemu-devel@nongnu.org; Fri, 29 Sep 2023 22:15:57 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmPWI-00023e-45 for qemu-devel@nongnu.org; Fri, 29 Sep 2023 22:15:56 -0400 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c737d61a00so22244735ad.3 for ; Fri, 29 Sep 2023 19:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696040148; x=1696644948; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UahwwM0xSudS8dqnIciSUED/htcAdaM6cKw6bB59fHU=; b=iA8VgOSdJj8jrFevw+ZS7oA140GrbyxBVO1AlJkW0KYbDJFJ1aLfj2TjedWjyMXa3y a7VBQ6NaH4AvkXWa1XUmgnXEx7vrG9dl5sKgV2Xryz6zBkjldduKTiM5Rmd1rcsXcHJe qk05T8E9FSO/kI4R5GLiRRAw7p0dGtE2s6c5gSfACZuTvZp1+QhKz7qBaRrzIt+BlliF vn2PgeDwP3aLiNuoykJJqb9qWOpWzgAaOcS/1xJe0NnzwRigeSqDpXbRUMQ2lRirssw3 xHhk4fFRSSUC+8Q9gT1Y1NBOw8q/9mU5OCS+nesjoDvcPf00bvdUQtK5IJOB49gR0nIU dD0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696040148; x=1696644948; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UahwwM0xSudS8dqnIciSUED/htcAdaM6cKw6bB59fHU=; b=QpuQcBHOeqQoC/SkulkQkSFBh+SbVQ08OWaMxlzyMMq87T91o+DBSraLYhdt3pWgnm /mTOgE/caYOty97MYee2kiqKToZtDrPqSIUYl5HGuKtFEgPgyOiKoaGbtTZM0HeDzS28 0iSWk8IpyjkmmQTszwyXKKc/BmiFtXPoYCN6a0dO76hZ03YXJkBByb3tcUMlFApS31Ic 0nrpnrpcfcDh+EJLlHJ5a/ixbWtzu8/NvMV/KIvO5WNSteWeqyrkMPGffE+Iet1hK1BX h7HREf++uogGY8S4bSEFjbcmDAOgjdNqRxNaQrLl6GU6MgqNkp+GjDwcQTLjPDra3lRt uKKQ== X-Gm-Message-State: AOJu0YwOf6DreWlMN9/5YZK3Tbpu5moBimlXTl7Z0WXtHN2c1FupBltU lwPKrVCEg9iJB4jZqBhpkFGqGI5WbfhCDl6+Y3w= X-Received: by 2002:a17:90a:fb51:b0:274:a021:9383 with SMTP id iq17-20020a17090afb5100b00274a0219383mr5889963pjb.17.1696040148477; Fri, 29 Sep 2023 19:15:48 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id fv21-20020a17090b0e9500b002775281b9easm2130692pjb.50.2023.09.29.19.15.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 19:15:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: alex.bennee@linaro.org, laurent@vivier.eu Subject: [PATCH v6 19/19] build: Add update-linux-vdso makefile rule Date: Fri, 29 Sep 2023 19:15:29 -0700 Message-Id: <20230930021529.987950-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230930021529.987950-1-richard.henderson@linaro.org> References: <20230930021529.987950-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This is not ideal, since it requires all cross-compilers to be present rather than a simple subset. But since it is only run manually, should be good enough for now. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index bfc4b2c8e9..676a4a54f4 100644 --- a/Makefile +++ b/Makefile @@ -283,6 +283,13 @@ include $(SRC_PATH)/tests/vm/Makefile.include print-help-run = printf " %-30s - %s\\n" "$1" "$2" print-help = @$(call print-help-run,$1,$2) +.PHONY: update-linux-vdso +update-linux-vdso: + @for m in $(SRC_PATH)/linux-user/*/Makefile.vdso; do \ + $(MAKE) $(SUBDIR_MAKEFLAGS) -C $$(dirname $$m) -f Makefile.vdso \ + SRC_PATH=$(SRC_PATH) BUILD_DIR=$(BUILD_DIR); \ + done + .PHONY: help help: @echo 'Generic targets:' @@ -303,6 +310,9 @@ endif $(call print-help,distclean,Remove all generated files) $(call print-help,dist,Build a distributable tarball) @echo '' + @echo 'Linux-user targets:' + $(call print-help,update-linux-vdso,Build linux-user vdso images) + @echo '' @echo 'Test targets:' $(call print-help,check,Run all tests (check-help for details)) $(call print-help,bench,Run all benchmarks)