forked from Imagelibrary/rtems
Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed in the previous commits.
This commit is contained in:
@@ -36,8 +36,6 @@ CFLAGS_DEBUG_V =
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V = -O4
|
||||
|
||||
CPPFLAGS+=$(BSP_CPPFLAGS)
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# NDEBUG (C library)
|
||||
|
||||
@@ -96,9 +96,10 @@ define make-exe
|
||||
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
|
||||
$(NM) -g -n $(basename $@).obj > $(basename $@).num
|
||||
$(SIZE) $(basename $@).obj
|
||||
$(INSTALL_VARIANT) -m 555 $(basename $@).bt ${PROJECT_RELEASE}/BootImgs
|
||||
@$(mkinstalldirs) ${PROJECT_RELEASE}/BootImgs
|
||||
$(INSTALL_PROGRAM) $(basename $@).bt ${PROJECT_RELEASE}/BootImgs
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext,$(RELOCADDR) \
|
||||
-o $(basename $@).coff $(LINK_OBJS) $(LINK_LIBS)
|
||||
-o $@ $(LINK_OBJS) $(LINK_LIBS)
|
||||
endef
|
||||
define make-cxx-exe
|
||||
$(CXX) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext,$(RELOCADDR) \
|
||||
|
||||
Reference in New Issue
Block a user