public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Question about PACKAGES_PATH
@ 2021-05-03  1:55 Abner Chang
  2021-05-03 11:54 ` [edk2-devel] " Laszlo Ersek
  0 siblings, 1 reply; 2+ messages in thread
From: Abner Chang @ 2021-05-03  1:55 UTC (permalink / raw)
  To: devel@edk2.groups.io
  Cc: Wang, Nickle (HPS SW), Chen, Aaron, Bob Feng, gaoliming,
	Yuwei Chen

[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]

Hi all,
I encountered a weird build issue when I use PACKAGES_PATH for the package outside WORKSPACE.
Currently I have RedfishClientPkg in the different repo and I configure PACKAGES_PATH as below,
Set PACKAGES_PATH=d:\edk2; d:\edk2-redfish-client

I always get the build error as below,
;-------------------------------------------------------------------------

build.py...
: error 7000: Failed to execute command
        E:\Program Files (x86)\Microsoft Visual Studio 14.0\Vc\bin\nmake.exe /no
logo tbuild [d:\edk2\Build\EmulatorX64\DEBUG_VS2015x86\X64\edk2-redfish-client\R
edfishClientPkg\RedfishFeatureCoreDxe\RedfishFeatureCoreDxe]


build.py...
: error 7000: Failed to execute command
        E:\Program Files (x86)\Microsoft Visual Studio 14.0\Vc\bin\nmake.exe /no
logo tbuild [d:\edk2\Build\EmulatorX64\DEBUG_VS2015x86\X64\edk2-redfish-client\R
edfishClientPkg\Converter\AccountService\v1_0_0\RedfishAccountService_V1_0_0_Dxe
]


build.py...
: error F002: Failed to build module
        d:\edk2-redfish-client\RedfishClientPkg\RedfishFeatureCoreDxe\RedfishFea
tureCoreDxe.inf [X64, VS2015x86, DEBUG]

;-------------------------------------------------------------------------


However, the build error is gone if I change the naming of external directory to any that doesn't contain "edk2" pattern in the folder name, such as "xxxx" or "edkii-redfish-client".
Is this a known issue? Anyone has the similar experience?

Thanks
Abner

[-- Attachment #2: Type: text/html, Size: 4741 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-03 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-03  1:55 Question about PACKAGES_PATH Abner Chang
2021-05-03 11:54 ` [edk2-devel] " Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox