build: add image command for CE images
Combined Extended Images V1 can be created easily via the new image
commands using
    IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-rootfs | combined-ext-image
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
			
			
This commit is contained in:
		 Sven Eckelmann
					Sven Eckelmann
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							1a384ac0b5
						
					
				
				
					commit
					a28bf67c26
				
			| @@ -229,6 +229,19 @@ define Build/combined-image | |||||||
| 	@mv $@.new $@ | 	@mv $@.new $@ | ||||||
| endef | endef | ||||||
|  |  | ||||||
|  | define Build/openmesh-image | ||||||
|  | 	$(TOPDIR)/scripts/om-fwupgradecfg-gen.sh \ | ||||||
|  | 		"$(call param_get_default,ce_type,$(1),$(DEVICE_NAME))" \ | ||||||
|  | 		"$@-fwupgrade.cfg" \ | ||||||
|  | 		"$(call param_get_default,kernel,$(1),$(IMAGE_KERNEL))" \ | ||||||
|  | 		"$(call param_get_default,rootfs,$(1),$@)" | ||||||
|  | 	$(TOPDIR)/scripts/combined-ext-image.sh \ | ||||||
|  | 		"$(call param_get_default,ce_type,$(1),$(DEVICE_NAME))" "$@" \ | ||||||
|  | 		"$@-fwupgrade.cfg" "fwupgrade.cfg" \ | ||||||
|  | 		"$(call param_get_default,kernel,$(1),$(IMAGE_KERNEL))" "kernel" \ | ||||||
|  | 		"$(call param_get_default,rootfs,$(1),$@)" "rootfs" | ||||||
|  | endef | ||||||
|  |  | ||||||
| define Build/sysupgrade-tar | define Build/sysupgrade-tar | ||||||
| 	sh $(TOPDIR)/scripts/sysupgrade-tar.sh \ | 	sh $(TOPDIR)/scripts/sysupgrade-tar.sh \ | ||||||
| 		--board $(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)) \ | 		--board $(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)) \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user