From patchwork Tue Oct 23 06:16:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10652741 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D52E114BD for ; Tue, 23 Oct 2018 06:17:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B010D292E5 for ; Tue, 23 Oct 2018 06:17:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A492429307; Tue, 23 Oct 2018 06:17:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B25D292E5 for ; Tue, 23 Oct 2018 06:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727367AbeJWOja (ORCPT ); Tue, 23 Oct 2018 10:39:30 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42193 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727610AbeJWOja (ORCPT ); Tue, 23 Oct 2018 10:39:30 -0400 Received: by mail-pl1-f195.google.com with SMTP id t6-v6so104789plo.9 for ; Mon, 22 Oct 2018 23:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7KMMdFSw10DcDKiCmHQOwnGojU9vuBRNUucRAK3vrzA=; b=jME5vagubvW3EyStbGr1XxEkEkmBOsGi6AoIu6VmIVTBiLgZ83GcOizdWDm6LBB5ZR Ewz4jOukyZJdPR6QVCO2AnDdvTC5PwlW3XwbuqqSZF58YeW9SiRg58rxe5s49SfiIHJf 65Ng02BHZZlMzY8VmiIh4sbiDrVD57w06hJMnYHF3PK6mzcp4xBOhC3sBf16MhvKx9Lq j31+1F6uXH93UeZXtTTnpIhnxCWubrZaF/7z1czXeW+seV1gprOHMs/ih/r7ba1zICQT k/gzLG9comRZUFHsFlN4FQ/Lp435v9ErntocrS8q5Y715Iz3A9xXZCHyFdmjVKbKOcdw CPkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=7KMMdFSw10DcDKiCmHQOwnGojU9vuBRNUucRAK3vrzA=; b=P1NeQkHjVWN+EDs/lNk/JF1t91t8wITJtWuA73h9xLZfLBYgGdgiK0ROlo2uTawNj7 g5DKa4RC2MkVeI2acJW060WigZCRngNErG5HyFjZBlSmqzqlzo/0weJMWaybeQRrhM2d N9Uc9Ut90PmY/H87OXvVoQHOlQk/5x+0L6UVCXvv/zCnq+DOXn6sHDf4smXlO2E9eEiP QSVRaZEegoR9E0ZnIlX1SA7Y9zqb1mOpmgxZYEDPt/3YLKCvLnNkNT0MHZFzsel8lvcp LI/JRRb0UAsSQL2NA64wjRqqBYh46fpy9076pKBBbZJq/AVf9JukirXT+uaWmBjl2YDv mx9w== X-Gm-Message-State: ABuFfoiUOifVKP/JFzH2oT/VmRLjQFOU+RmpHrGlpB1/hxAj83sn7T11 VKCNdSMonL/CONCnbBXx350= X-Google-Smtp-Source: ACcGV61ZsxPEKB+YewbJh1bxLOdgxhbGklIx2f0oB++OvZEhz2SgQSMMLjvg+nPeguaHbKcoGr9W3w== X-Received: by 2002:a17:902:1ea:: with SMTP id b97-v6mr48414523plb.152.1540275454466; Mon, 22 Oct 2018 23:17:34 -0700 (PDT) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id 90-v6sm871825pfk.134.2018.10.22.23.17.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 23:17:33 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 23 Oct 2018 16:47:28 +1030 From: Joel Stanley To: linuxppc-dev@lists.ozlabs.org Cc: linux-kselftest@vger.kernel.org Subject: [PATCH 4/6] selftests: powerpc/signal: Make tests build Date: Tue, 23 Oct 2018 16:46:55 +1030 Message-Id: <20181023061657.18007-5-joel@jms.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181023061657.18007-1-joel@jms.id.au> References: <20181023061657.18007-1-joel@jms.id.au> MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP According to lib.mk, TEST_PROGS is for shell scripts. It appears we need to define the programs as TEST_GEN_PROGS to ensure they are built. The definition must also happen below the inclusion of lib.mk. Signed-off-by: Joel Stanley --- tools/testing/selftests/powerpc/signal/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile index d34a7c7710db..25d0973df5b3 100644 --- a/tools/testing/selftests/powerpc/signal/Makefile +++ b/tools/testing/selftests/powerpc/signal/Makefile @@ -1,7 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -TEST_PROGS := signal signal_tm - -$(TEST_PROGS): ../harness.c ../utils.c signal.S +TEST_GEN_PROGS := signal signal_tm CFLAGS += -maltivec signal_tm: CFLAGS += -mhtm @@ -9,5 +7,4 @@ signal_tm: CFLAGS += -mhtm top_srcdir = ../../../../.. include ../../lib.mk -clean: - rm -f $(TEST_PROGS) *.o +$(TEST_GEN_PROGS): ../harness.c ../utils.c signal.S