Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755773Ab0AFKFi (ORCPT ); Wed, 6 Jan 2010 05:05:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755725Ab0AFKFi (ORCPT ); Wed, 6 Jan 2010 05:05:38 -0500 Received: from cantor.suse.de ([195.135.220.2]:59307 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755666Ab0AFKFh (ORCPT ); Wed, 6 Jan 2010 05:05:37 -0500 From: Nikanth Karthikesan Organization: suse.de To: linux-kernel@vger.kernel.org Subject: make firmware_install pollutes $(objtree) with files owned by root Date: Wed, 6 Jan 2010 15:36:25 +0530 User-Agent: KMail/1.12.2 (Linux/2.6.31.8-0.1-default; KDE/4.3.1; x86_64; ; ) Cc: David Woodhouse , Michal Marek MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001061536.25576.knikanth@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 23 Hi `make firmware_install` has to be run as root, so that the firmware could be installed in /lib/firmware. But it doesn't simply install firmware from the object directory. It first copies/converts files from source directory to the object directory, which then gets installed. This leads to the situation where `make clean` cannot be run as normal user as he cannot remove files belonging to root. It would be a common expectaion to be able to delete the source/object tree as user. We should introduce another make target, `make firmware` to convert/copy files from src dir to obj dir. Or this intermediate step should be avoided. Or atleast `make firmware_install` should delete the files it created in the object tree. Thanks Nikanth -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/