Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e27a782 authored by Shuah Khan's avatar Shuah Khan Committed by Greg Kroah-Hartman
Browse files

selftests: Move networking/timestamping from Documentation



commit 3d2c86e3057995270e08693231039d9d942871f0 upstream.

Remove networking from Documentation Makefile to move the test to
selftests. Update networking/timestamping Makefile to work under
selftests. These tests will not be run as part of selftests suite
and will not be included in install targets. They can be built and
run separately for now.

This is part of the effort to move runnable code from Documentation.

Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
[ added to 4.4.y stable to remove a build warning - gregkh]
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2397ae1e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
subdir-y := accounting auxdisplay blackfin connector \
	filesystems filesystems ia64 laptops misc-devices \
	networking pcmcia prctl ptp spi timers vDSO video4linux \
	watchdog
	pcmcia prctl ptp spi timers vDSO video4linux watchdog

Documentation/networking/Makefile

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
subdir-y := timestamping
+0 −14
Original line number Diff line number Diff line
# To compile, from the source root
#
#    make headers_install
#    make M=documentation

# List of programs to build
hostprogs-y := hwtstamp_config timestamping txtimestamp

# Tell kbuild to always build the programs
always := $(hostprogs-y)

HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
HOSTCFLAGS_txtimestamp.o += -I$(objtree)/usr/include
HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include
+8 −0
Original line number Diff line number Diff line
TEST_PROGS := hwtstamp_config timestamping txtimestamp

all: $(TEST_PROGS)

include ../../lib.mk

clean:
	rm -fr $(TEST_PROGS)
Loading