From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C98F2E00809; Fri, 6 Feb 2015 02:19:22 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 47D2FE00757 for ; Fri, 6 Feb 2015 02:19:19 -0800 (PST) Received: from [192.168.0.123] (unknown [93.152.143.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx2.mail.bg (Postfix) with ESMTPSA id 47BB160054DC; Fri, 6 Feb 2015 12:19:18 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1423217958; bh=8A7zMNm8Qpg9JMk8JUBEHdOKhPwqZRdXX0V8SXT7QBo=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Rs1mB6/GAYxojk07CUZWy3DcUACnQlyn26QCSToXII+s2/vj2q4c+CK9HzGVQyllg Qb9/Rp29Q0n6AWz3v++++hnL5a705fRZc0ONH/ZNI0oIZ34r7P6YaOLxZAyuEb7MPU q9sgqaqIvwWq88Ryj8pxl1KLF5ip6dPLWFY1NOWw= Message-ID: <54D49526.5020606@mail.bg> Date: Fri, 06 Feb 2015 12:19:18 +0200 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Wally Yeh References: In-Reply-To: Cc: meta-freescale Subject: Re: linux-imx 3.10.17 can't build without CONFIG_SOC_IMX6SL selected. X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 10:19:22 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Wally, On 02/06/2015 11:33 AM, Wally Yeh wrote: > Hi, guys: > Since my board is i.mx6Q sabresd. Only I wanna keep > is CONFIG_SOC_IMX6Q, so I removed all other CONFIG_SOC_* . > But if I remove CONFIG_SOC_IMX6SL, linux-imx will never build > successfully. > > If this config is really necessary, shouldn't we just make > CONFIG_SOC_IMX6SL always be selected with CONFIG_SOC_IMX6Q? The config is needed, as there are hard-coded invocations of mx6s-specific code in the kernel. If you remove the CONFIG_SOC_IMX6SL, linkage will fail while looking for stuff like: imx6sl_set_wait_clk() init_mmdc_lpddr2_settings() update_lpddr2_freq() If you really insist on changing this, you can axe-hack all source files which contain invocations of cpu_is_imx6sl(). Or, fix it and submit a patch. Probably you're right that it could have been implemented better, but unless we improve it, that's what we have :D. Kind regards, Nikolay