1.1 --- a/stage2/Makefile Wed Jun 10 17:34:49 2015 +0200
1.2 +++ b/stage2/Makefile Wed Jun 10 18:45:28 2015 +0200
1.3 @@ -28,12 +28,11 @@
1.4 # NOTE: one of the -f{freestanding, no-hosted, no-builtin} options should work.
1.5 # NOTE: See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888
1.6
1.7 -ASM_INC = /usr/src/linux-headers-4.0.0-1-common/arch/mips/include
1.8 CFLAGS = -O2 -Wall \
1.9 -fno-unit-at-a-time -fno-zero-initialized-in-bss \
1.10 -ffreestanding -fno-hosted -fno-builtin \
1.11 -march=mips32 -fPIC \
1.12 - -I../include -I$(ASM_INC) -I$(ASM_INC)/asm/mach-generic
1.13 + -I../include
1.14 LDFLAGS = -nostdlib -EL -pie
1.15
1.16 PAYLOAD = stage2.bin