X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hw%2FMakefile.inc;fp=hw%2FMakefile.inc;h=0000000000000000000000000000000000000000;hb=88d4ba3e4b3c0b8587b2a338a0bf09640d1edb7e;hp=f832a6fb1369d288139b7bf60f6045204253bf49;hpb=4c4035a7b45d6e865fac0a4ac96c83ab6baf7a13;p=sigrok-firmware-fx2lafw.git diff --git a/hw/Makefile.inc b/hw/Makefile.inc deleted file mode 100644 index f832a6fb..00000000 --- a/hw/Makefile.inc +++ /dev/null @@ -1,60 +0,0 @@ -## -## This file is part of the sigrok-firmware-fx2lafw project. -## -## Copyright (C) 2013 Uwe Hermann -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -EXTRA_DIST = dscr.a51 - -fx2lafw: - $(AM_V_at)cd ${top_builddir} && $(MAKE) fx2lafw - -if FOUND_OBJCOPY -$(BASENAME).fw: $(BASENAME).ihx - $(AM_V_GEN)$(OBJCOPY) -Iihex $(BASENAME).ihx -Obinary $@ -else -if FOUND_MAKEBIN -$(BASENAME).fw: $(BASENAME).ihx - $(AM_V_GEN)$(MAKEBIN) -p < $(BASENAME).ihx > $@ -endif -endif - -RELS = ${top_builddir}/fx2lafw.rel ${top_builddir}/gpif-acquisition.rel \ - ${builddir}/dscr.rel - -$(RELS): fx2lafw - -$(builddir)/dscr.rel: dscr.a51 - $(AM_V_at)if test "x${abs_top_srcdir}" != "x${abs_top_builddir}"; then \ - $(INSTALL_DATA) ${srcdir}/dscr.a51 ${builddir}; \ - fi - $(AM_V_GEN)$(SDAS8051) -logs -I${top_srcdir}/include dscr.a51 - -$(BASENAME).ihx: fx2lafw $(RELS) $(top_builddir)/fx2lib/lib/fx2.lib $(top_builddir)/fx2lib/lib/interrupts/ints.lib - $(AM_V_GEN)$(SDCC) -mmcs51 $(SDCC_FLAGS) -o $@ $(RELS) -L$(top_builddir)/fx2lib/lib fx2.lib interrupts/ints.lib - -install-data-local: $(BASENAME).fw - $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(FIRMWARE_DIR) - $(AM_V_at)$(INSTALL_DATA) $(BASENAME).fw $(DESTDIR)$(FIRMWARE_DIR) - -uninstall-local: - $(AM_V_at)-rm -f $(DESTDIR)$(FIRMWARE_DIR)/$(BASENAME).fw - -clean-local: - $(AM_V_at)-rm -f *.lst *.rel *.rst *.sym *.lnk *.map *.mem *.ihx *.fw - $(AM_V_at)-rm -f *.cdb *.lk *.omf -