diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-08-10 20:24:09 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-08-10 12:24:10 -0700 |
commit | 37ca0f7ab398e2e5bc61bd163b0bc16df535160f (patch) | |
tree | c19367072efd45a26869d58ba8fe472eddf1e1c5 /recipes-bsp/u-boot/files/0001-Fix-native-build-by-using-env-variables.patch | |
parent | 12d7066b3c79461538a2996d4ee15d9e67705061 (diff) | |
download | meta-altera-37ca0f7ab398e2e5bc61bd163b0bc16df535160f.tar.gz |
Fix build with YP pyro
Mainly fix the u-boot build by:
- changing u-boot-mkenvimage to use $(CC) instead of cc
- adding bc-native to u-boot-socfpga due to RS-sysroot in YP
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-bsp/u-boot/files/0001-Fix-native-build-by-using-env-variables.patch')
-rw-r--r-- | recipes-bsp/u-boot/files/0001-Fix-native-build-by-using-env-variables.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/0001-Fix-native-build-by-using-env-variables.patch b/recipes-bsp/u-boot/files/0001-Fix-native-build-by-using-env-variables.patch new file mode 100644 index 0000000..5443bce --- /dev/null +++ b/recipes-bsp/u-boot/files/0001-Fix-native-build-by-using-env-variables.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 5aa1e2d99a26f1cab1774fa1e94b53de42897d1c Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <jsmoeller@linuxfoundation.org> | ||
3 | Date: Thu, 10 Aug 2017 19:36:21 +0200 | ||
4 | Subject: [PATCH] Fix native build by using env variables | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> | ||
10 | --- | ||
11 | Makefile | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/Makefile b/Makefile | ||
15 | index 8ca1db5..fef1059 100644 | ||
16 | --- a/Makefile | ||
17 | +++ b/Makefile | ||
18 | @@ -254,8 +254,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ | ||
19 | else if [ -x /bin/bash ]; then echo /bin/bash; \ | ||
20 | else echo sh; fi ; fi) | ||
21 | |||
22 | -HOSTCC = cc | ||
23 | -HOSTCXX = c++ | ||
24 | +HOSTCC = $(CC) | ||
25 | +HOSTCXX = $(CXX) | ||
26 | HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ | ||
27 | $(if $(CONFIG_TOOLS_DEBUG),-g) | ||
28 | HOSTCXXFLAGS = -O2 | ||
29 | -- | ||
30 | 2.1.4 | ||
31 | |||