Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1480403 > unrolled thread

[PATCH 7/9] selftests: Update ptp Makefile to work under selftests

Started byShuah Khan <shuahkh@osg.samsung.com>
First post2016-09-10 00:30 +0200
Last post2016-09-10 15:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/9] selftests: Update ptp Makefile to work under selftests Shuah Khan <shuahkh@osg.samsung.com> - 2016-09-10 00:30 +0200
    Re: [PATCH 7/9] selftests: Update ptp Makefile to work under  selftests Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-10 15:40 +0200

#1480403 — [PATCH 7/9] selftests: Update ptp Makefile to work under selftests

FromShuah Khan <shuahkh@osg.samsung.com>
Date2016-09-10 00:30 +0200
Subject[PATCH 7/9] selftests: Update ptp Makefile to work under selftests
Message-ID<sfCt3-jt-25@gated-at.bofh.it>
Update ptp Makefile to work under selftests. ptp will not be run as part
of selftests suite and will not included in install targets. They can be
built separately for now.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
---
 tools/testing/selftests/ptp/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile
index 293d6c0..f4a7238 100644
--- a/tools/testing/selftests/ptp/Makefile
+++ b/tools/testing/selftests/ptp/Makefile
@@ -1,8 +1,8 @@
-# List of programs to build
-hostprogs-y := testptp
+TEST_PROGS := testptp
+LDLIBS += -lrt
+all: $(TEST_PROGS)
 
-# Tell kbuild to always build the programs
-always := $(hostprogs-y)
+include ../lib.mk
 
-HOSTCFLAGS_testptp.o += -I$(objtree)/usr/include
-HOSTLOADLIBES_testptp := -lrt
+clean:
+	rm -fr testptp
-- 
2.7.4

[toc] | [next] | [standalone]


#1480631 — Re: [PATCH 7/9] selftests: Update ptp Makefile to work under selftests

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2016-09-10 15:40 +0200
SubjectRe: [PATCH 7/9] selftests: Update ptp Makefile to work under selftests
Message-ID<sfQFI-Nm-23@gated-at.bofh.it>
In reply to#1480403
Hello.

On 9/10/2016 1:22 AM, Shuah Khan wrote:

> Update ptp Makefile to work under selftests. ptp will not be run as part
> of selftests suite and will not included in install targets. They can be
                                  ^ be

> built separately for now.
>
> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
[...]

MBR, Sergei

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web