You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2022/04/04 06:44:56 UTC

[incubator-nuttx] branch master updated: syscall: Fix Makefile:69: target 'syscall_names.o' given more than once in the same rule

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 <xi...@xiaomi.com>
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 <xi...@xiaomi.com>
---
 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)