From patchwork Wed Jan 13 16:33:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 362158 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp687421jap; Wed, 13 Jan 2021 08:35:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFjUOs3ADHMbxvw1Zcsk3xQ1Qi34GUOF1FUPyWmOOnHDN2TYt9k7xwk8oDg9mhYbEETExP X-Received: by 2002:a17:906:f0d0:: with SMTP id dk16mr2161420ejb.144.1610555733488; Wed, 13 Jan 2021 08:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610555733; cv=none; d=google.com; s=arc-20160816; b=IlxJ7Hp24ZfovFPhFfUyiu8VAQoIr8GfubeAP115FDn1nuuCjtKDBvteb9d0NtGTI+ NvXT7kp8TnLPp88u42iiUoP8JBtrt8gKY42J8Hv66V87C4zV1QdRWb1ilAshjNb5vinm vkjQtjdEZVnx7cpWHhf4tXFcoTY4nfbSyVO9YrnVQxmo4PqJwq8MVOJhQn/q+Vw8Ogxu etkkXyiMuLKM35UE6GA7hs43iBxKKAhEVOV10CpzlJyDnnqGxqClb0ktsawOOmnKdwSG EAQ7CQ/4sLp5RzGbS3lfbHyIDrsZKFy+0n7XI1k0euVA9I6UOcsF+LOjw+FQ4O4rfyEP hq3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vk0czB5fF0aB6nd/h40en79pLBBtFj9eodoYDBiXDAU=; b=Zl4IzScLKmZ4g4BQuhLU1w7vQsE0a2CE1AGS3E89Qa2mvZukgjB6j9Eo0PhLdebMCU GsFfRq0eo2ObZsvkPuwf2YqD7Irsk4fIoISHJlWR6uCTsB4uVPkTMgh613a+SgZF9XWm QIeapRa5NfMx7JaqRvj3EUtqoRs8iAgqktxxH7XHCsFr7wQ6tmVIKJLujPoN+43snR6d WR9F/HJQDEPGghx9noEZ1G+cnfeRyIQed6TrItDLATcv5CLUTQD3Yitp0HymDwX6T24s I81KNKktajv2d/ywUybi1Ea5EAdqIgOi0Sqr4nCYFjOOnH6uuUP7EIWuj/+MmtRmakz6 3MpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WEtPRWKe; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si1137669ejy.51.2021.01.13.08.35.33; Wed, 13 Jan 2021 08:35:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WEtPRWKe; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727347AbhAMQfc (ORCPT + 6 others); Wed, 13 Jan 2021 11:35:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727106AbhAMQfc (ORCPT ); Wed, 13 Jan 2021 11:35:32 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BC5C061575 for ; Wed, 13 Jan 2021 08:34:52 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id d17so3935046ejy.9 for ; Wed, 13 Jan 2021 08:34:52 -0800 (PST) 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=vk0czB5fF0aB6nd/h40en79pLBBtFj9eodoYDBiXDAU=; b=WEtPRWKe9Uj7QzJ4cVmdQFMSqEbwCeAOl9nAb42BQC28kiPXzigZBsn5zdHCitm07Q Qh2LqIZ3zQ1mxKSfj4VgpiaHFFeUvDZBwlSrK5dIIPAoOib3c0k+zFLvwxH/GIEjDYeW cgOGViSNs1ikmv/+U3EkS3Q7L1fCi9g09m4J53cFyUzMOSjTtBn2n7mWS3d0W/YPClaC zIGT7R7rfV+cGOGeFwRSp41kXye7WUXynl2kPJcbeoHvp82iUMuH/7sGddBeamUYJT8z KDhiHG9zKtpo+/mzQFdXNZKv787fGTumVsy3XQYmquW0qt07OiwQhOIZobRRWhGKNOO/ 0vaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vk0czB5fF0aB6nd/h40en79pLBBtFj9eodoYDBiXDAU=; b=Xe9s0wdOONSibm/fe6/toYZxMjPL6ypXyn0JPExvaIS4/SVGXTFdyoU9+KWNBAzvnf j6idDnz7T0q+KSgJKU6Jm1JZQlfkhwxg33qWUC5y25k6j5yPWit60qk4nbDJ2pBEtaus EC6X1iIq9PBnuiFAfthaix9s9haVEpBmrm0MOQ69i1X2B42V7+BNl9vLEIAtDxRb6gOc zeOHRjNY2d45u6oKXzekesMDEY7EUpTaitr07Er+Upd7ekQD+3E+Gu83cyR77jB8An3S y6AxHC6gSWD2C2Jh3/8aROl8AzwHmkuT1RLIMvsjsTjFB6QT+lYiKY3Eb0OYm+JZKP6H okZw== X-Gm-Message-State: AOAM532L63QqPs0Q344teHbNkwIsj4KOpAT2bB9GFo/uRoPd4QZNqro1 qH1HKC630Dyn8EP7TeTCNKEvhg== X-Received: by 2002:a17:906:a3c7:: with SMTP id ca7mr2234196ejb.523.1610555690828; Wed, 13 Jan 2021 08:34:50 -0800 (PST) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id g25sm923943ejf.15.2021.01.13.08.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 08:34:49 -0800 (PST) From: Jean-Philippe Brucker To: bpf@vger.kernel.org Cc: shuah@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, linux-kselftest@vger.kernel.org, Jean-Philippe Brucker Subject: [PATCH bpf-next v2 0/5] selftests/bpf: Some build fixes Date: Wed, 13 Jan 2021 17:33:15 +0100 Message-Id: <20210113163319.1516382-1-jean-philippe@linaro.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org A few fixes for cross-building the sefltests out of tree. This will enable wider automated testing on various Arm hardware. Changes since v1 [1]: * Use wildcard in patch 5 * Move the MAKE_DIRS declaration in patch 1 [1] https://lore.kernel.org/bpf/20210112135959.649075-1-jean-philippe@linaro.org/ Jean-Philippe Brucker (5): selftests/bpf: Enable cross-building selftests/bpf: Fix out-of-tree build selftests/bpf: Move generated test files to $(TEST_GEN_FILES) selftests/bpf: Fix installation of urandom_read selftests/bpf: Install btf_dump test cases tools/testing/selftests/bpf/Makefile | 58 ++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 17 deletions(-) -- 2.30.0