tests: rename makefile directory to makefiles. (#8646)

Signed-off-by: Shanmin Zhang <zhangshanmin@xiaomi.com>
This commit is contained in:
zhangshanmin
2025-08-12 02:32:06 +08:00
committed by GitHub
parent b6061140b8
commit 2f682adfb8
9 changed files with 2 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
test_file
+10
View File
@@ -0,0 +1,10 @@
LVGL_PATH := $(CURDIR)/../..
$(info LVGL_PATH is set to: $(LVGL_PATH))
include ../../lvgl.mk
CSRCS += test.c
CFLAGS += -Werror -DLV_CONF_SKIP=1 -DLV_BUILD_TEST=1 -I$(LVGL_PATH)/..
COBJS := $(patsubst %.c, %.o, $(CSRCS))
test_file: $(COBJS)
$(CC) -o $@ $^
+10
View File
@@ -0,0 +1,10 @@
#if LV_BUILD_TEST
#include <stdio.h>
#include "../../lvgl.h"
int main(void)
{
lv_init();
return 0;
}
#endif