forked from Imagelibrary/rtems
Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* the PACKHEX etc problem * prevents the *.rels being removed inside the build-tree * a typo which only shows for when MP is activated * Alters some custom/*cfg files
This commit is contained in:
@@ -79,10 +79,10 @@ endef
|
||||
else
|
||||
|
||||
define make-exe
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $@ \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -g -n $(basename $@).exe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).exe
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
@@ -72,10 +72,10 @@ endef
|
||||
else
|
||||
define make-exe
|
||||
$(LINK.c) -Wl,-Map,$(basename $@).map \
|
||||
$(LDLIBS) -o $(basename $@).exe \
|
||||
$(LDLIBS) -o $@ \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -n $(basename $@).exe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).exe
|
||||
$(NM) -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
@@ -76,10 +76,10 @@ endef
|
||||
else
|
||||
define make-exe
|
||||
$(LINK.c) -Wl,-Map,$(basename $@).map \
|
||||
$(LDLIBS) -o $(basename $@).exe \
|
||||
$(LDLIBS) -o $@ \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -n $(basename $@).exe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).exe
|
||||
$(NM) -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
@@ -30,9 +30,13 @@ SED=sed
|
||||
# M4=@M4@
|
||||
|
||||
# Global tools
|
||||
ifndef PACKHEX
|
||||
PACKHEX=$(PROJECT_BIN)/packhex
|
||||
endif
|
||||
|
||||
ifndef INSTALL_CHANGE
|
||||
INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change
|
||||
endif
|
||||
INSTALL_VARIANT=$(INSTALL_CHANGE) -V "$(LIB_VARIANT)"
|
||||
|
||||
# FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture
|
||||
@@ -71,4 +75,6 @@ INSTLIBFLAGS = -m 0644
|
||||
INSTDIRFLAGS = -m 0755 -d
|
||||
INSTINCFLAGS = -m 0644
|
||||
|
||||
ifndef INSTALL_DATA
|
||||
INSTALL_DATA = $(INSTALL) $(INSTDATAFLAGS)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user