How to override or set a variable for conf/freesbie.conf on CLI ?

"Dominique Goncalves" <[email protected]> Thu, 14 Sep 2006 12:15:20 +0200
Newsgroups gmane.os.freebsd.freesbie
Message-ID <[email protected]>
Hi,

I would like override or set variable on command line.
For example:
make iso ISOPATH=/somewhere/livecd.iso
or
make iso PROFILS=foo

the last example would need this in conf/freesbie.conf:

case PROFILS in
    foo)
                ISOPATH=/somewhere/foo.iso
                CUSTOMROOT=/somewhere/foo
    bar)
                ISOPATH=/somewhere/bar.iso
                CUSTOMROOT=/somewhere/bar
esac

I tried:
env MAKE_ENV='PROFILS=foo' make iso, but if I understand correctly
it's only for buildworld and buildkernel.

How is this possible to do this ?

Thanks,
Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."
-- 
FreeSBIE mailing list (http://www.freesbie.org)