]> xenbits.xensource.com Git - unikraft/libs/python3.git/commitdiff
Makefile.uk: Make python-rootfs depend on origin code
authorCostin Lupu <costin.lupu@cs.pub.ro>
Wed, 30 Oct 2019 15:04:19 +0000 (17:04 +0200)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Tue, 5 Nov 2019 13:04:15 +0000 (15:04 +0200)
This is needed in case you want to run `make python-rootfs` before running `make
fetch`.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@gmail.com>
Makefile.uk

index 39c91e1ddb310322c7d20f82afccd68f4a9a616d..a725a960753142630cb1fe80da1756e9720e5f03 100644 (file)
@@ -475,7 +475,7 @@ UK_PREPARE += $(LIBPYTHON3_BUILD)/.prepared
 PYTHON_ROOTFS = $(APP_BASE)/$(path)
 
 # Create virtual environment
-$(PYTHON_ROOTFS)/.keep:
+$(PYTHON_ROOTFS)/.keep: $(LIBPYTHON3_BUILD)/.origin
        python3 -m venv $(PYTHON_ROOTFS) && touch $@
 
 # Configure origin