Cosmetics, coding style fixes (trivial).
[coreboot.git] / payloads / libpayload / sample / Makefile
index a2599fbc3257d2e6d05e7edeaf2481f5add019b9..9ab3249e1254a3f2d4c4618b8da761e38f4cc170 100644 (file)
 
 # Sample libpayload Makefile.
 
-CC=gcc
+CC = gcc
 CROSS_CFLAGS = -m32
 
-INCLUDES=-I../include
+INCLUDES = -I../include
 INCLUDES += -I$(shell $(CC) $(CROSS_CFLAGS) -print-search-dirs | head -n 1 | cut -d' ' -f2)include
 
-LIBPAYLOAD=../libpayload.a
-LIBGCC:=$(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name)
-CFLAGS := -Werror -fno-stack-protector -nostdinc $(INCLUDES)
+LIBPAYLOAD = ../libpayload.a
+LIBGCC := $(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name)
+CFLAGS := -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES)
 
 all: hello.elf