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:
		
							
								
								
									
										39
									
								
								package/network/utils/layerscape/restool/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								package/network/utils/layerscape/restool/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| # | ||||
| # Copyright 2017 NXP | ||||
| # | ||||
| # This is free software, licensed under the GNU General Public License v2. | ||||
| # See /LICENSE for more information. | ||||
| # | ||||
|  | ||||
| include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=restool | ||||
| PKG_VERSION:=21.08 | ||||
| PKG_RELEASE:=4 | ||||
|  | ||||
| PKG_SOURCE_PROTO:=git | ||||
| PKG_SOURCE_URL:=https://github.com/nxp-qoriq/restool | ||||
| PKG_SOURCE_VERSION:=LSDK-21.08 | ||||
| PKG_MIRROR_HASH:=3c289e6c9adc2c61445473ecd8b1b1a7b6dfd19a66d3c65f3b83b669e4c3e25b | ||||
|  | ||||
| PKG_FLAGS:=nonshared | ||||
|  | ||||
| include $(INCLUDE_DIR)/package.mk | ||||
|  | ||||
| define Package/restool | ||||
|   SECTION:=net | ||||
|   CATEGORY:=Network | ||||
|   TITLE:=Layerscape DPAA2 dynamical management tool | ||||
|   DEPENDS:=@TARGET_layerscape_armv8_64b | ||||
| endef | ||||
|  | ||||
| MAKE_FLAGS += \ | ||||
| 	DESTDIR="$(PKG_BUILD_DIR)"/output/ \ | ||||
| 	install | ||||
|  | ||||
| define Package/restool/install | ||||
| 	$(INSTALL_DIR) $(1)/usr/bin/ | ||||
| 	$(CP) $(PKG_BUILD_DIR)/output/usr/local/bin/* $(1)/usr/bin/ | ||||
| endef | ||||
|  | ||||
| $(eval $(call BuildPackage,restool)) | ||||
| @@ -0,0 +1,18 @@ | ||||
| --- a/Makefile | ||||
| +++ b/Makefile | ||||
| @@ -53,14 +53,13 @@ restool: $(OBJ) | ||||
|  %.1: %.md | ||||
|  	pandoc --standalone --to man $^ -o $@ | ||||
|   | ||||
| -install: restool scripts/ls-main scripts/ls-append-dpl scripts/ls-debug scripts/restool_completion.sh $(MANPAGE) | ||||
| +install: restool scripts/ls-main scripts/ls-append-dpl scripts/ls-debug scripts/restool_completion.sh | ||||
|  	install -D -m 755 restool $(DESTDIR)$(bindir)/restool | ||||
|  	install -D -m 755 scripts/ls-main $(DESTDIR)$(bindir)/ls-main | ||||
|  	install -D -m 755 scripts/ls-append-dpl $(DESTDIR)$(bindir)/ls-append-dpl | ||||
|  	install -D -m 755 scripts/ls-debug $(DESTDIR)$(bindir)/ls-debug | ||||
|  	$(foreach symlink, $(RESTOOL_SCRIPT_SYMLINKS), sh -c "cd $(DESTDIR)$(bindir) && ln -sf ls-main $(symlink)" ;) | ||||
|  	install -D -m 755 scripts/restool_completion.sh $(DESTDIR)$(bindir_completion)/restool | ||||
| -	install -m 0644 -D $(MANPAGE) $(call get_manpage_destination,$(MANPAGE)) | ||||
|   | ||||
|  clean: | ||||
|  	rm -f $(OBJ) $(MANPAGE) \ | ||||
		Reference in New Issue
	
	Block a user
	 domenico
					domenico