clean Makefile thanks to previous commit

This commit is contained in:
Ivan FB 2026-04-04 16:52:19 +02:00
parent b3d4c30fe2
commit 8bfbe4f48f
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -67,13 +67,7 @@ waku.nims:
ln -s waku.nimble $@
$(NIMBLEDEPS_STAMP): nimble.lock | waku.nims
# nim and nimble entries in nimble.lock carry platform-specific checksums that
# cause checksum mismatches on other platforms. Strip them before setup and
# restore the original lock file afterwards so the versioned file stays intact.
cp nimble.lock nimble.lock.bak
python3 -c "import json; lock=json.load(open('nimble.lock')); [lock['packages'].pop(k,None) for k in ['nim','nimble']]; json.dump(lock,open('nimble.lock','w'),indent=2)"
nimble setup --localdeps || { mv nimble.lock.bak nimble.lock; exit 1; }
mv nimble.lock.bak nimble.lock
nimble setup --localdeps
$(MAKE) build-nph
$(MAKE) rebuild-nat-libs-nimbledeps
$(MAKE) rebuild-bearssl-nimbledeps