tools: add cbootimage for tegra
Tegra BCT and bootable flash image generator/compiler >From documentation: This project provides a tool which compiles BCT (Boot Configuration Table) images to place into the boot flash of a Tegra-based device. The tool will either: a) Compile a textual representation of a BCT into a binary image. b) Generate an entire boot image from a previously compiled BCT and a bootloader binary. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
This commit is contained in:
		 Tomasz Maciej Nowak
					Tomasz Maciej Nowak
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							42f96ed941
						
					
				
				
					commit
					8595bb0b17
				
			| @@ -38,6 +38,7 @@ tools-$(BUILD_B43_TOOLS) += b43-tools | |||||||
| tools-$(BUILD_ISL) += isl | tools-$(BUILD_ISL) += isl | ||||||
| tools-$(CONFIG_USE_SPARSE) += sparse | tools-$(CONFIG_USE_SPARSE) += sparse | ||||||
| tools-$(CONFIG_TARGET_apm821xx)$(CONFIG_TARGET_gemini) += genext2fs | tools-$(CONFIG_TARGET_apm821xx)$(CONFIG_TARGET_gemini) += genext2fs | ||||||
|  | tools-$(CONFIG_TARGET_tegra) += cbootimage | ||||||
|  |  | ||||||
| # builddir dependencies | # builddir dependencies | ||||||
| $(curdir)/bison/compile := $(curdir)/flex/compile | $(curdir)/bison/compile := $(curdir)/flex/compile | ||||||
| @@ -76,6 +77,7 @@ $(curdir)/zlib/compile := $(curdir)/cmake/compile | |||||||
| $(curdir)/wrt350nv2-builder/compile := $(curdir)/zlib/compile | $(curdir)/wrt350nv2-builder/compile := $(curdir)/zlib/compile | ||||||
| $(curdir)/lzma-old/compile := $(curdir)/zlib/compile | $(curdir)/lzma-old/compile := $(curdir)/zlib/compile | ||||||
| $(curdir)/make-ext4fs/compile := $(curdir)/zlib/compile | $(curdir)/make-ext4fs/compile := $(curdir)/zlib/compile | ||||||
|  | $(curdir)/cbootimage/compile += $(curdir)/autoconf/compile | ||||||
|  |  | ||||||
| ifneq ($(HOST_OS),Linux) | ifneq ($(HOST_OS),Linux) | ||||||
|   $(curdir)/squashfskit4/compile += $(curdir)/coreutils/compile |   $(curdir)/squashfskit4/compile += $(curdir)/coreutils/compile | ||||||
|   | |||||||
							
								
								
									
										31
									
								
								tools/cbootimage/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								tools/cbootimage/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | |||||||
|  | # | ||||||
|  | # Copyright (c) 2017-2019 Tomasz Maciej Nowak <tomek_n@o2.pl> | ||||||
|  | # | ||||||
|  | # This is free software, licensed under the GNU General Public License v2. | ||||||
|  | # See /LICENSE for more information. | ||||||
|  | # | ||||||
|  | include $(TOPDIR)/rules.mk | ||||||
|  |  | ||||||
|  | PKG_NAME := cbootimage | ||||||
|  | PKG_VERSION := 1.8 | ||||||
|  |  | ||||||
|  | PKG_SOURCE_PROTO := git | ||||||
|  | PKG_SOURCE_URL := https://github.com/NVIDIA/cbootimage.git | ||||||
|  | PKG_SOURCE_VERSION := 7c9db585d06cce9efffa2a82245f233233680060 | ||||||
|  | PKG_MIRROR_HASH := 84d9abaaa3eddde05f506dc16effe1c9e18eb94727ed59c5e0a879baeb04e0b2 | ||||||
|  |  | ||||||
|  | HOST_BUILD_PARALLEL := 1 | ||||||
|  |  | ||||||
|  | include $(INCLUDE_DIR)/host-build.mk | ||||||
|  |  | ||||||
|  | define Host/Configure | ||||||
|  | 	(cd $(HOST_BUILD_DIR); autoreconf --install --symlink) | ||||||
|  | 	$(call Host/Configure/Default) | ||||||
|  | endef | ||||||
|  |  | ||||||
|  | define Host/Clean | ||||||
|  | 	rm -f $(STAGING_DIR_HOST)/bin/$(PKG_NAME) \ | ||||||
|  | 		$(STAGING_DIR_HOST)/share/man/man1/$(PKG_NAME).1 | ||||||
|  | endef | ||||||
|  |  | ||||||
|  | $(eval $(call HostBuild)) | ||||||
		Reference in New Issue
	
	Block a user