lkml.org 
[lkml]   [2022]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v8 1/4] bootconfig: Make the bootconfig.o as a normal object file
    Date
    Since the APIs defined in the bootconfig.o are not individually used,
    it is meaningless to build it as library by lib-y. Use obj-y for that.

    Reported-by: Masahiro Yamada <masahiroy@kernel.org>
    Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
    ---
    Changes in v6:
    - Newly added.
    ---
    lib/Makefile | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/lib/Makefile b/lib/Makefile
    index 353bc09ce38d..4fc48543dc8f 100644
    --- a/lib/Makefile
    +++ b/lib/Makefile
    @@ -276,7 +276,7 @@ $(foreach file, $(libfdt_files), \
    $(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt))
    lib-$(CONFIG_LIBFDT) += $(libfdt_files)

    -lib-$(CONFIG_BOOT_CONFIG) += bootconfig.o
    +obj-$(CONFIG_BOOT_CONFIG) += bootconfig.o

    obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o
    obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o
    \
     
     \ /
      Last update: 2022-04-06 14:11    [W:4.207 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site