Skip to content
Snippets Groups Projects
  • René Kijewski's avatar
    5906f18a
    Add USEPKG variable for Makefiles · 5906f18a
    René Kijewski authored
    Currently pkg/USING says one should use
    `EXTERNAL+=$(RIOTBASE)/pkg/<pkg_name>` to enable PKG modules.
    Using this line the PKG will be compiled but not linked.
    
    This change adds a USEPKG variable to be used like
    `USEPKG += <pkg_name>`, which looks less clumsy and gets the PKG linked
    in the binary.
    5906f18a
    History
    Add USEPKG variable for Makefiles
    René Kijewski authored
    Currently pkg/USING says one should use
    `EXTERNAL+=$(RIOTBASE)/pkg/<pkg_name>` to enable PKG modules.
    Using this line the PKG will be compiled but not linked.
    
    This change adds a USEPKG variable to be used like
    `USEPKG += <pkg_name>`, which looks less clumsy and gets the PKG linked
    in the binary.