xiaoxiang781216 commented on a change in pull request #380: arm: Fix "make 
export" for KERNEL build
URL: https://github.com/apache/incubator-nuttx/pull/380#discussion_r385610442
 
 

 ##########
 File path: arch/arm/src/Makefile
 ##########
 @@ -80,6 +80,10 @@ endif
 # The "head" object
 
 HEAD_OBJ = $(HEAD_ASRC:.S=$(OBJEXT))
+ifneq ($(STARTUP_OBJS),)
+  # Assume C by default
+  STARTUP_COBJS ?= $(STARTUP_OBJS)
+endif
 STARTUP_OBJS ?= $(HEAD_OBJ)
 
 Review comment:
   > well, for non-KERNEL builds, "linking apps" involves the whole kernel, 
doesn't it?
   
   Yes, if apps is built into kernel. But if we build apps as elf binary, it is 
separated from kernel totally.
   
   > anyway, it's entirely possible i don't understand "make export" is. i 
haven't successfully used it. i tried it just because it was in the procedure 
in sema5 README.
   
   I also don't use export before, from my understanding: export is used for 
3rd party develop application without full nuttx source code(something like 
Android NDK).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to