summaryrefslogtreecommitdiff
path: root/efivarfs
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@hackbox.linaro.org>2015-11-29 23:02:08 +0000
committerMilosz Wasilewski <milosz.wasilewski@hackbox.linaro.org>2015-11-29 23:02:08 +0000
commitf8a700c636fa74706733014701fbeb1ac660a85d (patch)
tree51d4951dffcf9725c8f7ec74fa0c35562b22567f /efivarfs
parent751dc08e504621a230a1b556abdd2c660953708d (diff)
Update to commit: 8005c49d9aea74d382f474ce11afbbc7d7130bec8005c49d9aea74d382f474ce11afbbc7d7130bec
from repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git branch: master
Diffstat (limited to 'efivarfs')
-rw-r--r--efivarfs/.gitignore2
-rw-r--r--efivarfs/Makefile7
-rwxr-xr-x[-rw-r--r--]efivarfs/efivarfs.sh0
3 files changed, 6 insertions, 3 deletions
diff --git a/efivarfs/.gitignore b/efivarfs/.gitignore
new file mode 100644
index 0000000..3361849
--- /dev/null
+++ b/efivarfs/.gitignore
@@ -0,0 +1,2 @@
+create-read
+open-unlink
diff --git a/efivarfs/Makefile b/efivarfs/Makefile
index 29e8c6b..736c3dd 100644
--- a/efivarfs/Makefile
+++ b/efivarfs/Makefile
@@ -1,12 +1,13 @@
-CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall
test_objs = open-unlink create-read
all: $(test_objs)
-run_tests: all
- @/bin/bash ./efivarfs.sh || echo "efivarfs selftests: [FAIL]"
+TEST_PROGS := efivarfs.sh
+TEST_FILES := $(test_objs)
+
+include ../lib.mk
clean:
rm -f $(test_objs)
diff --git a/efivarfs/efivarfs.sh b/efivarfs/efivarfs.sh
index 77edcdc..77edcdc 100644..100755
--- a/efivarfs/efivarfs.sh
+++ b/efivarfs/efivarfs.sh