Skip to content

pkg: remove unecessary module, especially for header-only packages#14280

Merged
kaspar030 merged 3 commits intoRIOT-OS:masterfrom
aabadie:pr/pkg/cleanup_header_only
Jun 23, 2020
Merged

pkg: remove unecessary module, especially for header-only packages#14280
kaspar030 merged 3 commits intoRIOT-OS:masterfrom
aabadie:pr/pkg/cleanup_header_only

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Jun 13, 2020

Contribution description

This PR removes the use of empty modules (with no source built in) used with flatbuffers, gemmlowp and lvgl packages. The first two are header-only packages so there's no need to build a module. For lvgl, there's a make trick that allows to set the MODULE name from the command and with this trick no lvgl module is created.
In the current package mechanism, a package name should become implicitly a module but here there's no concrete module with the same name. The solution is then to declare them as pseudo-modules.

Testing procedure

A green Murdock is enough (if people insist, I can provide a picture of a board running lvgl)

Issues/PRs references

None

@aabadie aabadie added Area: build system Area: Build system Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jun 13, 2020
aabadie added 3 commits June 14, 2020 22:20
This package is only use for its headers so there's no module to build.
This package is only use for its headers so there's no module to build.
There's no lvgl module to build with package, only lvgl_xx modules.
@kaspar030 kaspar030 self-assigned this Jun 23, 2020
Copy link
Copy Markdown
Contributor

@kaspar030 kaspar030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK.

@kaspar030 kaspar030 merged commit 6235d74 into RIOT-OS:master Jun 23, 2020
@aabadie aabadie deleted the pr/pkg/cleanup_header_only branch June 24, 2020 06:06
@miri64 miri64 added this to the Release 2020.07 milestone Jun 24, 2020
@miri64 miri64 added the Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation label Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants