examples/pkgs: rename modules with duplicate names#7951
examples/pkgs: rename modules with duplicate names#7951kaspar030 merged 2 commits intoRIOT-OS:masterfrom
Conversation
|
I found them with #7952 but only tested native and samr21-xpro. |
|
I don't understand the second commit. Are you renaming the package modules to pkg-X? |
|
I am renaming the package root module to pkg-X yes. For Currently everything is working because ar just adds new files to the archive and does not care that two modules modify it. What I did, is rename the root directory module to some dummy name. It will produce an empty unused archive but not touch the real |
Where do they get selected for linking? |
Root directory of libfixmath and u8g2 where the same as another directory.
83ee337 to
21dfcc9
Compare
|
They don't get selected for linking but they are empty libraries. No source files in the module Makefile directory: And the produced library is indeed empty |
I see. Seems to me the package Makefile is more complicated than needed. That package's Anyhow, thanks for the explanation! |
|
I also think that, in general, setting |
Some examples and packages root directory use a module name that is already defined somewhere else.
Building works right now because when both an APPLICATION an a MODULE have the same
name AR just adds objects for both to the same library MODULE.a.
It currently works because they do not have conflicting file names.