avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #7699] Read additional config files


From: Rene Liebscher
Subject: [avrdude-dev] [patch #7699] Read additional config files
Date: Fri, 06 Jan 2012 12:00:51 +0000
User-agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0

URL:
  <http://savannah.nongnu.org/patch/?7699>

                 Summary: Read additional config files
                 Project: AVR Downloader/UploaDEr
            Submitted by: rliebscher
            Submitted on: Fri 06 Jan 2012 12:00:50 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: rliebscher
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

For creating and testing new config entries it is useful to be able to read
additional config files.

The normal -C option always requires a complete (patched) copy of the original
config file.

This patch allows to specify additional config files to be read after the
system wide file, by writing -C +filename at the command line. (Is this change
acceptable for this option?)

For example I use this as follows:

./avrdude -C avrdude.conf -C +../conf/o-link.conf -C +../conf/pwm316.conf
....

This change implies that you cannot simply specify any filename starting with
'+' as replacement for the system configuration file. The workaround would be
to use a path as -C ./+abc (in case anyone uses such filenames).

As this patch allows to  load single config entries, new patches for new parts
and programmers might provide the changes also as single files in config
format. This can be added at svn integration somewhere in the system wide file
or be used directly from the patch tracker by any user who wants to test/use
this new entry (without to patch its config file)

May be we get so more patches for new parts as people do not need to use diff
tools for creating patch files.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 06 Jan 2012 12:00:50 PM GMT  Name: additional_config_files.diff 
Size: 3kB   By: rliebscher

<http://savannah.nongnu.org/patch/download.php?file_id=24748>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7699>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]