# HG changeset patch # User Paul Boddie # Date 1433954728 -7200 # Node ID cc542abb4f6e95cedaab8921f66b519241fe97ce # Parent 7691d29a3bf1e4644f872bd4c5eebad2657e1010 Removed redundant include flags. diff -r 7691d29a3bf1 -r cc542abb4f6e stage1/Makefile --- a/stage1/Makefile Wed Jun 10 17:34:49 2015 +0200 +++ b/stage1/Makefile Wed Jun 10 18:45:28 2015 +0200 @@ -27,12 +27,11 @@ # NOTE: one of the -f{freestanding, no-hosted, no-builtin} options should work. # NOTE: See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888 -ASM_INC = /usr/src/linux-headers-4.0.0-1-common/arch/mips/include CFLAGS = -O2 -Wall \ -fno-unit-at-a-time -fno-zero-initialized-in-bss \ -ffreestanding -fno-hosted -fno-builtin \ -march=mips32 \ - -I../include -I$(ASM_INC) -I$(ASM_INC)/asm/mach-generic + -I../include LDFLAGS = -nostdlib -EL PAYLOAD = stage1.bin diff -r 7691d29a3bf1 -r cc542abb4f6e stage2/Makefile --- a/stage2/Makefile Wed Jun 10 17:34:49 2015 +0200 +++ b/stage2/Makefile Wed Jun 10 18:45:28 2015 +0200 @@ -28,12 +28,11 @@ # NOTE: one of the -f{freestanding, no-hosted, no-builtin} options should work. # NOTE: See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888 -ASM_INC = /usr/src/linux-headers-4.0.0-1-common/arch/mips/include CFLAGS = -O2 -Wall \ -fno-unit-at-a-time -fno-zero-initialized-in-bss \ -ffreestanding -fno-hosted -fno-builtin \ -march=mips32 -fPIC \ - -I../include -I$(ASM_INC) -I$(ASM_INC)/asm/mach-generic + -I../include LDFLAGS = -nostdlib -EL -pie PAYLOAD = stage2.bin