Disable UAS when we switch back to release builds.
This commit is contained in:
		
							parent
							
								
									8b6438f7bd
								
							
						
					
					
						commit
						96efdd9553
					
				
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							@ -100,6 +100,9 @@ debug:
 | 
			
		||||
 | 
			
		||||
	@perl -pi -e 's/CONFIG_NR_CPUS=256/CONFIG_NR_CPUS=512/' config-x86_64-generic
 | 
			
		||||
 | 
			
		||||
	# Try out UAS in rawhide builds.
 | 
			
		||||
	@perl -pi -e 's/# CONFIG_USB_UAS is not set/CONFIG_USB_UAS=m/' config-generic
 | 
			
		||||
 | 
			
		||||
	@perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec
 | 
			
		||||
	@perl -pi -e 's/^%define rawhide_skip_docs 0/%define rawhide_skip_docs 1/' kernel.spec
 | 
			
		||||
	@rpmdev-bumpspec -c "Reenable debugging options." kernel.spec
 | 
			
		||||
 | 
			
		||||
@ -76,3 +76,5 @@ config-release:
 | 
			
		||||
 | 
			
		||||
	# Change defaults back to sane things.
 | 
			
		||||
	@perl -pi -e 's/CONFIG_NR_CPUS=512/CONFIG_NR_CPUS=256/' config-x86_64-generic
 | 
			
		||||
	# Disable UAS for release until it's ready.
 | 
			
		||||
	@perl -pi -e 's/CONFIG_USB_UAS=m/# CONFIG_USB_UAS is not set/' config-generic
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user