mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:03:34 +08:00
Various changes while debugging posix_spawn
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5510 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -64,8 +64,8 @@ ROOTDEPPATH = --dep-path . --dep-path filesystem
|
||||
|
||||
VPATH = filesystem
|
||||
|
||||
all: .built
|
||||
.PHONY: really_build clean_filesystem clean depend distclean
|
||||
all: build
|
||||
.PHONY: build clean_filesystem clean depend distclean
|
||||
|
||||
$(AOBJS): %$(OBJEXT): %.S
|
||||
$(call ASSEMBLE, $<, $@)
|
||||
@@ -74,17 +74,16 @@ $(COBJS): %$(OBJEXT): %.c
|
||||
$(call COMPILE, $<, $@)
|
||||
|
||||
# This is a little messy. The build is broken into two pieces: (1) the
|
||||
# filesystem/ subdir build that auto-generates several files, and (2) the real
|
||||
# filesystem/ subdir build that auto-generates several files, and (2) the library
|
||||
# build. This is done because we need a fresh build context after auto-
|
||||
# generating the source files.
|
||||
|
||||
really_build: $(OBJS)
|
||||
build_lib: $(OBJS)
|
||||
$(call ARCHIVE, $(BIN), $(OBJS))
|
||||
@touch .built
|
||||
|
||||
.built:
|
||||
build:
|
||||
@$(MAKE) -C filesystem TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
|
||||
@$(MAKE) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" really_build
|
||||
@$(MAKE) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" build_lib
|
||||
|
||||
context:
|
||||
|
||||
@@ -100,11 +99,13 @@ clean_filesystem:
|
||||
@$(MAKE) -C filesystem TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) clean
|
||||
|
||||
clean: clean_filesystem
|
||||
$(call DELFILE, .built)
|
||||
$(call CLEAN)
|
||||
|
||||
distclean: clean
|
||||
$(call DELFILE, Make.dep)
|
||||
$(call DELFILE, .depend)
|
||||
|
||||
# There are no dependencies in this directory. We should are code some of
|
||||
# more important dependencies here:
|
||||
|
||||
-include Make.dep
|
||||
|
||||
Reference in New Issue
Block a user