Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934134AbbELV72 (ORCPT ); Tue, 12 May 2015 17:59:28 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34105 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933327AbbELV7X (ORCPT ); Tue, 12 May 2015 17:59:23 -0400 From: tyler.baker@linaro.org To: Shuah Khan Cc: Andy Lutomirski , Kevin Hilman , John Stultz , Darren Hart , Michael Ellerman , David Herrmann , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Tyler Baker Subject: [PATCH 2/2] selftests/breakpoints: only set TEST_PROGS when built Date: Tue, 12 May 2015 14:59:07 -0700 Message-Id: <1431467947-29847-3-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431467947-29847-1-git-send-email-tyler.baker@linaro.org> References: <1431467947-29847-1-git-send-email-tyler.baker@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 35 From: Tyler Baker Set TEST_PROGS only when a build has occurred. Signed-off-by: Tyler Baker --- tools/testing/selftests/breakpoints/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/testing/selftests/breakpoints/Makefile b/tools/testing/selftests/breakpoints/Makefile index 1822356..54cc3e7 100644 --- a/tools/testing/selftests/breakpoints/Makefile +++ b/tools/testing/selftests/breakpoints/Makefile @@ -12,12 +12,11 @@ endif all: ifeq ($(ARCH),x86) gcc breakpoint_test.c -o breakpoint_test + TEST_PROGS := breakpoint_test else echo "Not an x86 target, can't build breakpoints selftests" endif -TEST_PROGS := breakpoint_test - include ../lib.mk clean: -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/