adding /bin to trunk - General Discussion and Assistance - CHDK Forum supplierdeeply

adding /bin to trunk

  • 8 Replies
  • 5382 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
adding /bin to trunk
« on: 07 / February / 2008, 08:38:35 »
Advertisements
Hi,

really a small thing here, but could one of you devs please add the (empty) bin folder to the trunk? i always forget to add the folder before compiling, so compiling throws an error.
i can live without it, but with the bin folder already in trunk i could live much happier ever after ;)

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: adding /bin to trunk
« Reply #1 on: 07 / February / 2008, 09:12:35 »
I agree with phyrephox - especially since AFAIK just adding a dummy file
to the bin dir should do the trick ...

btw, since this is my first post after 3 months of lurking, let me add
that this is a great forum ! Kudo's & big thanks to everybody working
on / brainstorming about CHDK !

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: adding /bin to trunk
« Reply #2 on: 07 / February / 2008, 11:00:20 »
One small remark.
This folder is created normally in case of using SVN. But if you download the CHDK sources using autopacking to zip feature of assembla site, the 'bin' folder is not in the archive (ZIP does not keep empty folders in archive).
CHDK Developer.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: adding /bin to trunk
« Reply #3 on: 07 / February / 2008, 16:13:04 »
hm, makes sense. i switched to svn today (not because of that) so i will not have that "problem" in the future. but maybe adding a tiny dummy file might help those who dont use svn and want to compile only occasionally. dunno, in this case they can create /bin themselves, i know. can't it be added to the makefile, that bin is created if not existing? questions, lots of questions :D


*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: adding /bin to trunk
« Reply #4 on: 07 / February / 2008, 16:42:03 »
can't it be added to the makefile, that bin is created if not existing?
Piece of cake. :)
Just add into the 'firsub:' section of the topmost Makefile:
Code: [Select]
firsub: all
@echo \-\> $(PLATFORM)-$(PLATFORMSUB).FIR
[color=green]mkdir -p $(topdir)/bin[/color]
« Last Edit: 08 / February / 2008, 02:06:27 by GrAnd »
CHDK Developer.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: adding /bin to trunk
« Reply #5 on: 07 / February / 2008, 17:11:01 »
works like a charm (on linux box here).
well, can this small change then be added in the trunk? not that i want to take some of your precious time :)

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: adding /bin to trunk
« Reply #6 on: 16 / February / 2008, 18:35:52 »
revision 301:
Quote
...
+ Added autocreation of /bin directory

thanks!  :)

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: adding /bin to trunk
« Reply #7 on: 17 / February / 2008, 07:35:36 »
@GrAndiose !   :D

I got a (somewhat) related question, why does the makefile do a

rm -f $(topdir)bin/PS.FIR     but not a

rm -f $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB).FIR  ?

(can easily add it myself, but just curious)

thanks 


*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: adding /bin to trunk
« Reply #8 on: 17 / February / 2008, 09:39:47 »
2whim

Because all fir-files have unique names and it is understandable which is what. The PS.FIR can confuse, because it is not clear for which camera it is.
CHDK Developer.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal