mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Build lib.a conditionally.
This commit is contained in:
@@ -7,15 +7,15 @@ PGM = ${ARCH}/$(SAMPLE).exe
|
|||||||
|
|
||||||
MANAGERS = io message semaphore
|
MANAGERS = io message semaphore
|
||||||
|
|
||||||
|
if LIBCHIP
|
||||||
noinst_LIBRARIES = lib.a
|
noinst_LIBRARIES = lib.a
|
||||||
lib_a_SOURCES = init.c system.h
|
lib_a_SOURCES = init.c system.h
|
||||||
|
OBJS = $(lib_a_OBJECTS)
|
||||||
|
endif
|
||||||
|
|
||||||
DOCTYPES = doc
|
DOCTYPES = doc
|
||||||
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
DOCS = $(DOCTYPES:%=$(SAMPLE).%)
|
||||||
|
|
||||||
OBJS = $(lib_a_OBJECTS)
|
|
||||||
|
|
||||||
|
|
||||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../automake/compile.am
|
include $(top_srcdir)/../automake/compile.am
|
||||||
include $(top_srcdir)/../automake/leaf.am
|
include $(top_srcdir)/../automake/leaf.am
|
||||||
|
|||||||
Reference in New Issue
Block a user