Bug 13256

Summary: CMAKE_GENERATOR environment variable makes CMake based builds fail
Product: buildroot Reporter: sven.fischer
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: minor CC: buildroot, jose, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description sven.fischer 2020-10-08 13:13:26 UTC
If the CMAKE_GENERATOR environment variable is set to e.g. Ninja, CMake based build will fail because CMake generates Ninja build files instead of Makefiles. 

To fix this use either

a) explicitly set -G"Unix Makefiles" in package/pkg-cmake.mk
b) (better) use "cmake --build ." instead of make
Comment 1 Thomas Petazzoni 2020-10-08 14:32:44 UTC
Sounds good. Could you send a patch implementing (2) ? Thanks!
Comment 2 Yann E. MORIN 2024-06-15 14:55:36 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!