testing: Add option for a quick rebuild of strongSwan

This shaves off about 1 minute of build time on my machine.  We also
don't need the separate build step and can just run `make install`.
This commit is contained in:
Tobias Brunner
2025-04-04 12:06:59 +02:00
parent 02c43fa6e4
commit 022f2d5f30
2 changed files with 12 additions and 8 deletions
+2 -5
View File
@@ -127,11 +127,8 @@ $(PKG): $(TAR)
echo "$(SWANVERSION)" > /root/shared/.strongswan-version
configure: $(BUILDDIR)
cd $(BUILDDIR) && $(DIR)/configure $(CONFIG_OPTS)
[ -n "$(QUICK_REBUILD)" ] || (cd $(BUILDDIR) && $(DIR)/configure $(CONFIG_OPTS))
build: configure
cd $(BUILDDIR) && make -j $(NUM_CPUS)
install: build
install: configure
cd $(BUILDDIR) && make -j install && \
cd $(DIR)/src/libcharon/plugins/vici/python && python3 setup.py install