Initial commit
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			
		
			
				
	
				Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			
		
			
				
	
				Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			
		
			
				
	
				Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			
		
			
				
	
				Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			
		
			
				
	
				Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			This commit is contained in:
		
							
								
								
									
										29
									
								
								tools/sstrip/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								tools/sstrip/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| #  | ||||
| # Copyright (C) 2006-2012 OpenWrt.org | ||||
| # | ||||
| # This is free software, licensed under the GNU General Public License v2. | ||||
| # See /LICENSE for more information. | ||||
| # | ||||
| include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=sstrip | ||||
| PKG_VERSION:=3.2 | ||||
|  | ||||
| HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/ELFkickers-$(PKG_VERSION) | ||||
| PKG_SOURCE_URL:=https://www.muppetlabs.com/~breadbox/pub/software | ||||
| PKG_SOURCE:=ELFkickers-$(PKG_VERSION).tar.gz | ||||
| PKG_HASH:=9b81e6c53e0c94fc198d9882eb737156f36d565152dc32118897c77b06a2687c | ||||
|  | ||||
| PKG_RELEASE:=1 | ||||
|  | ||||
| include $(INCLUDE_DIR)/host-build.mk | ||||
|  | ||||
| define Host/Install | ||||
| 	$(CP) $(HOST_BUILD_DIR)/bin/sstrip $(STAGING_DIR_HOST)/bin/ | ||||
| endef | ||||
|  | ||||
| define Host/Clean | ||||
| 	rm -f $(STAGING_DIR_HOST)/bin/sstrip | ||||
| endef | ||||
|  | ||||
| $(eval $(call HostBuild)) | ||||
							
								
								
									
										28
									
								
								tools/sstrip/patches/001-disable-elftoc-compilation.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tools/sstrip/patches/001-disable-elftoc-compilation.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| From: Rui Salvaterra <rsalvaterra@gmail.com> | ||||
| Subject: sstrip: don't try to compile elftoc | ||||
|  | ||||
| We only need sstrip itself and elftoc doesn't compile with musl's elf.h, so | ||||
| disable the elftoc compilation in the makefile. | ||||
|  | ||||
| Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> | ||||
| --- | ||||
|  | ||||
| --- a/Makefile | ||||
| +++ b/Makefile | ||||
| @@ -2,7 +2,7 @@ | ||||
|   | ||||
|  prefix = /usr/local | ||||
|   | ||||
| -PROGRAMS = elfls objres rebind sstrip elftoc ebfc infect | ||||
| +PROGRAMS = elfls objres rebind sstrip ebfc infect | ||||
|   | ||||
|  all: $(PROGRAMS) | ||||
|   | ||||
| @@ -19,7 +19,6 @@ elfls: bin/elfls doc/elfls.1 | ||||
|  objres: bin/objres doc/objres.1 | ||||
|  rebind: bin/rebind doc/rebind.1 | ||||
|  sstrip: bin/sstrip doc/sstrip.1 | ||||
| -elftoc: bin/elftoc doc/elftoc.1 | ||||
|  ebfc: bin/ebfc doc/ebfc.1 | ||||
|  infect: bin/infect doc/infect.1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 domenico
					domenico