mk: fix external library build when combine is enabled
The object files are copied to prepare the internal combined library. It must be disabled when building an external library. It has been seen because the directory was missing: examples/ethtool/lib/x86_64-native-linuxapp-gcc/build/lib: No such file or directory Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
d90f09dbc7
commit
341a1e0664
@ -138,7 +138,7 @@ endif
|
|||||||
$(depfile_newer)),\
|
$(depfile_newer)),\
|
||||||
$(O_TO_S_DO))
|
$(O_TO_S_DO))
|
||||||
|
|
||||||
ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)
|
ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS)$(EXTLIB_BUILD),yn)
|
||||||
$(if $(or \
|
$(if $(or \
|
||||||
$(file_missing),\
|
$(file_missing),\
|
||||||
$(call cmdline_changed,$(O_TO_C_STR)),\
|
$(call cmdline_changed,$(O_TO_C_STR)),\
|
||||||
@ -161,7 +161,7 @@ $(LIB): $(OBJS-y) $(DEP_$(LIB)) FORCE
|
|||||||
$(depfile_missing),\
|
$(depfile_missing),\
|
||||||
$(depfile_newer)),\
|
$(depfile_newer)),\
|
||||||
$(O_TO_A_DO))
|
$(O_TO_A_DO))
|
||||||
ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)
|
ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS)$(EXTLIB_BUILD),yn)
|
||||||
$(if $(or \
|
$(if $(or \
|
||||||
$(file_missing),\
|
$(file_missing),\
|
||||||
$(call cmdline_changed,$(O_TO_C_STR)),\
|
$(call cmdline_changed,$(O_TO_C_STR)),\
|
||||||
|
Loading…
Reference in New Issue
Block a user