From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754756AbbCNBpa (ORCPT ); Fri, 13 Mar 2015 21:45:30 -0400 Received: from resqmta-po-11v.sys.comcast.net ([96.114.154.170]:38430 "EHLO resqmta-po-11v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbbCNBpS (ORCPT ); Fri, 13 Mar 2015 21:45:18 -0400 From: Shuah Khan To: gorcunov@openvz.org, tranmanphong@gmail.com, mpe@ellerman.id.au, akpm@linux-foundation.org Cc: Shuah Khan , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests: Fix kcmp build to not require headers install Date: Fri, 13 Mar 2015 19:45:04 -0600 Message-Id: <1426297504-14432-2-git-send-email-shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426297504-14432-1-git-send-email-shuahkh@osg.samsung.com> References: <1426297504-14432-1-git-send-email-shuahkh@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change CFLAGS to look in uapi to allow kcmp to be built without requiring headers install. This will make it easier to run tests without going through the headers install step. Signed-off-by: Shuah Khan --- tools/testing/selftests/kcmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kcmp/Makefile b/tools/testing/selftests/kcmp/Makefile index ff0eefd..d405ad4 100644 --- a/tools/testing/selftests/kcmp/Makefile +++ b/tools/testing/selftests/kcmp/Makefile @@ -1,5 +1,5 @@ CC := $(CROSS_COMPILE)$(CC) -CFLAGS += -I../../../../usr/include/ +CFLAGS += -I../../../../include/uapi -I../../../../usr/include/ all: kcmp_test -- 2.1.0