Skip to content

core/cmake: better impersonate a Linux system

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2support/cmake: impersonate a Linux system even moresupport/misc/Buildroot.cmake+4 -00 replies
2/2package/fastd: do not overwrite the cmake module pathpackage/fastd/0002-CMakeList-do-not-overwrite-module-path.patch+56 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] core/cmake: better impersonate a Linux system

Hello All!

Some packages rely on the system name to decide whether to enable/disable features and/or link/not link with some libraries, rather than using detection... :-(

However, the system name is now Buildroot, because we provide our own platform description, as was suggested by upstream cmake.

So, we tweak our platform description to change the system name back to "Linux", so that those packages believe they are on Linux (which is inherently true!)

Secondly, some packages completely overwrite the module path, like fastd, rather than appending to it. For now, only fastd is handled; other offenders will be dealt with as they are detected.

Regards,
Yann E. MORIN.

The following changes since commit 8d1128e8a898e32348618721473b82b09f4a6975

fontconfig: needs host-gperf (2017-03-02 09:24:35 +0100)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to dd2c4dbd9c75ecc8838363ff3b21651b6aa55373

package/fastd: do not overwrite the cmake module path (2017-03-02 22:01:02 +0100)

----------------------------------------------------------------
Yann E. MORIN (2):
support/cmake: impersonate a Linux system even more package/fastd: do not overwrite the cmake module path

 ...02-CMakeList-do-not-overwrite-module-path.patch | 56 ++++++++++++++++++++++
 support/misc/Buildroot.cmake                       |  4 ++
 2 files changed, 60 insertions(+)
 create mode 100644 package/fastd/0002-CMakeList-do-not-overwrite-module-path.patch
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'