From 1e05ca909dea04cb7c148585286a699c8732b04e Mon Sep 17 00:00:00 2001 From: Akash Kollipara Date: Thu, 23 Nov 2023 09:38:20 +0530 Subject: [PATCH 1/3] Updated clean_qemu routines - Updated qemu uninstallation routines to clean up the environment. Bug Issue: Resolves #247 --- mk/qemu.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/qemu.mk b/mk/qemu.mk index ac776340..4c1ac90e 100644 --- a/mk/qemu.mk +++ b/mk/qemu.mk @@ -36,12 +36,13 @@ $(QEMU_OUT_PATH): $(QEMU_PATH) rm -rf $(QEMU_PATH) @echo "< ! > Adding load_qemu alias to bashrc ..." @echo "< ! > run 'load_qemu' before trying to launch qemu!" - echo "alias load_qemu='export PATH=\"\$$PATH\":$@/bin/'" >> ~/.bashrc + echo "alias load_qemu='export PATH=\"\$$PATH\":$@/bin/'" >> ~/.bash_aliases @echo "< / > Done !" clean_qemu: @echo "< ! > Removing cc-qemu installation ..." rm -rf $(QEMU_OUT_PATH) $(QEMU_PATH) + sed "/cc_qemu/d" -i ~/.bash_aliases @echo "< / > Done!" qemu_test: From 97274356979f785dc308be878a2b1ed24d017774 Mon Sep 17 00:00:00 2001 From: Akash Kollipara <24636040+akashkollipara@users.noreply.github.com> Date: Thu, 30 Nov 2023 22:17:34 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 037c29d6..029be625 100644 --- a/README.md +++ b/README.md @@ -37,4 +37,6 @@ Connect with us over VisorFolks discord server: < [**JOIN**](https://discord.gg/ * linker script ### Help -Please visit [**Github Wiki**](https://github.com/VisorFolks/cyancore/wiki/) +For more information, please visit [**Github Wiki**](https://github.com/VisorFolks/cyancore/wiki/), here are few more links: +- [**Getting Started**](https://github.com/VisorFolks/cyancore/wiki/Getting-Started) +- [**QEMU Test**](https://github.com/VisorFolks/cyancore/wiki/qemu-test) From 3faefaf63ab03f9343971f0adec08d7e5b97856f Mon Sep 17 00:00:00 2001 From: Akash Kollipara Date: Thu, 30 Nov 2023 22:10:43 +0530 Subject: [PATCH 3/3] minor fixes --- mk/copy_to_remote.mk | 2 +- mk/project.mk | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mk/copy_to_remote.mk b/mk/copy_to_remote.mk index 64ce5292..823dc61d 100644 --- a/mk/copy_to_remote.mk +++ b/mk/copy_to_remote.mk @@ -17,7 +17,7 @@ SSH_PATH ?= --cpremote: $(ELF) @echo "< ! > Copying to remote ($(SSH_HOST))..." ssh -p $(SSH_PORT) $(R_UNAME)@$(SSH_HOST) "mkdir -p $(SSH_PATH)/$(PROJECT)" - scp -r -P $(SSH_PORT) $(^:.elf=.*) $(R_UNAM)@$(SSH_HOST):$(SSH_PATH)/$(PROJECT) + scp -r -P $(SSH_PORT) $(^:.elf=.*) $(R_UNAME)@$(SSH_HOST):$(SSH_PATH)/$(PROJECT) --rmremote: @echo "< ! > Cleaning remote ($(SSH_HOST))..." diff --git a/mk/project.mk b/mk/project.mk index 57599030..f9148fdc 100644 --- a/mk/project.mk +++ b/mk/project.mk @@ -72,12 +72,10 @@ $(info < ! > Run `make list` to get list of projects) $(error < x > Build Failed!) endif -ifeq ($(findstring $(MAKECMDGOALS),$(T_ALLOWLIST)),) include $(SRC)/sources.mk include mk/tc.mk include mk/copy_to_remote.mk endif -endif ifeq ($(findstring $(CMD),$(T_ALLOWLIST) $(P_TARGETS)),) $(CMD): $(filter %/$(CMD),$(DEP_LIBS) $(DEP_OBJS))