Skip to content

Commit

Permalink
<Make> minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akashkollipara committed Nov 30, 2023
1 parent a31a025 commit c7e6c57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion mk/copy_to_remote.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))..."
Expand Down
2 changes: 0 additions & 2 deletions mk/project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c7e6c57

Please sign in to comment.