mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-21 15:26:39 +07:00

Use the CC variable instead of hard coding gcc. Also clean up the compiler options by creating a CFLAGS variable. Signed-off-by: Tyler Baker <tyler.baker@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
17 lines
458 B
Makefile
17 lines
458 B
Makefile
# Makefile for mount selftests.
|
|
CFLAGS = -Wall \
|
|
-O2
|
|
all: unprivileged-remount-test
|
|
|
|
unprivileged-remount-test: unprivileged-remount-test.c
|
|
$(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test
|
|
|
|
include ../lib.mk
|
|
|
|
TEST_PROGS := unprivileged-remount-test
|
|
override RUN_TESTS := if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; fi
|
|
override EMIT_TESTS := echo "$(RUN_TESTS)"
|
|
|
|
clean:
|
|
rm -f unprivileged-remount-test
|