mirror of
				https://gitlab.com/qemu-project/openbios.git
				synced 2024-02-13 08:34:06 +08:00 
			
		
		
		
	bootstrap: don't include files from target/include as system includes
Replace "-I" by "-iquote" to only take files from this directory
when '#include "..."' is used ('#include <...>' works as usual).
We need this because on powerpc64 asm/sigcontext.h includes <asm/elf.h> and
tries to include target/include/asm/elf.h instead of /usr/include/asm/elf.h.
We also remove from include/arch/ppc/types/h some useless and conflicting
type definitions.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@1358 f158a5a8-5612-0410-a976-696ce0be7e32
			
			
This commit is contained in:
		 Laurent Vivier
					Laurent Vivier
				
			
				
					committed by
					
						 Mark Cave-Ayland
						Mark Cave-Ayland
					
				
			
			
				
	
			
			
			 Mark Cave-Ayland
						Mark Cave-Ayland
					
				
			
						parent
						
							3f59bf22d0
						
					
				
				
					commit
					d3a1c4adca
				
			| @ -15,7 +15,7 @@ HOSTCFLAGS+= -Wstrict-aliasing -Wwrite-strings -Wmissing-prototypes -Wnested-ext | ||||
| HOSTCFLAGS+= -W | ||||
| # Flags for dependency generation | ||||
| HOSTCFLAGS+= -MMD -MP -MT $@ -MF '$(*D)/$(*F).d' | ||||
| HOSTINCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel -I$(SRCDIR)/kernel/include -I$(ODIR)/target/include | ||||
| HOSTINCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel -I$(SRCDIR)/kernel/include -iquote $(ODIR)/target/include | ||||
|  | ||||
| CC     := $(TARGET)gcc | ||||
| AS     := $(TARGET)as | ||||
|  | ||||
| @ -84,21 +84,13 @@ typedef uint32_t        prom_uarg_t; | ||||
| /* size named types */ | ||||
|  | ||||
| typedef unsigned char   u8; | ||||
| typedef unsigned char   __u8; | ||||
| typedef unsigned short u16; | ||||
| typedef unsigned short __u16; | ||||
| typedef unsigned int   u32; | ||||
| typedef unsigned int   __u32; | ||||
| typedef unsigned long long u64; | ||||
| typedef unsigned long long __u64; | ||||
|  | ||||
| typedef signed char	s8; | ||||
| typedef signed char	__s8; | ||||
| typedef short		s16; | ||||
| typedef short		__s16; | ||||
| typedef int		s32; | ||||
| typedef int		__s32; | ||||
| typedef long long	s64; | ||||
| typedef long long	__s64; | ||||
|  | ||||
| #endif | ||||
|  | ||||
		Reference in New Issue
	
	Block a user