Adding new cameras, applying patches into trunk (with source code prepared) - page 117 - General Discussion and Assistance - CHDK Forum

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1685 Replies
  • 864279 Views
Advertisements
This is a git formatted patch, so use 'patch -p1' to apply the patch.

=== patch comment start ===
makefile.inc: use CROSS_COMPILE variable for selecting a toolchain

By default CHDK uses toolchain with the 'arm-elf-' prefix.
If you want to change toolchain you need to change many
variables (e.g. CC, OBJCOPY etc).
In linux kernel the CROSS_COMPILE variable makes
this work easier. Let's use the same approach for CHDK too.

Usage. Just define CROSS_COMPILE in cmdline:

  make CROSS_COMPILE=/my/toolchain/path/and/arm-pre-fix-
=== patch comment end ===

Update for czech lng file.

*

Offline philmoz

  • *****
  • 3450
    • Photos
This is a git formatted patch, so use 'patch -p1' to apply the patch.

=== patch comment start ===
makefile.inc: use CROSS_COMPILE variable for selecting a toolchain

By default CHDK uses toolchain with the 'arm-elf-' prefix.
If you want to change toolchain you need to change many
variables (e.g. CC, OBJCOPY etc).
In linux kernel the CROSS_COMPILE variable makes
this work easier. Let's use the same approach for CHDK too.

Usage. Just define CROSS_COMPILE in cmdline:

  make CROSS_COMPILE=/my/toolchain/path/and/arm-pre-fix-
=== patch comment end ===

Added to trunk in revision 2909.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Update for czech lng file.

Added to trunk in revision 2910.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Croatian language update.

Patch file for Custom Auto ISO in dev trunk.  Discussion here : http://chdk.setepontos.com/index.php?topic=8467.msg102535#msg102535

Edit : added a 2nd patch file to the language files to remove the (x10) strings

Edit 2 :  missed a change related to deleting (x10) from UI.  Combined patch file posted below.
« Last Edit: 07 / July / 2013, 00:46:25 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
sx160 100a filewrite patch

Note :  added a file to the Custom Auto ISO patch that I posted above.
Ported :   A1200    SD940   G10    Powershot N    G16

Update to Custom Auto ISO patch - previous patch failed to make a complete change for UI values not assumed to be (x10).

This version also rolls in the language file changes that I had posted seperately.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal