From patchwork Tue Oct 5 18:24:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 515256 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp2111282imy; Tue, 5 Oct 2021 11:40:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo9fP+YQQpbLiIdWNjmV2fUnk3Nwn/MY1owkBRN4kvTnMc2xGepCme9DMQwKieIaM6BRjS X-Received: by 2002:a37:2f46:: with SMTP id v67mr16493844qkh.474.1633459216299; Tue, 05 Oct 2021 11:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633459216; cv=none; d=google.com; s=arc-20160816; b=JUxYmmP9am+UzGMBbHGM3V6gm2kF7bpjm1Izho8RLSXCKCft2rwu/0bpORoXnNuDIU iGj54CZUanK1wTEIQqSlh5WHWNQUVcFxWPe4KWmesetZ+9sxW8gdu38zu2fD1dwy8/l4 2hgIOFjdTeOCe+Wnr2QIjBXAt+xk8TM/ESV13Zw3JuGKUoVc+cjoLqvlM2/SmW7mKa8t 4r3xZBkleVWjE/WRSZT5TzTHwNFmbgFFX3KlWKdltO/35pB0IdvARxO853JUPVVwHtvO fgLBR9a0p6iM8Fmzv8PG384ICqe8r2DbJC4AFK5MtCGdrWZarcqLz7ueWKZFNfxQOBWQ 6uHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=Q5fQGiY++cLu4Z5iM93f5bjjyZZNCiZiglC82xP6Hgo=; b=kvH2l0QEVoCHsyB9aQMuHcwG7TtIeskymPF5jcvZ/8+OS2iEYiNzIGgPhBLKYfLTeD 4Lb/Z+giU4C7Sn30An7B2lQsIc4REayJMvke9g/6jY9SMLP7WKdp285vpgK4oN7ftL46 Pn6mv9C13gGEBFJsHh63/gJtGsqO+k3bJ7rMhDel8VyYCELqacgawlPSN0FVxC4RfhBh rAFHMW36kwicWG3fG+UKWA26Z7siHlVyL76hs5WJCgX/fPZGLgIJqw+y0zqcixVB56C1 3T/VKJVouAP7tDFGWVms3c6F917Sqe8IX0V9rIr7hvDgMpozYfgkTLTA4BCc19xkqG7u vD3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yd5HOdaH; 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 c6si13855779qkp.69.2021.10.05.11.40.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Oct 2021 11:40:16 -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=Yd5HOdaH; 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]:48328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXpMC-00016v-LK for patch@linaro.org; Tue, 05 Oct 2021 14:40:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXp7X-0003aS-Cq for qemu-devel@nongnu.org; Tue, 05 Oct 2021 14:24:56 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:35543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXp7V-00029J-OU for qemu-devel@nongnu.org; Tue, 05 Oct 2021 14:24:55 -0400 Received: by mail-wm1-x32b.google.com with SMTP id z184-20020a1c7ec1000000b003065f0bc631so4111691wmc.0 for ; Tue, 05 Oct 2021 11:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q5fQGiY++cLu4Z5iM93f5bjjyZZNCiZiglC82xP6Hgo=; b=Yd5HOdaHMX66YcTSRLlsZaCIwwbyUIkm8J6aH/PU9FylZZYbsJ6WT+w4djijpST/O4 zcvYQ8MB48i9BAwX5tESuYrs5Y0idx1UgyE5yn788YAOkp6Wzpje+piTVdFpl3ehfb9X lW+0uDXXZnFWYWxXAkt+FdqNMIgBqJgP91xy/9FDxk9fD6IMVg6Loid8rJu3+bLAzVQC x13ogVMTb9ir0ftx9nKH9O6zrdqXeKStkOL1O3J1kHvtnCuEgD0SQFsDguoCaImFOhoF 1BABy/3fr83kZXxEStjoXRGgjVuYRGnr+tGpkDo5i/9trRqT1ByVr7og5LxPNOemyMfo 0wIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q5fQGiY++cLu4Z5iM93f5bjjyZZNCiZiglC82xP6Hgo=; b=e0hzn6vdhrYBIb9a9krh/CSKp3Lbk8JVsAgmtdwC3FqumbUZGGCxuA9POkLrPEAegh PyfEuyAeQANmASmwqzYIzDGgyObe9tTGMGtXw/IOgvP+NwQC7K6QtkWWbiqhOmao3nwA W3EibhOOnz+MkpRK0uiVrOpdfnyFNnd9JpanpzXVYQ7nBSmG4zm14wkGmuvi+yf07E2R Au+ybFeb/eGbfGJ+27ami6TfcuCRmlfL3Cq0uYtEyLun1Ay9FIewr3G+cs427FFLBeUH AGCC+RK4ytqs04tUrRY/bXCxWEsE8MNZdq7RL7djE5i/qazgDTYI77pgo2llQU48qpMe 6glA== X-Gm-Message-State: AOAM5312BDT33DYV5Qa+z4vVrWig2Z1UwtaESYKDOx8su4C73oSvvzDF Wn8MiR3g28yzm8FMfhNh2lOZdg== X-Received: by 2002:a1c:7d91:: with SMTP id y139mr5326228wmc.57.1633458291007; Tue, 05 Oct 2021 11:24:51 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g188sm3013025wmg.46.2021.10.05.11.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 11:24:50 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 27A5E1FF96; Tue, 5 Oct 2021 19:24:49 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [RFC PATCH] meson.build: don't include libbpf in the common source set Date: Tue, 5 Oct 2021 19:24:43 +0100 Message-Id: <20211005182443.2954499-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This library is only needed for the softmmu targets and as such break static *-user builds where libbpf is detected and it tries to link it into the user binaries. Fixes: 46627f41b6 ("ebpf: Added eBPF RSS loader.") Signed-off-by: Alex Bennée --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.2 diff --git a/meson.build b/meson.build index 60f4f45165..d8bcf13b21 100644 --- a/meson.build +++ b/meson.build @@ -2307,7 +2307,7 @@ subdir('bsd-user') subdir('linux-user') subdir('ebpf') -common_ss.add(libbpf) +softmmu_ss.add(libbpf) bsd_user_ss.add(files('gdbstub.c')) specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)