blob: bab7c17f0b0c065c211fe15acdb4bee7f7356a20 (
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
28
|
SCRIPTS = android-xfstests \
gce-xfstests \
kvm-xfstests \
qemu-xfstests
KBUILD_SCRIPTS = kbuild kbuild32 install-kconfig
bindir= $(HOME)/bin
all: $(SCRIPTS) $(KBUILD_SCRIPTS)
clean:
rm -f $(SCRIPTS) $(KBUILD_SCRIPTS)
install: $(SCRIPTS) $(KBUILD_SCRIPTS)
mkdir -p $(DESTDIR)$(bindir)
for i in $(SCRIPTS) $(KBUILD_SCRIPTS) ; do \
rm -f $(DESTDIR)$(bindir)/$$i ; \
install $$i $(DESTDIR)$(bindir)/$$i; \
done
$(SCRIPTS): %: run-fstests/%.sh.in
sed -e "s;@DIR@;$$(pwd);" < $< > $@
chmod +x $@
$(KBUILD_SCRIPTS): %: kernel-build/%.sh.in
sed -e "s;@DIR@;$$(pwd);" < $< > $@
chmod +x $@
|