dpu-utilities/0004-add-uds-test-mode-in-engine-compile.patch
Weifeng Su fe851cd555 Sync patches from source
The change in patches:
1. Fix cache issue when recreate file
2. Introduce CMAKE to build userspace apps
3. CleanCode

Signed-off-by: Weifeng Su <suweifeng1@huawei.com>
2023-06-12 08:24:22 +00:00

25 lines
751 B
Diff

From 5185a08ec742ee044c4efa7fa5e1ae9fb454f80f Mon Sep 17 00:00:00 2001
From: liqiang <liqiang64@huawei.com>
Date: Mon, 5 Jun 2023 20:53:39 +0800
Subject: add uds test mode in engine compile
Signed-off-by: liqiang <liqiang64@huawei.com>
---
qtfs/qtfs_server/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/qtfs/qtfs_server/Makefile b/qtfs/qtfs_server/Makefile
index 0a8ed39..d00ce66 100644
--- a/qtfs/qtfs_server/Makefile
+++ b/qtfs/qtfs_server/Makefile
@@ -1,5 +1,6 @@
ifdef QTFS_TEST_MODE
ccflags-y += -I$(src)/../ -I$(src) -I$(src)/../ipc/ -I$(src)/../include/ -DQTFS_SERVER -DQTFS_TEST_MODE
+CFLAGS += -DUDS_TEST_MODE
else
ccflags-y += -I$(src)/../ -I$(src) -I$(src)/../ipc/ -I$(src)/../include/ -DQTFS_SERVER
endif
--
2.33.0