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:
committed by
Stefan Reinauer
parent
bda29314c2
commit
7b769126d0
@@ -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
|
||||
|
2637
payloads/bayou/util/pbuilder/liblar/elf.h
Normal file
2637
payloads/bayou/util/pbuilder/liblar/elf.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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>
|
||||
|
Reference in New Issue
Block a user