From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- ...001-Modify-the-Makefile-for-cross-compile.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bsp/meta-freescale/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch (limited to 'bsp/meta-freescale/recipes-extended/crconf/crconf/0001-Modify-the-Makefile-for-cross-compile.patch') 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 +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 +--- + 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 + -- cgit 1.2.3-korg