Changeset f5b2522 in mainline for uspace/app/binutils/Makefile
- Timestamp:
- 2011-07-07T03:34:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8cd8bf6
- Parents:
- 10fdd0e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/binutils/Makefile
r10fdd0e rf5b2522 30 30 space = $(nullstring) # space 31 31 32 # When redefined to 'y' on the command line, certain areas of this Makefile 33 # behave slightly differently to simplify the maintenance of binutils port. 34 MAINTAIN_BINUTILS=n 35 32 36 # Information for obtaining specific binutils redistributable package. 33 37 # Might be subject to change in the future. … … 42 46 # File to detect the presence of binutils source tree. 43 47 REDIST_DETECT = $(REDIST_DIR)/configure 48 49 # Directory for resulting binutils binaries. 50 BIN_DIR = ./bin 44 51 45 52 # $USPACE_PREFIX have to be based on the absolute path, … … 146 153 $(CONFOBJ_OBJECT) $(BINUTILS_CONFIGURED) $(REDIST_DETECT) 147 154 make -C $(REDIST_DIR) $(MAKE_TARGETS) 148 cp -f $(REDIST_DIR)/gas/as-new ./as149 cp -f $(REDIST_DIR)/ld/ld-new ./ld155 cp -f $(REDIST_DIR)/gas/as-new $(BIN_DIR)/as 156 cp -f $(REDIST_DIR)/ld/ld-new $(BIN_DIR)/ld 150 157 else 151 158 all: … … 206 213 # Clean binutils. 207 214 # Unpatch binutils. 215 # Delete everything in redist folder. 208 216 # Delete generated scripts. 209 217 clean: $(BINUTILS_PATCH) clean_ 210 rm -f asld218 rm -f $(BIN_DIR)/as $(BIN_DIR)/ld 211 219 rm -f $(CONFOBJ_SOURCE) $(CONFOBJ_OBJECT) 220 ifeq ($(MAINTAIN_BINUTILS),y) 212 221 if [ -e $(REDIST_DIR)/Makefile ]; then \ 213 222 make -C $(REDIST_DIR) distclean; \ … … 217 226 rm -f $(BINUTILS_PATCHED); \ 218 227 fi 228 else 229 rm -r -f redist/* 230 rm -f $(BINUTILS_PATCHED) 231 endif 219 232 rm -f $(TOOLCHAIN) 220 233 rm -f $(COMMON_MAKEFILE_PATCHED)
Note:
See TracChangeset
for help on using the changeset viewer.