Loading ...
Sorry, an error occurred while loading the content.

Tekkotsu 4.0 - bug in makefile/ftp

Expand Messages
  • Bobby Coop
    I m not quite sure if this is the appropriate place to report this, please let me know if there s a better channel for this sort of thing... There s an error
    Message 1 of 1 , Dec 14, 2007
    • 0 Attachment
      I'm not quite sure if this is the appropriate place to report this,
      please let me know if there's a better channel for this sort of thing...

      There's an error in ./aperios/Makefile.aperios regarding the
      compile-ftpupdate target (or there's a bug in the ftpupdate script that
      is triggered by this target, I chose to patch the makefile). The make
      process creates a project/ms/bld_info.txt file, and the presence of this
      file chokes ftpupdate, reporting:

      ---8<---8<---8<---
      Build successful.
      Updating the memorystick via ftp using ftpupdate with the IP adress
      192.168.2.52
      bld_info.txt truncated to .
      553 error.
      make: *** [compile-ftpupdate] Error 9
      ---8<---8<---8<---

      It's a quick fix, I just added a line to remove this file before
      updating. I suppose you could make it move the file to /tmp and then
      move it back, but I don't have a use for the file anyhow.

      Here's a patch that corrects the issue:

      ---8<---8<---8<---

      --- /usr/local/Tekkotsu/project/aperios/Makefile.aperios
      2007-11-07 18:27:01.000000000 -0500
      +++ ./project/aperios/Makefile.aperios 2007-12-14 15:08:50.000000000
      -0500
      @@ -238,6 +238,7 @@

      compile-ftpupdate: compile
      @echo "Updating the memorystick via ftp using ftpupdate with the
      IP adress $(IPADDRESS)"
      + @rm $(MSIMGDIR)/bld_info.txt;
      @$(TEKKOTSU_ROOT)/tools/ftpupdate $(IPADDRESS) $(MSIMGDIR);

      newstick:

      ---8<---8<---8<---


      --
      Bobby Coop
      Senior - Computer Science
      University of Tennesse - Knoxville

      "All our knowledge begins with the senses, proceeds then to the
      understanding, and ends with reason. There is nothing higher than
      reason."
      - Immanuel Kant

      "The major difference between a thing that might go wrong and a thing
      that cannot possibly go wrong is that when a thing that cannot possibly
      go wrong goes wrong it usually turns out to be impossible to get at or
      repair."
      - Douglas Adams
    Your message has been successfully submitted and would be delivered to recipients shortly.