mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 11:14:47 +08:00
Fix library creation
Delete library and create it from scratch to avoid problems with non-unique file names.
This commit is contained in:
1
Makefile
1
Makefile
@@ -1438,6 +1438,7 @@ D_FILES += $(LIB_C_FILES:%.c=%.d)
|
||||
all: $(LIB) $(TESTS) $(TEST_NETWORK_CONFIG) $(NET_TESTS)
|
||||
|
||||
$(LIB): $(LIB_GEN_FILES) $(LIB_O_FILES)
|
||||
rm -f $@
|
||||
$(AR) rcu $@ $^
|
||||
|
||||
run_tests: $(RUN_TESTS)
|
||||
|
@@ -478,6 +478,7 @@ class ModuleManager:
|
||||
'all: $(LIB) $(TESTS) $(TEST_NETWORK_CONFIG) $(NET_TESTS)\n' \
|
||||
'\n' \
|
||||
'$(LIB): $(LIB_GEN_FILES) $(LIB_O_FILES)\n' \
|
||||
'\trm -f $@\n' \
|
||||
'\t$(AR) rcu $@ $^\n' \
|
||||
'\n' \
|
||||
'run_tests: $(RUN_TESTS)\n' \
|
||||
|
Reference in New Issue
Block a user