This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f7ecbd5b7 syscall: Fix Makefile:69: target 'syscall_names.o' given 
more than once in the same rule
9f7ecbd5b7 is described below

commit 9f7ecbd5b7c497cf66006172359a1aec55ad3d65
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Apr 4 12:01:19 2022 +0800

    syscall: Fix Makefile:69: target 'syscall_names.o' given more than once in 
the same rule
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 syscall/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syscall/Makefile b/syscall/Makefile
index 7965907a6f..47efbae007 100644
--- a/syscall/Makefile
+++ b/syscall/Makefile
@@ -44,7 +44,7 @@ PROXY_OBJS = $(PROXY_SRCS:.c=$(OBJEXT))
 STUB_OBJS = $(STUB_SRCS:.c=$(OBJEXT))
 WRAP_OBJS = $(WRAP_SRCS:.c=$(OBJEXT))
 
-CSRCS = $(PROXY_SRCS) $(STUB_SRCS) $(WRAP_SRCS)
+CSRCS = $(sort $(PROXY_SRCS) $(STUB_SRCS) $(WRAP_SRCS))
 COBJS = $(CSRCS:.c=$(OBJEXT))
 
 SRCS = $(ASRCS) $(CSRCS)

Reply via email to