From patchwork Fri Jan 3 17:59:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11317251 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 26AC41398 for ; Fri, 3 Jan 2020 17:59:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 064B4215A4 for ; Fri, 3 Jan 2020 17:59:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578074384; bh=xn1Q54HWkOB4uBFT5MNOts3FC211CUhekLUk48JFLB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EtSSQzO/+wiBZb+7JY8gQS0xmGKhec9goZn/hg97tDwvPc7eXNcaUTOHLkbhqhAjg yIbZZAs9x2bGdnM2vlohl6528nPz4SSqCA+rg9cn93xs1ACMhZc1CGdZmEoxDKmdD7 51nB1ZMjGMwXujvmqWvei5qEPOBNJ3+0c8AdDMK0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbgACR7k (ORCPT ); Fri, 3 Jan 2020 12:59:40 -0500 Received: from conuserg-07.nifty.com ([210.131.2.74]:64713 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728220AbgACR7j (ORCPT ); Fri, 3 Jan 2020 12:59:39 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-07.nifty.com with ESMTP id 003HxSJ6022724; Sat, 4 Jan 2020 02:59:31 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com 003HxSJ6022724 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1578074371; bh=bJfY9P/JRKRZL7zus1oisBlsP9ihX0EmmC9HMpfIWSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PTu8eM5NHXVqrx5W1k/BibTYQ0P4tMRWzZvHSbFNWXpZ6kxxVnWK1xBvz7QzgdNkj jDEC15QKl6bSHyX9S/qbDMKQ9ixMvaRO4yDrrLjWpATl2X3otG12gWzxnaVm13Lk5k 8wAb0w1g7417BhkzYSbCy5Asxp81gug3naTYzYd4ssC/fIDJVQArVqxGWOXdL9hqyW +AT3N66EgAhgBLOgA1Hh61TVWhaULFXPwYsLg5mmktpEhjCN8WlMOKNzv8+Pv2SE17 RHn5RY/50mGN38cVNVDeaL6gjyH4lYrrmlyhMhHgGdWYJrzIJ29mBY3GWdICteylKk sncjN4GY//lUw== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH 05/12] initramfs: make compression options not depend on INITRAMFS_SOURCE Date: Sat, 4 Jan 2020 02:59:08 +0900 Message-Id: <20200103175915.26663-6-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200103175915.26663-1-masahiroy@kernel.org> References: <20200103175915.26663-1-masahiroy@kernel.org> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Even if INITRAMFS_SOURCE is empty, usr/gen_initramfs.sh generates a tiny default initramfs, which is embedded in vmlinux. So, defining INITRAMFS_COMPRESSION* options should be valid irrespective of INITRAMFS_SOURCE. Signed-off-by: Masahiro Yamada --- usr/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr/Kconfig b/usr/Kconfig index 72f50a21c051..43934c128010 100644 --- a/usr/Kconfig +++ b/usr/Kconfig @@ -102,7 +102,6 @@ config RD_LZ4 choice prompt "Built-in initramfs compression mode" - depends on INITRAMFS_SOURCE!="" optional help This option allows you to decide by which algorithm the builtin @@ -211,7 +210,6 @@ config INITRAMFS_COMPRESSION_LZ4 endchoice config INITRAMFS_COMPRESSION - depends on INITRAMFS_SOURCE!="" string default "" if INITRAMFS_COMPRESSION_NONE default ".gz" if INITRAMFS_COMPRESSION_GZIP