Skip to content

Commit 4374119

Browse files
committed
Fixed macro name used for install target, it was changed in the setenv file and now includes the complete directory path.
1 parent 78b3b34 commit 4374119

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ depend:
130130
fi
131131

132132
install: all
133-
@echo " INSTALLING '$(PROGRAM)' TO '$(TARGET_ROOT_DIR)'"
134-
@if [ -n "$(TARGET_ROOT_DIR)" ] ; then \
135-
sudo cp $(PROGRAM).elf $(TARGET_ROOT_DIR)/home/root/ ; \
133+
@echo " INSTALLING '$(PROGRAM)' TO '$(TARGET_DIR)'"
134+
@if [ -n "$(TARGET_DIR)" ] ; then \
135+
sudo cp $(PROGRAM).elf $(TARGET_DIR)/ ; \
136136
else \
137137
echo "INSTALL: no destination specified" ; \
138138
fi

0 commit comments

Comments
 (0)