mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 20:18:59 +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:
parent
8e2e9b3e65
commit
3d01336e88
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' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user