1
0
Fork 0
mirror of https://github.com/tailix/mrubyvisor.git synced 2024-11-11 13:50:47 -05:00

Clean mruby directory

This commit is contained in:
Alex Kotov 2022-11-29 01:09:43 +04:00
parent 145b4ab224
commit 9739fb7744
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -35,6 +35,7 @@ runw: $(IMAGE)
clean:
rm -rf $(MRUBYVISOR) $(DEST)/*
cd vendor/mruby && $(RAKE) clean
$(MAKE) -C $(SRC) clean
$(IMAGE): $(GRUBCFG) $(MRUBYVISOR)
@ -51,6 +52,7 @@ $(LIBKERNAUX):
cd vendor/libkernaux && $(MAKE) install
$(LIBMRUBY): $(LIBKERNAUX) $(MRUBY_CONF)
cd vendor/mruby && $(RAKE) clean
cd vendor/mruby && $(RAKE) MRUBY_CONFIG='$(ABS_REPO)/$(MRUBY_CONF)' CROSS_AR='$(AR)' CROSS_CC='$(CC)' CROSS_LD='$(LD)'
mkdir -p $(DEST)/include $(DEST)/lib
cp vendor/mruby/build/$(MRUBY_NAME)/lib/libmruby.a $(DEST)/lib