mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00

The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
51 lines
1.2 KiB
Diff
51 lines
1.2 KiB
Diff
--- a/makefile.rules.orig 2012-05-09 21:03:28.000000000 +0200
|
|
+++ b/makefile.rules 2012-05-09 21:03:56.000000000 +0200
|
|
@@ -9,6 +9,8 @@
|
|
# SRC_DIR needs to be passed in. It is assumed that make is running in
|
|
# the build directory.
|
|
|
|
+CC ?= gcc
|
|
+
|
|
#*******************************************************************************
|
|
# Environment
|
|
|
|
@@ -101,7 +103,7 @@
|
|
keygen.o
|
|
|
|
|
|
-LIBS = -lstdc++
|
|
+LIBS ?= -lstdc++ -lm
|
|
|
|
|
|
ifeq ("${UNAMES}", "Linux")
|
|
@@ -137,13 +139,13 @@
|
|
${EXEC_FILE_ELFTOSB2} ${EXEC_FILE_SBTOOL} ${EXEC_FILE_KEYGEN}
|
|
|
|
elftosb: ${OBJ_FILES_ELFTOSB2}
|
|
- gcc ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2}
|
|
+ ${CC} ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2}
|
|
|
|
sbtool: ${OBJ_FILES_SBTOOL}
|
|
- gcc ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL}
|
|
+ ${CC} ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL}
|
|
|
|
keygen: ${OBJ_FILES_KEYGEN}
|
|
- gcc ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN}
|
|
+ ${CC} ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN}
|
|
|
|
|
|
#ifeq ("${UNAMES}", "Linux")
|
|
@@ -153,10 +155,10 @@
|
|
.SUFFIXES : .c .cpp
|
|
|
|
.c.o :
|
|
- gcc ${CFLAGS} -c $<
|
|
+ ${CC} ${CFLAGS} -c $<
|
|
|
|
.cpp.o :
|
|
- gcc ${CFLAGS} -c $<
|
|
+ ${CC} ${CFLAGS} -c $<
|
|
|
|
#endif
|
|
|