Skip to content

Commit

Permalink
[build] remove 'load' target from makefile
Browse files Browse the repository at this point in the history
It is a special command in Make 4.0
  • Loading branch information
gautierhattenberger committed Nov 14, 2014
1 parent de20040 commit e670d2b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion conf/Makefile.ardrone2
Expand Up @@ -32,7 +32,7 @@ upload_extra:


# Program the device and start it.
load upload program: upload_extra $(OBJDIR)/$(TARGET).elf
upload program: upload_extra $(OBJDIR)/$(TARGET).elf
$(Q)$(DRONE) --host=$(HOST) insmod $(PAPARAZZI_SRC)/sw/ext/ardrone2_drivers/cdc-acm.ko
$(Q)$(DRONE) --host=$(HOST) upload_file_and_run $(OBJDIR)/$(TARGET).elf $(SUB_DIR)
$(Q)$(DRONE) --host=$(HOST) status
Expand Down
2 changes: 1 addition & 1 deletion conf/Makefile.geode
Expand Up @@ -67,7 +67,7 @@ $(OBJDIR):
elf: $(OBJDIR)/$(TARGET).elf

# Program the device.
load upload program: $(OBJDIR)/$(TARGET).elf
upload program: $(OBJDIR)/$(TARGET).elf
scp $(OBJDIR)/$(TARGET).elf $(USER)@$(HOST):$(TARGET_DIR)

# Link: create ELF output file from object files.
Expand Down
2 changes: 1 addition & 1 deletion conf/Makefile.lpc21
Expand Up @@ -192,7 +192,7 @@ sym: $(OBJDIR)/$(TARGET).sym


# Program the device.
load upload program: $(OBJDIR)/$(TARGET).hex
upload program: $(OBJDIR)/$(TARGET).hex
ifeq ($(FLASH_MODE),IAP)
$(SUDO) $(LPC21IAP) $(OBJDIR)/$(TARGET).elf
else ifeq ($(FLASH_MODE),JTAG)
Expand Down
2 changes: 1 addition & 1 deletion conf/Makefile.pentium-m
Expand Up @@ -76,7 +76,7 @@ $(OBJDIR):
elf: $(OBJDIR)/$(TARGET).elf

# Program the device.
load upload program: $(OBJDIR)/$(TARGET).elf
upload program: $(OBJDIR)/$(TARGET).elf
ifdef USER
ssh $(USER)@$(HOST) "sudo mount -o remount,rw /"
scp $(OBJDIR)/$(TARGET).elf $(USER)@$(HOST):$(TARGET_DIR)
Expand Down
6 changes: 3 additions & 3 deletions sw/airborne/arch/lpc21/test/Makefile
Expand Up @@ -15,7 +15,7 @@
#
# make clean = Clean out built project files.
#
# make load = Download the hex file to the device, using lpc21isp
# make upload = Download the hex file to the device, using lpc21isp
#
# (TODO: make filename.s = Just compile filename.c into the assembler code only)
#
Expand Down Expand Up @@ -297,7 +297,7 @@ gccversion :


# Program the device.
load upload program: $(TARGET).hex
upload program: $(TARGET).hex
ifeq ($(FLASH_MODE),IAP)
$(LPC21IAP) $(TARGET).elf
else
Expand Down Expand Up @@ -423,4 +423,4 @@ clean_list :

# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion \
build elf hex lss sym clean clean_list load
build elf hex lss sym clean clean_list

0 comments on commit e670d2b

Please sign in to comment.