Files
erofs-linux/tools/testing/selftests/size/Makefile
T
[email protected] 7d758af257 selftests: add default rules for c source file
There are difference rules for compiling c source file in different
testcases. In order to enable KBUILD_OUTPUT support in later patch,
this patch introduce the default rules in
"tools/testing/selftest/lib.mk" and remove the existing rules in each
testcase.

Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Bamvor Jian Zhang <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2017-01-05 13:42:01 -07:00

6 lines
97 B
Makefile

CFLAGS := -static -ffreestanding -nostartfiles -s
TEST_GEN_PROGS := get_size
include ../lib.mk