diff options
Diffstat (limited to 'c/src/exec/wrapup/rtems/Makefile.in')
-rw-r--r-- | c/src/exec/wrapup/rtems/Makefile.in | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/c/src/exec/wrapup/rtems/Makefile.in b/c/src/exec/wrapup/rtems/Makefile.in index 290168f363..502bb85ced 100644 --- a/c/src/exec/wrapup/rtems/Makefile.in +++ b/c/src/exec/wrapup/rtems/Makefile.in @@ -5,38 +5,40 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../.. -subdir = c/src/exec/wrapup/rtems +top_builddir = ../.. +subdir = wrapup/rtems -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -CPU_OBJS=$(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel) -CORE_OBJS=$(wildcard ../../score/src/$(ARCH)/*.o) -SAPI_OBJS=$(wildcard ../../sapi/src/$(ARCH)/*.o) -RTEMS_OBJS=$(wildcard ../../rtems/src/$(ARCH)/*.o) +CPU_OBJS = $(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel) +CORE_OBJS = $(wildcard ../../score/src/$(ARCH)/*.o) +SAPI_OBJS = $(wildcard ../../sapi/src/$(ARCH)/*.o) +RTEMS_OBJS = $(wildcard ../../rtems/src/$(ARCH)/*.o) -OBJS=$(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) -LIB=$(ARCH)/librtems.a +OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) +LIB = $(ARCH)/librtems.a -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/lib.cfg +INSTALL_CHANGE = @INSTALL_CHANGE@ + +SIZE_RTEMS = $(SHELL) $(PROJECT_ROOT)/tools/cpu/generic/size_rtems + # # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -51,12 +53,12 @@ CLOBBER_ADDITIONS += $(LIB): ${OBJS} $(make-library) # cd $(PROJECT_ROOT) ; \ - $(SHELL) $(PROJECT_ROOT)/c/src/exec/score/tools/generic/size_rtems ${RTEMS_BSP} $(ARCH) \ + $(SIZE_RTEMS) @RTEMS_BSP@ $(ARCH) \ >$(PROJECT_RELEASE)/lib/sizeinfo$(LIB_VARIANT).txt -all: ${ARCH} $(SRCS) $(LIB) - $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib +all: ${ARCH} $(SRCS) $(LIB) + $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |