forked from Bananymous/banan-os
				
			ports: Add pre_configure to build system
We have post_configure, so why not this :)
This commit is contained in:
		
							parent
							
								
									db571b4859
								
							
						
					
					
						commit
						fa4095ba95
					
				|  | @ -50,11 +50,17 @@ clean() { | ||||||
| 	find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} + | 	find . -mindepth 1 -maxdepth 1 -not -name 'patches' -not -name 'build.sh' -exec rm -rf {} + | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | pre_configure() { | ||||||
|  | 	: | ||||||
|  | } | ||||||
|  | 
 | ||||||
| post_configure() { | post_configure() { | ||||||
| 	: | 	: | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| configure() { | configure() { | ||||||
|  | 	pre_configure | ||||||
|  | 
 | ||||||
| 	configure_options=("--host=$BANAN_ARCH-pc-banan_os" '--prefix=/usr') | 	configure_options=("--host=$BANAN_ARCH-pc-banan_os" '--prefix=/usr') | ||||||
| 	configure_options+=("${CONFIGURE_OPTIONS[@]}") | 	configure_options+=("${CONFIGURE_OPTIONS[@]}") | ||||||
| 	./configure "${configure_options[@]}" || exit 1 | 	./configure "${configure_options[@]}" || exit 1 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue