You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							42 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							42 lines
						
					
					
						
							1.2 KiB
						
					
					
				
								################################################################################
							 | 
						|
								#
							 | 
						|
								# binutils
							 | 
						|
								#
							 | 
						|
								################################################################################
							 | 
						|
								
							 | 
						|
								BINUTILS_VERSION = 2.38
							 | 
						|
								BINUTILS_DIR = binutils-$(BINUTILS_VERSION)
							 | 
						|
								BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2
							 | 
						|
								BINUTILS_SITE = $(GNU_MIRROR)/binutils
							 | 
						|
								
							 | 
						|
								BINUTILS_CONF_OPTS = \
							 | 
						|
									--bindir=$(bindir).$(@F) \
							 | 
						|
									--datarootdir=$(REMOVE_datarootdir) \
							 | 
						|
									--libdir=$(REMOVE_libdir) \
							 | 
						|
									--includedir=$(REMOVE_includedir) \
							 | 
						|
									--disable-multilib \
							 | 
						|
									--disable-werror \
							 | 
						|
									--disable-plugins \
							 | 
						|
									--enable-build-warnings=no \
							 | 
						|
									--disable-sim \
							 | 
						|
									--disable-gdb 
							 | 
						|
								
							 | 
						|
								BINUTILS_BINARIES = objdump objcopy
							 | 
						|
								
							 | 
						|
								define BINUTILS_INSTALL_BINARIES
							 | 
						|
									$(foreach binary,$($(PKG)_BINARIES),\
							 | 
						|
										rm -f $(TARGET_bindir)/$(binary); \
							 | 
						|
										$(INSTALL_EXEC) -D $(TARGET_bindir).$(@F)/$(binary) $(TARGET_bindir)/$(binary); \
							 | 
						|
										rm -f $(TARGET_bindir).$(@F)/$(binary)$(sep) \
							 | 
						|
									)
							 | 
						|
									$(TARGET_RM) $(TARGET_bindir).$(@F)
							 | 
						|
								endef
							 | 
						|
								BINUTILS_TARGET_FINALIZE_HOOKS += BINUTILS_INSTALL_BINARIES
							 | 
						|
								
							 | 
						|
								define BINUTILS_TARGET_CLEANUP
							 | 
						|
									$(TARGET_RM) $(TARGET_prefix)/$(TARGET)
							 | 
						|
								endef
							 | 
						|
								BINUTILS_TARGET_FINALIZE_HOOKS += BINUTILS_TARGET_CLEANUP
							 | 
						|
								
							 | 
						|
								binutils: | $(TARGET_DIR)
							 | 
						|
									$(call autotools-package)
							 | 
						|
								
							 |