#
#
#	  Name: binutils.mk
#		make include file for BINUTILS for La Casita
#
#

#SC_VRM		=	binutils-2.11.93.0.2
#SC_VRM		=	binutils-2.12.90.0.15 ... works
#SC_VRM		=	binutils-2.13.90.0.18
#SC_VRM		=	binutils-2.15.94.0.2
SC_VRM		=	binutils-2.17.50.0.18
#SC_VRM		=	binutils-2.18.50.0.6

#
SC_URL		=	\
       http://ftp.kernel.org/pub/linux/devel/binutils/$(SC_VRM).tar.gz \
       http://ftp.kernel.org/pub/linux/devel/binutils/$(SC_VRM).tar.sign
#SC_URL		=	\
#	  ftp://ftp.kernel.org/pub/linux/devel/binutils/$(SC_VRM).tar.gz
#SC_URL        = ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.13.tar.gz
# 2.13.2 http://freshmeat.net/projects/binutils/
#
#SC_FETCH	=	
#SC_SOURCE	=	
SC_CONFIG	=	./configure --prefix=/usr --disable-nls
#SC_BUILD	=	
SC_FIXUP	=	strip /usr/bin/addr2line \
				/usr/bin/ar /usr/bin/as \
				/usr/bin/c++filt /usr/bin/gprof \
				/usr/bin/ld /usr/bin/nm \
				/usr/bin/objcopy /usr/bin/objdump \
				/usr/bin/ranlib /usr/bin/readelf \
				/usr/bin/size /usr/bin/strings ; \
			cp -p /usr/bin/strip /tmp/. ; \
			/tmp/strip /usr/bin/strip ; \
			rm /tmp/strip
#				/usr/i686-pc-linux-gnu/bin/ar
#				/usr/i686-pc-linux-gnu/bin/as
#				/usr/i686-pc-linux-gnu/bin/ld
#				/usr/i686-pc-linux-gnu/bin/nm
#				/usr/i686-pc-linux-gnu/bin/ranlib
#				/usr/i686-pc-linux-gnu/bin/strip
#SC_INSTALL	=	

#*
#* You will have to download the IBM patches manually.
#* Do NOT forget to do this if you're trying to build for zSeries.
#* Extract the .diff files and place them in the archive directory.
#*

SC_REQ		=	automake, autoconf, libtool, gettext


