From patchwork Wed Mar 4 22:13:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 11420879 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5712C1580 for ; Wed, 4 Mar 2020 22:14:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3889420848 for ; Wed, 4 Mar 2020 22:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583360065; bh=sg+lRT6T+2CFS1Dw0JSEHqIxXO8uMRbU2SWPKjpkK4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=IjjqN04/Sgc9TA6E9u6sk5JI83Ot+ShV7ZFF6ge/Kpv0L/b7blDBf6sVDyaPHjA/I kjcIgUw8wHt8bNMLweKTdDn/a5jDbuThvEIKIt6MgPH5E3rHeKrZ3K+mmoHempuyhv SrMAY3s3K5tbh/j+jtt/xnb/zStnUSqnqegAyqrU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388462AbgCDWOM (ORCPT ); Wed, 4 Mar 2020 17:14:12 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:43469 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388389AbgCDWOL (ORCPT ); Wed, 4 Mar 2020 17:14:11 -0500 Received: by mail-io1-f66.google.com with SMTP id n21so4185211ioo.10 for ; Wed, 04 Mar 2020 14:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+9gZ3FjUdWgi81CXN9D2iQAnH+lo6JPqrg04R4qEP/8=; b=gZXX9JmFv2DJctPsp75DNG3g9p5eWyxIrIAFUCbjj3XGgwnMcqZvgFvkYd7Xd9sfeI zZEQWmhYX3g7EGtLUCtQBUuPzHEkzgpNKBYXKTAwk0TH8EBhCHvC9IlWnCXxm2mILo4G uqEGWEe60u9mIN2p34S1eJ2s6E8iJvEzG2zy4= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+9gZ3FjUdWgi81CXN9D2iQAnH+lo6JPqrg04R4qEP/8=; b=sIl+RR0XjF4Ijed0z+B2dHEBQt6OBJkFCpmtKcv9PXJlZNLF/WwEHDIzaB1JlTtWXg ASwCdq0I1rCvWDgakPu+aEmCJg+a/Bu5SvozsXGhC3UugsiPLJpsn3D9tO5XjvmQVWUL iEhr0yJScEPT+gBpgQgFWkoRgvDwNlngOarCg9DCgMzPyaYixzTDyLUFQQL4CDXn0o1K uFVP62h1jj4+yy5Qae42L0jutQDwEMbT51HH7ykbAWHmqv8X1W9NHjnfxTlnzq3+KPeN EbfIrNt/XpSPfLRMLXtzvciMZEQKFzPe5lI4Uq+rNFg/+1DfW9utq/5xOeT1SscgZomp rP8w== X-Gm-Message-State: ANhLgQ2lvDyOEUiRENiYEDyGX/l2e2aGCDfNUO7/GgEHPHyJiG17EMHy WrtEmUUUU0fK0f+OtoVzRT+oFA== X-Google-Smtp-Source: ADFU+vvGc+yswzBxxepbZQqv/WGJj2Qwy8fRbC0QftbuZTZFLG36VzQ2QAbYELI6s/iSwvWfdmZTyg== X-Received: by 2002:a6b:660d:: with SMTP id a13mr3690456ioc.18.1583360049769; Wed, 04 Mar 2020 14:14:09 -0800 (PST) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id g12sm6850409iom.5.2020.03.04.14.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 14:14:09 -0800 (PST) From: Shuah Khan To: shuah@kernel.org Cc: Shuah Khan , khilman@baylibre.com, mpe@ellerman.id.au, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] selftests: Fix kselftest O=objdir build from cluttering top level objdir Date: Wed, 4 Mar 2020 15:13:32 -0700 Message-Id: <58d954867391c90fe0792d87e09a82bda26ba4fc.1583358715.git.skhan@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org make kselftest-all O=objdir builds create generated objects in objdir. This clutters the top level directory with kselftest objects. Fix it to create sub-directory under objdir for kselftest objects. Signed-off-by: Shuah Khan --- tools/testing/selftests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 6ec503912bea..cd77df3e6bb8 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -91,7 +91,7 @@ override LDFLAGS = override MAKEFLAGS = endif -# Append kselftest to KBUILD_OUTPUT to avoid cluttering +# Append kselftest to KBUILD_OUTPUT and O to avoid cluttering # KBUILD_OUTPUT with selftest objects and headers installed # by selftests Makefile or lib.mk. ifdef building_out_of_srctree @@ -99,7 +99,7 @@ override LDFLAGS = endif ifneq ($(O),) - BUILD := $(O) + BUILD := $(O)/kselftest else ifneq ($(KBUILD_OUTPUT),) BUILD := $(KBUILD_OUTPUT)/kselftest From patchwork Wed Mar 4 22:13:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 11420885 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 707671395 for ; Wed, 4 Mar 2020 22:14:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 519C621556 for ; Wed, 4 Mar 2020 22:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583360071; bh=9xkWWaunI0gSEGO5Cx/X+dLsjBfzYO7QN/sVfu/HjV4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=x/0BuJEgFfvbZTnJzLxmswvVURxBSCigc0BXB4X5hLDss5wN8fZFPVHZPup/wcXz9 nf43zYG3efX+Hy0eeatAqrzIB5Jdz4Udy0nwYY1d9G4w4S6tKSq4ONQnSQKr12beqR SMjrSigvlF7x/BSx+HVIubhXsU7fw/FVLkL9H4qQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388490AbgCDWOV (ORCPT ); Wed, 4 Mar 2020 17:14:21 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:39583 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388484AbgCDWOV (ORCPT ); Wed, 4 Mar 2020 17:14:21 -0500 Received: by mail-io1-f68.google.com with SMTP id h3so4210325ioj.6 for ; Wed, 04 Mar 2020 14:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0yZwBZUwL8PIwAcU8o7bWc8CP5XNPRFSTvCyJ7jQ5mQ=; b=I4UUtFHvX08Sx91UacVsT5PS2tj7qzVvr6l/ln4WrvjZxc/i8jv/oFJQOcNxDSmPBd ybh5nq8cpARJYCIJvgXwLurW1TEnq2g9Nv81GdPBn4liETzXdczFoTIvy6Zw3R1y+sam aa2bFrPARsOlrcGFyug0jM1U6XwTvVb4XBbbs= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0yZwBZUwL8PIwAcU8o7bWc8CP5XNPRFSTvCyJ7jQ5mQ=; b=SrKn1L5pWxTMqMlAYuIbrX6PazRY3uCChvCqYgKBDHd1Eaxwe27yHj/LfvlPSJdzAJ 8JRRTxUDQBKVIpf87o4kNhYaqwJAvrQcH4JTe4cp5jIk4HDEeJ7tgSmONR9BUwrAXDCW Yx1a2ZNe24VnSRigZMIXRpVgN7Afs8A8tANuIQFsYJrUfYInU8fwElz0UvyDf9zUpclF St4I4LhG639JPqP2BGHbBexWhJ++UuvNrseonIA5g1b91NF0JZqcUvUh0KnanxNuBMep opf3QVnDThFtzG7+2eLyvKDUBT4x5Co9p906gSp3vaHvvK1DbjBcJlBgTefFbV4HB/4M sniw== X-Gm-Message-State: ANhLgQ3gJ3/pC1ldtTj1X1NHG7/JhYXRgp2O+tNRf8jtxqoPIlzthRmf JPBKuOym3qlbwjnNaENqDtbl9w== X-Google-Smtp-Source: ADFU+vu9yfqsq5F9oa+zo3RCZeuK0hGfEJ8oFClTaKU0IJAaGmFuBoMBmSAKAqtJ7WlWRbKZ5R7jew== X-Received: by 2002:a5d:9697:: with SMTP id m23mr4104634ion.45.1583360060224; Wed, 04 Mar 2020 14:14:20 -0800 (PST) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id g12sm6850409iom.5.2020.03.04.14.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 14:14:19 -0800 (PST) From: Shuah Khan To: shuah@kernel.org, keescook@chromium.org, luto@amacapital.net, wad@chromium.org, daniel@iogearbox.net, kafai@fb.com, yhs@fb.com, andriin@fb.com, gregkh@linuxfoundation.org, tglx@linutronix.de Cc: Shuah Khan , khilman@baylibre.com, mpe@ellerman.id.au, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH 2/4] selftests: Fix seccomp to support relocatable build (O=objdir) Date: Wed, 4 Mar 2020 15:13:33 -0700 Message-Id: <11967e5f164f0cd717921bd382ff9c13ef740146.1583358715.git.skhan@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Fix seccomp relocatable builds. This is a simple fix to use the right lib.mk variable TEST_GEN_PROGS for objects to leverage lib.mk common framework for relocatable builds. Signed-off-by: Shuah Khan --- tools/testing/selftests/seccomp/Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/tools/testing/selftests/seccomp/Makefile b/tools/testing/selftests/seccomp/Makefile index 1760b3e39730..a8a9717fc1be 100644 --- a/tools/testing/selftests/seccomp/Makefile +++ b/tools/testing/selftests/seccomp/Makefile @@ -1,17 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -all: - -include ../lib.mk - -.PHONY: all clean - -BINARIES := seccomp_bpf seccomp_benchmark CFLAGS += -Wl,-no-as-needed -Wall +LDFLAGS += -lpthread -seccomp_bpf: seccomp_bpf.c ../kselftest_harness.h - $(CC) $(CFLAGS) $(LDFLAGS) $< -lpthread -o $@ - -TEST_PROGS += $(BINARIES) -EXTRA_CLEAN := $(BINARIES) +TEST_GEN_PROGS := seccomp_bpf seccomp_benchmark -all: $(BINARIES) +include ../lib.mk From patchwork Wed Mar 4 22:13:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 11420883 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95FD71395 for ; Wed, 4 Mar 2020 22:14:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 769D520870 for ; Wed, 4 Mar 2020 22:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583360070; bh=4fpeld5MJunoSY4teJQQPDN25bzj585b0RSarEEz5B4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=DLcJcnAnMrzpSKWqJXTwDc1QAu9WqYQCqa1ACMwlPekS3xGthc8J4Mcy49U+OllpJ UvcFRWkx9wuypQ0JGQoQ2hpwMjecpNkYW/nl4rWEz6e0vsy8N69LJidrdGgNu5zRik Atu31jcSmfP5z3e0EbsuGShEiBG97JVDmuznRwLA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388511AbgCDWOX (ORCPT ); Wed, 4 Mar 2020 17:14:23 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:35415 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388509AbgCDWOX (ORCPT ); Wed, 4 Mar 2020 17:14:23 -0500 Received: by mail-io1-f68.google.com with SMTP id h8so4242346iob.2 for ; Wed, 04 Mar 2020 14:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=slmOLpdIbjI5QyAjKPc7cej/Tzyq5DfvzSm4Ztafae8=; b=ecN/elXI6djHnjKOjuizUlbuZJhSwPC5OCKNCufxl/wtlZb8szUY5hv3RZbtDfuyut M4EOscKs55/2R2aMEu38z9NkZUDXkprSPuyVva6hc/Fqv2sJKhmgxPzHwYyLCNAQ4Aut H5ULfGaZT2Xdfudf09SNt7vsZBWjk9AK8Zk38= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=slmOLpdIbjI5QyAjKPc7cej/Tzyq5DfvzSm4Ztafae8=; b=Lw82sOu1xNb4Fa9bv5jAxQoUVOSEXJuCeuKFIWvU9np3+4iprbNlsH/A7g90qKPU6s tPppjOv/s16eKiK49T+amh/6WVRdrHt08/4pEj6V47mrSrui2ol6SyzIHu19BLa2BRCw sagwfOu6m4nXECgXhzRM6e5z96f/SbTJBb+C/4vPUFNIEb5ZG9SV+7TzvktjHJHajw3J tqbbtaWKNDlP90QOmAVz1oXKgjX5+mv3j2EMnQ+TFWL6qQvetK6F4UcJ31OqeK6MlQ50 txi/NJOtLssi1HtDGyUcMXVAIOmB17Xo7Ng7rJvRthTPCei68mDXFkLdujwukw49gCRd 2XTA== X-Gm-Message-State: ANhLgQ1ei7D/WeqzikSegjB0AE4XUNsaRN8uruulmqWbdmcfDOiyjhqF IKks1yl3NLt64ss9qA0sHwWu3g== X-Google-Smtp-Source: ADFU+vvtttXCtOoapb1Bl0NcpOGalK4Y39X0zQcS/sDoJw9QE2E2iSZda+0cyiHM4ZSp4ozHIzE72w== X-Received: by 2002:a6b:9245:: with SMTP id u66mr3907500iod.110.1583360062502; Wed, 04 Mar 2020 14:14:22 -0800 (PST) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id g12sm6850409iom.5.2020.03.04.14.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 14:14:22 -0800 (PST) From: Shuah Khan To: shuah@kernel.org, gregkh@linuxfoundation.org, tglx@linutronix.de Cc: Shuah Khan , khilman@baylibre.com, mpe@ellerman.id.au, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] selftests: android: ion: Fix ionmap_test compile error Date: Wed, 4 Mar 2020 15:13:34 -0700 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org ionmap_test compile rule is missing ipcsocket.c dependency. Add it to fix the following compile errors: ..android/ion/ionutils.c:221: undefined reference to `sendtosocket' ..android/ion/ionutils.c:243: undefined reference to `receivefromsocket' Signed-off-by: Shuah Khan --- tools/testing/selftests/android/ion/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/android/ion/Makefile b/tools/testing/selftests/android/ion/Makefile index 0eb7ab626e1c..42b71f005332 100644 --- a/tools/testing/selftests/android/ion/Makefile +++ b/tools/testing/selftests/android/ion/Makefile @@ -17,4 +17,4 @@ include ../../lib.mk $(OUTPUT)/ionapp_export: ionapp_export.c ipcsocket.c ionutils.c $(OUTPUT)/ionapp_import: ionapp_import.c ipcsocket.c ionutils.c -$(OUTPUT)/ionmap_test: ionmap_test.c ionutils.c +$(OUTPUT)/ionmap_test: ionmap_test.c ionutils.c ipcsocket.c From patchwork Wed Mar 4 22:13:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 11420881 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C304C1395 for ; Wed, 4 Mar 2020 22:14:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A340120848 for ; Wed, 4 Mar 2020 22:14:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583360067; bh=8YtaRovbocska2CoTH6bYQgSQtXxX7l0Lg3wK/KeTpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=SCBZpN2N8KoHAZo58gT94mbNAywlxAgcCOI8e1imvgb3jQZ7fTk36hqZlT0iTG34v DRB5FaydL3YgyhZbuQwbTurWeqje4/eMPxQogU/WWAvR2d1LYBVDvfFnl3+v7QrDNW KObCbNMi7P5zUgkL9ig1LqPLYF5NTJMciSCsxuhY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388528AbgCDWO0 (ORCPT ); Wed, 4 Mar 2020 17:14:26 -0500 Received: from mail-il1-f171.google.com ([209.85.166.171]:38449 "EHLO mail-il1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388508AbgCDWOZ (ORCPT ); Wed, 4 Mar 2020 17:14:25 -0500 Received: by mail-il1-f171.google.com with SMTP id f5so3250222ilq.5 for ; Wed, 04 Mar 2020 14:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BNOtEzNwp4ie5FRfbU1U4EX7nRGPjUgtolRpVq/MBE4=; b=OjekLCqZXQTwkl6Q5+uW5RbrmRq1XHvjg72IzgF+tE8FYdmbprWuZXrMRaz2opWp96 eogbo2K2F7+AuIYJXXRlnEbypRyif+rw8vKoVtGZtYDP7P/6XPjLzZGOvctKs/o8fNmS sPQwOLyx918g6f4J/GeVMND2UO72j7YBTftAI= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=BNOtEzNwp4ie5FRfbU1U4EX7nRGPjUgtolRpVq/MBE4=; b=q9tI9FCf7SyFV+cITaaiDNRzFGIhDq4fWHRJDIJDP9iq6UzvbTt9UTD0ax6RUsqhf5 5qC5dvnW2d2TeHdc3MHq1CBTtMTsxszsEUD6PG2J82P13Gyne3A/fAMp/FNR343fOHHR Zz6V5pQehlqecNZl7Hy2ewl2Npy07Rj4DnyeOjngXsbYDyJjToLuGgoVkhE8/ch06NDJ Bku+hbFGp+f0EWLOzej9hAJ+gYIBwKvboqgIkDXC/KMabh6RhtEVeK/DDQSnhWXcCv0j +rVBh+0gIFJ+9DbgdiUaQci3YcmvB0da2ROWYOCAlfEC79hfqegi3p6Tow2UikmgITey yJ2w== X-Gm-Message-State: ANhLgQ0iuplbEEJJfcIVw5kmEW8uYGYwQh2BfFVwXY7N3KhT7pSNqDWA tAM4EpVk/Z9pX9pQUINfAKrMuw== X-Google-Smtp-Source: ADFU+vsMyK+BNv06am40GT7NHnRVpySeoKNzTfsH6ZdL+TH4iiTcuGpNh3lpNJhPS8RjcOqAd+KcwQ== X-Received: by 2002:a92:5b11:: with SMTP id p17mr4890257ilb.202.1583360064649; Wed, 04 Mar 2020 14:14:24 -0800 (PST) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id g12sm6850409iom.5.2020.03.04.14.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 14:14:24 -0800 (PST) From: Shuah Khan To: shuah@kernel.org, gregkh@linuxfoundation.org, tglx@linutronix.de Cc: Shuah Khan , khilman@baylibre.com, mpe@ellerman.id.au, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] selftests: android: Fix custom install from skipping test progs Date: Wed, 4 Mar 2020 15:13:35 -0700 Message-Id: <738dd72fe6c4c277a39f1cab10b342c477e0464f.1583358715.git.skhan@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Update custom install rule to install all generated test programs. This fixes android/ion tests to be installed correctly. Signed-off-by: Shuah Khan --- tools/testing/selftests/android/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/android/Makefile b/tools/testing/selftests/android/Makefile index 7c462714b418..9258306cafe9 100644 --- a/tools/testing/selftests/android/Makefile +++ b/tools/testing/selftests/android/Makefile @@ -21,7 +21,7 @@ all: override define INSTALL_RULE mkdir -p $(INSTALL_PATH) - install -t $(INSTALL_PATH) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) +install -t $(INSTALL_PATH) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(TEST_GEN_PROGS) $(TEST_CUSTOM_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) @for SUBDIR in $(SUBDIRS); do \ BUILD_TARGET=$(OUTPUT)/$$SUBDIR; \