mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	ar71xx: image: improve the rootfs_align macro
Improve the macro to return correct value for all squashfs variant. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38116
This commit is contained in:
		
							parent
							
								
									b77d4d8d19
								
							
						
					
					
						commit
						48a3a30fec
					
				@ -14,7 +14,7 @@ $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squ
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define rootfs_align
 | 
			
		||||
$(patsubst %-256k,0x40000,$(patsubst %-128k,0x20000,$(patsubst %-64k,0x10000,$(patsubst squashfs-%,0x4,$(1)))))
 | 
			
		||||
$(patsubst %-256k,0x40000,$(patsubst %-128k,0x20000,$(patsubst %-64k,0x10000,$(patsubst squashfs%,0x4,$(patsubst root.%,%,$(1))))))
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define sysupname
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user