diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-20 23:04:46 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-20 23:04:46 +0000 |
commit | 7b769126d0065e237eea2fcb0b8218781faf4d1c (patch) | |
tree | 1fea98917e80d44ec5aaf2b4f949cad044bbe748 /payloads/bayou/util/pbuilder/liblar/Makefile | |
parent | bda29314c25aca190071988ec9adfb42f4ba5114 (diff) |
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
Diffstat (limited to 'payloads/bayou/util/pbuilder/liblar/Makefile')
-rw-r--r-- | payloads/bayou/util/pbuilder/liblar/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/payloads/bayou/util/pbuilder/liblar/Makefile b/payloads/bayou/util/pbuilder/liblar/Makefile index 23f2feb035..27585dc89d 100644 --- a/payloads/bayou/util/pbuilder/liblar/Makefile +++ b/payloads/bayou/util/pbuilder/liblar/Makefile @@ -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 |