bayou compile fixes

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5468 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-04-20 23:04:46 +00:00
committed by Stefan Reinauer
parent bda29314c2
commit 7b769126d0
6 changed files with 2683 additions and 25 deletions

View File

@@ -17,15 +17,16 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
CC = gcc
HOSTCC = gcc
AR?=ar
LAROBJS = self.o lib.o
CFLAGS = -g -Wall
liblar.a: $(LAROBJS)
ar rc $@ $(LAROBJS)
$(AR) rc $@ $(LAROBJS)
%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<
$(HOSTCC) -c $(CFLAGS) -o $@ $<
clean:
rm -f liblar.a *.o

File diff suppressed because it is too large Load Diff

View File

@@ -23,7 +23,7 @@
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <elf.h>
#include "elf.h"
#include <sys/mman.h>
#include <unistd.h>
#include <fcntl.h>