mirror of
				https://github.com/Tasssadar/libbootimg.git
				synced 2025-11-04 05:45:46 +08:00 
			
		
		
		
	mk: Add support to build a host executable.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
		
				
					committed by
					
						
						Vojtech Bocek
					
				
			
			
				
	
			
			
			
						parent
						
							aeba6bf57b
						
					
				
				
					commit
					f3d88ccd6c
				
			
							
								
								
									
										13
									
								
								Android.mk
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Android.mk
									
									
									
									
									
								
							@@ -1,8 +1,11 @@
 | 
			
		||||
# bbootimg
 | 
			
		||||
LOCAL_PATH:= $(call my-dir)
 | 
			
		||||
 | 
			
		||||
bbootimg_src_file := src/bbootimg.c src/libbootimg.c
 | 
			
		||||
 | 
			
		||||
include $(CLEAR_VARS)
 | 
			
		||||
 | 
			
		||||
LOCAL_SRC_FILES:= src/bbootimg.c src/libbootimg.c
 | 
			
		||||
LOCAL_SRC_FILES:= $(bbootimg_src_file)
 | 
			
		||||
LOCAL_MODULE:= bbootimg
 | 
			
		||||
LOCAL_MODULE_TAGS := eng
 | 
			
		||||
 | 
			
		||||
@@ -14,6 +17,14 @@ LOCAL_STATIC_LIBRARIES := libc
 | 
			
		||||
 | 
			
		||||
include $(BUILD_EXECUTABLE)
 | 
			
		||||
 | 
			
		||||
include $(CLEAR_VARS)
 | 
			
		||||
 | 
			
		||||
LOCAL_SRC_FILES:= $(bbootimg_src_file)
 | 
			
		||||
LOCAL_MODULE := bbootimge_host
 | 
			
		||||
LOCAL_MODULE_STEM := bbootimg
 | 
			
		||||
LOCAL_MODULE_TAGS := optional
 | 
			
		||||
 | 
			
		||||
include $(BUILD_HOST_EXECUTABLE)
 | 
			
		||||
 | 
			
		||||
# bbootimg - dynamic binary for TWRP
 | 
			
		||||
include $(CLEAR_VARS)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user