Was delete link then delete link in directory referenced by link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@153 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
aa56898b82
commit
18149c3b98
3
Makefile
3
Makefile
@ -39,6 +39,7 @@ TOPDIR = ${shell pwd}
|
|||||||
|
|
||||||
ARCH_DIR = arch/$(CONFIG_ARCH)
|
ARCH_DIR = arch/$(CONFIG_ARCH)
|
||||||
ARCH_SRC = $(ARCH_DIR)/src
|
ARCH_SRC = $(ARCH_DIR)/src
|
||||||
|
ARCH_INC = $(ARCH_DIR)/include
|
||||||
BOARD_DIR = configs/$(CONFIG_BOARD)
|
BOARD_DIR = configs/$(CONFIG_BOARD)
|
||||||
|
|
||||||
SUBDIRS = sched lib $(ARCH_SRC) mm fs drivers examples/$(CONFIG_EXAMPLE)
|
SUBDIRS = sched lib $(ARCH_SRC) mm fs drivers examples/$(CONFIG_EXAMPLE)
|
||||||
@ -94,7 +95,7 @@ $(ARCH_SRC)/board: Make.defs
|
|||||||
context: check_context include/nuttx/config.h include/arch include/arch/board $(ARCH_SRC)/board
|
context: check_context include/nuttx/config.h include/arch include/arch/board $(ARCH_SRC)/board
|
||||||
|
|
||||||
clean_context:
|
clean_context:
|
||||||
rm -f include/nuttx/config.h include/arch include/arch/board $(ARCH_SRC)/board
|
rm -f include/nuttx/config.h include/arch $(ARCH_INC)/board $(ARCH_SRC)/board
|
||||||
|
|
||||||
check_context:
|
check_context:
|
||||||
@if [ ! -e ${TOPDIR}/.config -o ! -e ${TOPDIR}/Make.defs ]; then \
|
@if [ ! -e ${TOPDIR}/.config -o ! -e ${TOPDIR}/Make.defs ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user