mirror of
				https://github.com/openwrt/openwrt.git
				synced 2025-10-30 07:49:23 +08:00 
			
		
		
		
	imagebuilder: move handling of DEFAULT_PACKAGES into shareable place
It seems, that handling of DEFAULT_PACKAGES is needed in more places, so lets move it into dedicated include file so it can be easily shared. Signed-off-by: Petr Štetiar <ynezz@true.cz> Link: https://github.com/openwrt/openwrt/pull/16986 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
		 Petr Štetiar
					Petr Štetiar
				
			
				
					committed by
					
						 Robert Marko
						Robert Marko
					
				
			
			
				
	
			
			
			 Robert Marko
						Robert Marko
					
				
			
						parent
						
							ac640718aa
						
					
				
				
					commit
					40be892a02
				
			
							
								
								
									
										5
									
								
								include/default-packages.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								include/default-packages.mk
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| ifneq ($(CONFIG_USE_APK),) | ||||
|   DEFAULT_PACKAGES += apk-mbedtls | ||||
| else | ||||
|   DEFAULT_PACKAGES += opkg | ||||
| endif | ||||
| @ -26,6 +26,7 @@ include $(INCLUDE_DIR)/debug.mk | ||||
| include $(INCLUDE_DIR)/depends.mk | ||||
| include $(INCLUDE_DIR)/rootfs.mk | ||||
|  | ||||
| include $(INCLUDE_DIR)/default-packages.mk | ||||
| include $(INCLUDE_DIR)/version.mk | ||||
| export REVISION | ||||
| export SOURCE_DATE_EPOCH | ||||
|  | ||||
		Reference in New Issue
	
	Block a user