diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /bsp/meta-freescale/recipes-extended/crconf/crconf | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'bsp/meta-freescale/recipes-extended/crconf/crconf')
-rw-r--r-- | bsp/meta-freescale/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bsp/meta-freescale/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch b/bsp/meta-freescale/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch new file mode 100644 index 00000000..4459c370 --- /dev/null +++ b/bsp/meta-freescale/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch @@ -0,0 +1,30 @@ +From 2c260c8c437c7f72f093b6c157a38b93443bde1d Mon Sep 17 00:00:00 2001 +From: Chunrong Guo <chunrong.guo@nxp.com> +Date: Mon, 11 Dec 2017 15:45:05 +0800 +Subject: [PATCH] Modify the Makefile for cross compile + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index c7bfee2..d6421f3 100644 +--- a/Makefile ++++ b/Makefile +@@ -4,8 +4,8 @@ LIBDIR=/usr/lib + SBINDIR=/sbin + MANDIR=/share/man + +-CC = gcc +-HOSTCC = gcc ++CC ?= gcc ++HOSTCC ?= gcc + CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall + CFLAGS = $(CCOPTS) -I../include + +-- +2.7.4 + |