mirror of
				https://git.proxmox.com/git/grub2
				synced 2025-11-04 10:59:34 +00:00 
			
		
		
		
	better fix for setjmp module
This commit is contained in:
		
							parent
							
								
									a26187d7c0
								
							
						
					
					
						commit
						07daa815af
					
				@ -904,13 +904,6 @@ else
 | 
			
		||||
  fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Copy */setjmp.S to target_cpu/
 | 
			
		||||
AC_CONFIG_COMMANDS([grub-core/lib/target_cpu],
 | 
			
		||||
  [mkdir -p grub-core/lib/target_cpu])
 | 
			
		||||
AC_CONFIG_COMMANDS([setjmp.S],
 | 
			
		||||
  [cp -rp $srcdir/grub-core/lib/$target_cpu/setjmp.S grub-core/lib/target_cpu/],
 | 
			
		||||
  [target_cpu=$target_cpu srcdir=$srcdir])
 | 
			
		||||
 | 
			
		||||
AC_CONFIG_FILES([Makefile])
 | 
			
		||||
AC_CONFIG_FILES([grub-core/Makefile])
 | 
			
		||||
AC_CONFIG_FILES([po/Makefile])
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										13
									
								
								grub-core/lib/setjmp.S
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								grub-core/lib/setjmp.S
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
#if defined(__i386__)
 | 
			
		||||
#include "./i386/setjmp.S"
 | 
			
		||||
#elif defined(__x86_64__)
 | 
			
		||||
#include "./x86_64/setjmp.S"
 | 
			
		||||
#elif defined(__sparc__)
 | 
			
		||||
#include "./sparc64/setjmp.S"
 | 
			
		||||
#elif defined(__mips__)
 | 
			
		||||
#include "./mips/setjmp.S"
 | 
			
		||||
#elif defined(__powerpc__)
 | 
			
		||||
#include "./powerpc/setjmp.S"
 | 
			
		||||
#else
 | 
			
		||||
#error "Unknwon target cpu type"
 | 
			
		||||
#endif
 | 
			
		||||
@ -1214,7 +1214,7 @@ module = {
 | 
			
		||||
 | 
			
		||||
module = {
 | 
			
		||||
  name = setjmp;
 | 
			
		||||
  nodist = lib/target_cpu/setjmp.S;
 | 
			
		||||
  source = lib/setjmp.S;
 | 
			
		||||
  extra_dist = lib/i386/setjmp.S;
 | 
			
		||||
  extra_dist = lib/mips/setjmp.S;
 | 
			
		||||
  extra_dist = lib/x86_64/setjmp.S;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user