forked from Imagelibrary/rtems
Now builds and installs properly.
This commit is contained in:
@@ -13,7 +13,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
|||||||
|
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
PGM = ${ARCH}/start.rel
|
PGM = ${ARCH}/start.o
|
||||||
|
|
||||||
# C source names, if any, go here -- minus the .c
|
# C source names, if any, go here -- minus the .c
|
||||||
C_PIECES =
|
C_PIECES =
|
||||||
@@ -27,8 +27,8 @@ S_PIECES = start
|
|||||||
S_FILES = $(S_PIECES:%=%.S)
|
S_FILES = $(S_PIECES:%=%.S)
|
||||||
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
|
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
|
||||||
|
|
||||||
SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
|
SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
|
||||||
OBJS = $(C_O_FILES) $(S_O_FILES)
|
OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||||
@@ -57,13 +57,8 @@ LDFLAGS +=
|
|||||||
CLEAN_ADDITIONS +=
|
CLEAN_ADDITIONS +=
|
||||||
CLOBBER_ADDITIONS +=
|
CLOBBER_ADDITIONS +=
|
||||||
|
|
||||||
$(PGM): ${OBJS}
|
all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
|
||||||
$(make-rel)
|
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
install: all
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
|
|||||||
Reference in New Issue
Block a user