summaryrefslogtreecommitdiff
path: root/ezdop/src/firmware
diff options
context:
space:
mode:
authorjcorgan2006-08-16 03:29:20 +0000
committerjcorgan2006-08-16 03:29:20 +0000
commit0741656006d3d480b3e58d42916649a82e8f766a (patch)
tree639de1706953762bcac7f8176d6bca6616e9b2ab /ezdop/src/firmware
parentb28ddc2ca38630d0a5ce0561a647e3e1bf83194b (diff)
downloadgnuradio-0741656006d3d480b3e58d42916649a82e8f766a.tar.gz
gnuradio-0741656006d3d480b3e58d42916649a82e8f766a.tar.bz2
gnuradio-0741656006d3d480b3e58d42916649a82e8f766a.zip
More fixes for ticket:35, which was reopened.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3291 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'ezdop/src/firmware')
-rw-r--r--ezdop/src/firmware/Makefile.am23
1 files changed, 6 insertions, 17 deletions
diff --git a/ezdop/src/firmware/Makefile.am b/ezdop/src/firmware/Makefile.am
index 6cb674811..e619deb9f 100644
--- a/ezdop/src/firmware/Makefile.am
+++ b/ezdop/src/firmware/Makefile.am
@@ -28,33 +28,22 @@ OBJCOPY=$(AVROBJCOPY)
# What's defined for rest of project not good for avr-gcc (no -pthread for instance)
override CFLAGS=
-noinst_PROGRAMS = \
- dopctrl.elf \
- dopctrl.hex
+noinst_PROGRAMS = dopctrl.elf dopctrl.hex
EXTRA_DIST = \
dopctrl.hex
-dopctrl_elf_CFLAGS=-mmcu=atmega8 -funsigned-char -funsigned-bitfields \
- -fpack-struct -fshort-enums -Wall -Wstrict-prototypes \
- -Wa,-adhlns=$(<:.c=.lst)
+dopctrl_elf_CFLAGS=-mmcu=atmega8 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=$(<:.c=.lst)
-dopctrl_elf_SOURCES = \
- dopctrl.c
+dopctrl_elf_SOURCES = dopctrl.c
-#dopctrl_elfdir = $(includedir)
-
-include_HEADERS = \
- dopctrl.h
-
-%.hex: %.elf
- $(OBJCOPY) -O ihex -R .eeprom $< $@
+include_HEADERS = dopctrl.h
dopctrl.hex : dopctrl.elf
-
+ $(OBJCOPY) -O ihex -R .eeprom dopctrl.elf dopctrl.hex
+
install-data-local:
$(INSTALL_DATA) -D $(top_builddir)/ezdop/src/firmware/dopctrl.hex $(DESTDIR)$(datadir)/dopctrl.hex
uninstall-local:
$(RM) $(DESTDIR)$(datadir)/dopctrl.hex
- \ No newline at end of file