summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/exec/Makefile
blob: d4300602bf376a5f6e87b1eb17620d3652dd9795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CFLAGS = -Wall
BINARIES = execveat
DEPS = execveat.symlink execveat.denatured script subdir
all: $(BINARIES) $(DEPS)

subdir:
	mkdir -p $@
script:
	echo '#!/bin/sh' > $@
	echo 'exit $$*' >> $@
	chmod +x $@
execveat.symlink: execveat
	ln -s -f $< $@
execveat.denatured: execveat
	cp $< $@
	chmod -x $@
%: %.c
	$(CC) $(CFLAGS) -o $@ $^

TEST_PROGS := execveat
# Makefile is a run-time dependency, since it's accessed by the execveat test
TEST_FILES := $(DEPS) Makefile

include ../lib.mk

clean:
	rm -rf $(BINARIES) $(DEPS) subdir.moved execveat.moved xxxxx*
pan='2' class='oid'>a3683e0c1410c5c8136a7a93b0336ce88d3b893a (patch) treec022266622274ad38111664c23b5608b53bfe58e /drivers/usb/gadget/Makefile parent83e526f2a2fa4b2e82b6bd3ddbb26b70acfa8947 (diff)parent5d03a2fd2292e71936c4235885c35ccc3c94695b (diff)
Merge tag 'usb-serial-4.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
Johan writes: USB-serial fixes for v4.10-rc6 Just a couple of new device ids. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/gadget/Makefile')