1
0
mirror of https://github.com/bmartini/zynq-axis.git synced 2024-09-05 19:19:27 +08:00

Update CC variable in app & lib Makefiles

This change prepends the CROSS_COMPILE environmental variable to the compilers
definition. Thus adding the possibility of cross compiling when the cross
compiling tool chain has been setup correctly.
This commit is contained in:
Berin Martini 2015-02-12 01:47:13 -05:00
parent a1394df70a
commit 01a04802cf
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CC = gcc
CC = ${CROSS_COMPILE}gcc
LDFLAGS := -linterface
CFLAGS := -c -Wall -Werror
INCLUDES := -I.

View File

@ -1,4 +1,4 @@
CC = gcc
CC = ${CROSS_COMPILE}gcc
CFLAGS := -c -fpic -Wall -Werror
INCLUDES := -I.
LIBOPTS := -shared