You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2019/12/31 17:02:16 UTC

[incubator-nuttx-apps] branch master updated: fix builtin_list.c:58:10: fatal error: builtin_proto.h: No such file or directory (#2)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8c8c481  fix builtin_list.c:58:10: fatal error: builtin_proto.h: No such file or directory (#2)
8c8c481 is described below

commit 8c8c48138162921f669127965a4e837ba2b0f535
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Dec 31 11:02:09 2019 -0600

    fix builtin_list.c:58:10: fatal error: builtin_proto.h: No such file or directory (#2)
    
    Make builtin_list.c instead of builtin_list.o depend on builtin_proto.h and builtin_proto.c
---
 builtin/Makefile          | 2 +-
 builtin/registry/Makefile | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/builtin/Makefile b/builtin/Makefile
index 15b99db..7b69ba6 100644
--- a/builtin/Makefile
+++ b/builtin/Makefile
@@ -47,7 +47,7 @@ BDATLIST = $(strip $(call RWILDCARD, registry, *.bdat))
 registry$(DELIM).updated:
 	$(Q) $(MAKE) -C registry .updated TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
 
-builtin_list$(OBJEXT): builtin_list.h builtin_proto.h
+builtin_list.c: builtin_list.h builtin_proto.h
 
 builtin_list.h: registry$(DELIM).updated
 	$(call DELFILE, .xx_builtin_list.h)
diff --git a/builtin/registry/Makefile b/builtin/registry/Makefile
index 255e552..4609158 100644
--- a/builtin/registry/Makefile
+++ b/builtin/registry/Makefile
@@ -41,16 +41,11 @@ include $(APPDIR)/Make.defs
 all:
 .PHONY: context depend clean distclean
 
-.updated: $(DEPCONFIG)
-	$(call DELFILE, *.bdat)
-	$(call DELFILE, *.pdat)
-	$(Q) touch .updated
-
 # This must run before any other context target
 
 install:
 
-context: .updated
+context:
 
 depend: