Re: How to enable 'CONFIG_COMMON_CLK' ?

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Mon Apr 28, 2014 at 18:51:13 +0900, Taeung wrote:
> I'm trying to build L4 Linux with added option of MMC device driver.
> 
> When I've tried to compile L4 Linux , I've failed it with error log such
> as..
> ==============
> drivers/built-in.o: In function `sdhci_pltfm_clk_get_max_clock':
> /home/taeung/test/source/l4linux/drivers/mmc/host/sdhci-pltfm.c:43:
> undefined reference to `clk_get_rate'
> make[1]: *** [vmlinux] Error 1
> make: *** [sub-make] Error 2
> ==============
> 
> After I saw the log , I've guessed the  cause is that 'drivers/clk/clk.c'
> was not built.
> So, I must enable  'CONFIG_COMMON_CLK' , to build 'drivers/clk/clk.c'
> 
> How to enable 'CONFIG_COMMON_CLK' ?

You need to add 'select COMMON_CLK' to some platform config block (such
as L4_PLATFORM_GENERIC).



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.