* [PATCH] BaseTools: fix FCE build when edksetup not executed
@ 2019-07-05 10:34 Leif Lindholm
2019-07-05 11:26 ` [edk2-devel] " Hiber He
0 siblings, 1 reply; 4+ messages in thread
From: Leif Lindholm @ 2019-07-05 10:34 UTC (permalink / raw)
To: devel; +Cc: Bob Feng, Liming Gao
Commit 3c59d94637ad ("BaseTools/FCE: Add a tool FCE") added a new tool
that is always built. Pre-existing tools locate the makefile includes
with relative paths, but FCE uses EDK_TOOLS_PATH, adding a new dependency
on having sourced edksetup.sh before building BaseTools.
Change FCE GNUmakefile to match other tools.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
This broke our CI setup, so I'd appreciate if it could be merged quickly.
BaseTools/Source/C/FCE/GNUmakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools/Source/C/FCE/GNUmakefile b/BaseTools/Source/C/FCE/GNUmakefile
index 3e1b6a85e2..7a7e1ef4b8 100644
--- a/BaseTools/Source/C/FCE/GNUmakefile
+++ b/BaseTools/Source/C/FCE/GNUmakefile
@@ -42,7 +42,7 @@ endif
export ARCH
export HOST_ARCH=$(ARCH)
-MAKEROOT ?= $(EDK_TOOLS_PATH)/Source/C
+MAKEROOT ?= ..
APPNAME = FCE
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [edk2-devel] [PATCH] BaseTools: fix FCE build when edksetup not executed
2019-07-05 10:34 [PATCH] BaseTools: fix FCE build when edksetup not executed Leif Lindholm
@ 2019-07-05 11:26 ` Hiber He
2019-07-05 13:41 ` Liming Gao
0 siblings, 1 reply; 4+ messages in thread
From: Hiber He @ 2019-07-05 11:26 UTC (permalink / raw)
To: devel, leif.lindholm
[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]
Hi,
I think the license of FCE is not correct(Should be BSD-2-Clause-Patent). And the logic for ARCH("ifndef ARCH") can be deleted.
I deleted the ARCH related lines and it did built.
Best Regards,
Hiber
On 07/05/2019 18:34, Leif Lindholm wrote:
Commit 3c59d94637ad ("BaseTools/FCE: Add a tool FCE") added a new tool
that is always built. Pre-existing tools locate the makefile includes
with relative paths, but FCE uses EDK_TOOLS_PATH, adding a new dependency
on having sourced edksetup.sh before building BaseTools.
Change FCE GNUmakefile to match other tools.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
This broke our CI setup, so I'd appreciate if it could be merged quickly.
BaseTools/Source/C/FCE/GNUmakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools/Source/C/FCE/GNUmakefile b/BaseTools/Source/C/FCE/GNUmakefile
index 3e1b6a85e2..7a7e1ef4b8 100644
--- a/BaseTools/Source/C/FCE/GNUmakefile
+++ b/BaseTools/Source/C/FCE/GNUmakefile
@@ -42,7 +42,7 @@ endif
export ARCH
export HOST_ARCH=$(ARCH)
-MAKEROOT ?= $(EDK_TOOLS_PATH)/Source/C
+MAKEROOT ?= ..
APPNAME = FCE
--
2.11.0
[-- Attachment #2: Type: text/html, Size: 2446 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [edk2-devel] [PATCH] BaseTools: fix FCE build when edksetup not executed
2019-07-05 11:26 ` [edk2-devel] " Hiber He
@ 2019-07-05 13:41 ` Liming Gao
2019-07-05 14:01 ` Leif Lindholm
0 siblings, 1 reply; 4+ messages in thread
From: Liming Gao @ 2019-07-05 13:41 UTC (permalink / raw)
To: devel@edk2.groups.io, hiberhe@163.com, leif.lindholm
[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]
Thanks for your catch. Yes. This is an issue. I will send the patch to clean it.
For this patch, the change is good. Reviewed-by: Liming Gao <liming.gao@intel.com>
From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Hiber He
Sent: Friday, July 5, 2019 7:26 PM
To: devel <devel@edk2.groups.io>; leif.lindholm <leif.lindholm@linaro.org>
Subject: Re: [edk2-devel] [PATCH] BaseTools: fix FCE build when edksetup not executed
Hi,
I think the license of FCE is not correct(Should be BSD-2-Clause-Patent). And the logic for ARCH("ifndef ARCH") can be deleted.
I deleted the ARCH related lines and it did built.
Best Regards,
Hiber
On 07/05/2019 18:34, Leif Lindholm<mailto:leif.lindholm@linaro.org> wrote:
Commit 3c59d94637ad ("BaseTools/FCE: Add a tool FCE") added a new tool
that is always built. Pre-existing tools locate the makefile includes
with relative paths, but FCE uses EDK_TOOLS_PATH, adding a new dependency
on having sourced edksetup.sh before building BaseTools.
Change FCE GNUmakefile to match other tools.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org<mailto:leif.lindholm@linaro.org>>
---
This broke our CI setup, so I'd appreciate if it could be merged quickly.
BaseTools/Source/C/FCE/GNUmakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools/Source/C/FCE/GNUmakefile b/BaseTools/Source/C/FCE/GNUmakefile
index 3e1b6a85e2..7a7e1ef4b8 100644
--- a/BaseTools/Source/C/FCE/GNUmakefile
+++ b/BaseTools/Source/C/FCE/GNUmakefile
@@ -42,7 +42,7 @@ endif
export ARCH
export HOST_ARCH=$(ARCH)
-MAKEROOT ?= $(EDK_TOOLS_PATH)/Source/C
+MAKEROOT ?= ..
APPNAME = FCE
--
2.11.0
[-- Attachment #2: Type: text/html, Size: 7559 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [edk2-devel] [PATCH] BaseTools: fix FCE build when edksetup not executed
2019-07-05 13:41 ` Liming Gao
@ 2019-07-05 14:01 ` Leif Lindholm
0 siblings, 0 replies; 4+ messages in thread
From: Leif Lindholm @ 2019-07-05 14:01 UTC (permalink / raw)
To: Gao, Liming; +Cc: devel@edk2.groups.io
On Fri, Jul 05, 2019 at 01:41:54PM +0000, Gao, Liming wrote:
> Thanks for your catch. Yes. This is an issue. I will send the patch to clean it.
>
> For this patch, the change is good. Reviewed-by: Liming Gao <liming.gao@intel.com>
Thanks!
Pushed as d031fc07eb83.
/
Leif
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Hiber He
> Sent: Friday, July 5, 2019 7:26 PM
> To: devel <devel@edk2.groups.io>; leif.lindholm <leif.lindholm@linaro.org>
> Subject: Re: [edk2-devel] [PATCH] BaseTools: fix FCE build when edksetup not executed
>
> Hi,
>
> I think the license of FCE is not correct(Should be BSD-2-Clause-Patent). And the logic for ARCH("ifndef ARCH") can be deleted.
>
> I deleted the ARCH related lines and it did built.
>
> Best Regards,
> Hiber
>
>
>
> On 07/05/2019 18:34, Leif Lindholm<mailto:leif.lindholm@linaro.org> wrote:
> Commit 3c59d94637ad ("BaseTools/FCE: Add a tool FCE") added a new tool
> that is always built. Pre-existing tools locate the makefile includes
> with relative paths, but FCE uses EDK_TOOLS_PATH, adding a new dependency
> on having sourced edksetup.sh before building BaseTools.
>
> Change FCE GNUmakefile to match other tools.
>
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org<mailto:leif.lindholm@linaro.org>>
> ---
>
> This broke our CI setup, so I'd appreciate if it could be merged quickly.
>
> BaseTools/Source/C/FCE/GNUmakefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/BaseTools/Source/C/FCE/GNUmakefile b/BaseTools/Source/C/FCE/GNUmakefile
> index 3e1b6a85e2..7a7e1ef4b8 100644
> --- a/BaseTools/Source/C/FCE/GNUmakefile
> +++ b/BaseTools/Source/C/FCE/GNUmakefile
> @@ -42,7 +42,7 @@ endif
> export ARCH
> export HOST_ARCH=$(ARCH)
>
> -MAKEROOT ?= $(EDK_TOOLS_PATH)/Source/C
> +MAKEROOT ?= ..
>
> APPNAME = FCE
>
> --
> 2.11.0
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-05 14:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-05 10:34 [PATCH] BaseTools: fix FCE build when edksetup not executed Leif Lindholm
2019-07-05 11:26 ` [edk2-devel] " Hiber He
2019-07-05 13:41 ` Liming Gao
2019-07-05 14:01 ` Leif Lindholm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox