From patchwork Mon Jan 21 07:28:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Wang X-Patchwork-Id: 2009411 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id DB921DF23A for ; Mon, 21 Jan 2013 07:28:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186Ab3AUH2W (ORCPT ); Mon, 21 Jan 2013 02:28:22 -0500 Received: from mail-da0-f43.google.com ([209.85.210.43]:55727 "EHLO mail-da0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752176Ab3AUH2U (ORCPT ); Mon, 21 Jan 2013 02:28:20 -0500 Received: by mail-da0-f43.google.com with SMTP id u36so2590959dak.30 for ; Sun, 20 Jan 2013 23:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=NWrUYWmRgw0CuPy4KREqdM2Wz9q5CTVJyG0nJjbte3M=; b=MR0cwnQYZdMDZILYSn6qZFD4nO6LROqB3QKQiFbV3ICxQUIRfFISo77cMIL7mQcUX6 6aE+RVX6xsDTtZH1sD63R9Mu1XzSk5U6whKXilk7aimaUbDnz3pdt/eCAwk44Q5gW4Ts aCsTt/24MZzvyLvlFj4v5R8CC/zN9eTK1Uc3ifKvWxTNxXrwNnWsxNt3cTY3NH/PqOLX GpAkr5WiGpLPuSiixcJeltxe0dOL6XXeuqNmSgrhVYvQrnA9lshPgxrRwdSfYL94CyDw kQmIq2xbOFyVty21b/OuxGJpKRNcG7oyWH4sxXtKQA4PVk/fETDI7ozcmuhcCwlIP486 9c6Q== X-Received: by 10.68.229.169 with SMTP id sr9mr27375787pbc.120.1358753300326; Sun, 20 Jan 2013 23:28:20 -0800 (PST) Received: from dhcp12-241.nay.redhat.com ([203.114.244.88]) by mx.google.com with ESMTPS id bv10sm8764347pab.14.2013.01.20.23.28.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 20 Jan 2013 23:28:19 -0800 (PST) From: Bin Wang To: Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bin Wang Subject: [PATCH 1/1] scripts/package/Makefile: remove useless KBUILD_OUTPUT test Date: Mon, 21 Jan 2013 15:28:05 +0800 Message-Id: <1358753285-11812-1-git-send-email-wbin00@gmail.com> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org The test of KBUILD_OUTPUT in "rpm-pkg rpm" target is useless. KBUILD_OUTPUT is always empty here. Signed-off-by: Bin Wang --- scripts/package/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 87bf080..ba073a6 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile @@ -36,12 +36,6 @@ $(objtree)/kernel.spec: $(MKSPEC) $(srctree)/Makefile $(CONFIG_SHELL) $(MKSPEC) > $@ rpm-pkg rpm: $(objtree)/kernel.spec FORCE - @if test -n "$(KBUILD_OUTPUT)"; then \ - echo "Building source + binary RPM is not possible outside the"; \ - echo "kernel source tree. Don't set KBUILD_OUTPUT, or use the"; \ - echo "binrpm-pkg target instead."; \ - false; \ - fi $(MAKE) clean $(PREV) ln -sf $(srctree) $(KERNELPATH) $(CONFIG_SHELL) $(srctree)/scripts/setlocalversion --save-scmversion