Skip to content

Fix object files listed multiple times in OBJS #4825

@jepler

Description

@jepler

While working with the Makefiles I noticed that some items are listed twice in $(OBJ). This doesn't usually pose a problem, but it seems unusual and would be nice to understand and fix. (It caused me a problem because I used $(OBJ) rather than $^ for placing the list of objects in a commandline)

During a build for feather_stm32f405_express, the following items appeared in $(OBJ) multiple times; the count is given.

      2 build-feather_stm32f405_express/shared-bindings/audiopwmio/__init__.o
      2 build-feather_stm32f405_express/shared-bindings/_bleio/Address.o
      2 build-feather_stm32f405_express/shared-bindings/_bleio/ScanEntry.o
      2 build-feather_stm32f405_express/shared-bindings/board/__init__.o
      2 build-feather_stm32f405_express/shared-bindings/canio/Match.o
      2 build-feather_stm32f405_express/shared-bindings/msgpack/__init__.o
      2 build-feather_stm32f405_express/shared-bindings/os/__init__.o
      2 build-feather_stm32f405_express/shared-bindings/rgbmatrix/__init__.o
      2 build-feather_stm32f405_express/shared-bindings/rgbmatrix/RGBMatrix.o
      3 build-feather_stm32f405_express/shared-bindings/_bleio/Attribute.o

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions