From patchwork Mon Oct 30 21:17:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 739280 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1336878wrt; Mon, 30 Oct 2023 14:19:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJTFeuTOfIDS2zya63kxbIJ9XegZFgWuQ1jdL8kw9GMiBYvgHW7tCG/H5Kqxitz4WeryzV X-Received: by 2002:a05:6358:6f14:b0:168:e637:9dfc with SMTP id r20-20020a0563586f1400b00168e6379dfcmr13879273rwn.0.1698700771800; Mon, 30 Oct 2023 14:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698700771; cv=none; d=google.com; s=arc-20160816; b=G38l68lCJzuNzRN+vCakpo9Vt1TuXc6+fZWZ1XoRZgghIGe+O5YqhnzXIPckz5YMKs E/MH47kV0KHgJOK6TioJrm5oA1/t/rpnZOaXY0SnWGVlcBokjmOggBxf6C14aw+dOZe6 dMQONy6vp2WR7myrxXKchxh9QYxpzUDUZ3AS41O3UcEfsRDTRf/UGKppeI08wLaOBH5C tOHqOdXaWBeSQRVFX7gR+7Oms7bGaSMZzhw4Xm7thX0zSfYNwQKFiZpJJdFtcdh2cynl vXYzik+nr6C/eQuzXUwkTdesdD9EmHLMiQZsEr3doR46z7CIrQq6TZl6hI9VFdYUj+K9 tZOA== 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=yzOKgXKNazfyfA2z+XajHEvJf0Lhv9Mg5pIKTCDChLE=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=GEzQ+ILgoQqcTONJdKkglF8Os3W/KBtU/OR/WsRVM4kAJ2i1GYeEbWwZ8ZSBmK9xtM tQ4M/B/2uQCgmyFvHGw1iP7J2hV728/An4F0vAv/Ezk26JGrcQdo6/Xa9BLefAst0TXM BdynkQDUT/6Q/L1vqIyT3qm3O0hrb+d1U7Bcxkztf9HqRbfF2FZKTMg6fBFMYbObQHVR gQAJk6PLoOk7wHVwhnSsYNxwz6f1rhh2SkSuizEn5SlNuh3L7eEeWTMJ6/G/Xe5M9mj8 hVCDwB1Ed9H5ZHMqNZ3NAiAUYA4R5dZCQ5pCmhwqcwtB2+x9W8BIXYFEcgtn1pOnBvp7 W3/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eoK05KaY; 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 c2-20020a05620a268200b00776ff8c1216si6583902qkp.772.2023.10.30.14.19.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Oct 2023 14:19:31 -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=eoK05KaY; 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 1qxZeV-0001hz-1Q; Mon, 30 Oct 2023 17:18:28 -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 1qxZdy-00011d-CE for qemu-devel@nongnu.org; Mon, 30 Oct 2023 17:17:54 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxZdt-0006WX-8K for qemu-devel@nongnu.org; Mon, 30 Oct 2023 17:17:54 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1cc3216b2a1so13095195ad.2 for ; Mon, 30 Oct 2023 14:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698700667; x=1699305467; 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=yzOKgXKNazfyfA2z+XajHEvJf0Lhv9Mg5pIKTCDChLE=; b=eoK05KaYsuuASKPFVrffE/XMDupUEytnQwOYFHpfFFDCODOtwzV7tKUfV424DuUB4Y 0+A54cOMfT2NJK2jLf0BXH3IBo/Dx6DGLbcdwwwIeAvviEeV7ju+i57U0LxY12GcAvu8 O6gbv0flNQmieA786VoPyVK0GjBVK1b0nr1VRYUKFjB979JLu+Xq2YhWEk+9tXOWPrD9 wHFf+Pg9HAu9rZOnIFY+U75HyjZDyD0dcvL/yH7jakQVAZwBFEM6ao7nVmzt7qx5vOIq G+HZ+eoP+42xpjIDIOiDiFeCum9CIX3rFzwMgh+yK0ZfkINhGceS++4UVyuwffpaIaW5 dwAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698700667; x=1699305467; 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=yzOKgXKNazfyfA2z+XajHEvJf0Lhv9Mg5pIKTCDChLE=; b=WOt7zxPtU9IttLXPH5LuXhbBPrk/rZNC3qDq4fM4VLiN4G0xLZOq1m55xRFq0HcQC4 wB5iaBOEAM24e6SSdK9DybLnKaeqIcRfdkFQHHUbU/r49jEzzwaSx79dx4Ysbx5KBEwK BmeGeC3d/ci4oYWotdxa3DOcCdohOhRdIhyEQWW8msz1RxoGRShyuzTXiIsRliIIYWxj CCxFTlq70JxxdfxOZ2ttQKyYLWrWKLXq+1N9PrAvCx4yVp8s0E4RHgM/Pt8AQ0k5XA1K B527xx2ewcmr9eSUJBpGdz9zXbPTjIWMwAGftxYnniW25GDAMmVCW8rYOttU083dUG4+ gyaQ== X-Gm-Message-State: AOJu0YzNgM+knfiOH1pytwFAsNT1+RyaD8UI+WfUSuFYqr0CTiKHeun0 a/WRuzme+J1O6O4ANUdjq/NQ5jYx0/ahaG64tTc= X-Received: by 2002:a17:903:30c9:b0:1cc:373b:f0e6 with SMTP id s9-20020a17090330c900b001cc373bf0e6mr3776430plc.67.1698700667087; Mon, 30 Oct 2023 14:17:47 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id jf2-20020a170903268200b001cc32261bdfsm4670350plb.38.2023.10.30.14.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:17:46 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 21/21] build: Add update-linux-vdso makefile rule Date: Mon, 30 Oct 2023 14:17:27 -0700 Message-Id: <20231030211727.165090-22-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231030211727.165090-1-richard.henderson@linaro.org> References: <20231030211727.165090-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.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. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- 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)