You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/08/13 07:02:47 UTC
[GitHub] [nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1691: apps: add default uid for builtin app
xiaoxiang781216 commented on code in PR #1691:
URL: https://github.com/apache/nuttx-apps/pull/1691#discussion_r1292692039
##########
Make.defs:
##########
@@ -82,13 +82,32 @@ BUILTIN_REGISTRY = $(APPDIR)$(DELIM)builtin$(DELIM)registry
DEPCONFIG = $(TOPDIR)$(DELIM).config
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ifeq ($(CONFIG_SCHED_USER_IDENTITY),y)
+define REGISTER
+ $(Q) echo Register: $1
+ $(Q) echo { "$(subst ",,$(1))", $2, $3, $(patsubst ,0,$(subst ",,$(4))), $(patsubst ,0,$(5)), $(patsubst ,0,$(6)), $(patsubst ,0,$(7))}, > "$(BUILTIN_REGISTRY)$(DELIM)$1.bdat"
Review Comment:
```suggestion
$(Q) echo { "$(subst ",,$(1))", $2, $3, $(patsubst ,0,$(subst ",,$(4))), $(patsubst ,0,$(5)), $(patsubst ,0555,$(6)), $(patsubst ,0,$(7))}, > "$(BUILTIN_REGISTRY)$(DELIM)$1.bdat"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org