boards/Board.mk: Add support to pass dependency paths. boards/arm/cxd56xx/common/Makefile: Add correct dependency paths for board/ and src/ subdirectories.
This commit is contained in:
parent
d596e56c3d
commit
85770966ff
@ -121,12 +121,12 @@ endif
|
|||||||
|
|
||||||
.depend: Makefile $(SRCS) $(CXXSRCS)
|
.depend: Makefile $(SRCS) $(CXXSRCS)
|
||||||
ifneq ($(ZDSVERSION),)
|
ifneq ($(ZDSVERSION),)
|
||||||
$(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
else
|
else
|
||||||
$(Q) $(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
$(Q) $(MKDEP) $(DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
endif
|
endif
|
||||||
ifneq ($(CXXSRCS),)
|
ifneq ($(CXXSRCS),)
|
||||||
$(Q) $(MKDEP) "$(CXX)" -- $(CXXFLAGS) -- $(CXXSRCS) >>Make.dep
|
$(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(CXXSRCS) >>Make.dep
|
||||||
endif
|
endif
|
||||||
$(Q) touch $@
|
$(Q) touch $@
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# boards/arm/cxd56x/spresense/src/Makefile
|
# boards/arm/cxd56x/common/Makefile
|
||||||
#
|
#
|
||||||
# Copyright 2018 Sony Semiconductor Solutions Corporation
|
# Copyright 2019 Sony Semiconductor Solutions Corporation
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@ -37,4 +37,7 @@
|
|||||||
include board$(DELIM)Make.defs
|
include board$(DELIM)Make.defs
|
||||||
include src$(DELIM)Make.defs
|
include src$(DELIM)Make.defs
|
||||||
|
|
||||||
|
DEPPATH += --dep-path board
|
||||||
|
DEPPATH += --dep-path src
|
||||||
|
|
||||||
include $(TOPDIR)/boards/Board.mk
|
include $(TOPDIR)/boards/Board.mk
|
||||||
|
@ -213,6 +213,8 @@ struct socket_conn_s
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
FAR struct devif_callback_s *list;
|
FAR struct devif_callback_s *list;
|
||||||
|
|
||||||
|
/* Connection-specific content may follow */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This is the internal representation of a socket reference by a file
|
/* This is the internal representation of a socket reference by a file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user