From patchwork Fri Nov 20 00:05:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Davis X-Patchwork-Id: 7662511 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 952529F1C2 for ; Fri, 20 Nov 2015 00:05:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3FCA2051F for ; Fri, 20 Nov 2015 00:05:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98EB1204D9 for ; Fri, 20 Nov 2015 00:05:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934432AbbKTAFb (ORCPT ); Thu, 19 Nov 2015 19:05:31 -0500 Received: from mail-oi0-f44.google.com ([209.85.218.44]:34679 "EHLO mail-oi0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934126AbbKTAFa (ORCPT ); Thu, 19 Nov 2015 19:05:30 -0500 Received: by oies6 with SMTP id s6so56160233oie.1; Thu, 19 Nov 2015 16:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=znnKbgeDTLjgMoog9eT5BfhaGfhxED1glVUzFBWt994=; b=Tgw1HCxke8Qz5jbsy32dr/Lp4v2iw7DtVCbOQ34+rWCs6BxUGRxSPLzrqVwh8IIdET sPfctZ88Gt4UA1ofEO7RD+d4Ob95FF6prb9r5gI+PJ8HYdZRhyeAs21tLvK3LcvjuqkP ExL9/mum/E/e0Ec8xnQ7DhoylzZwZdGcpUxgMPFPcU/Qtk02lmFjMJZD22WPIYCo1GG9 iIuTqCHE/gABMfO/KsxhhCCR7uxvgm4l2uYv/y7cWh0F8WbfZ8w7hn/aOjuxXMGW59FE hSIAvu1gy+WSeTQm/HnGx0usdVwkKbOqtXyKnTeSaFLYu0u5L+eUZU64iO1RkjDOpR0l 83JQ== X-Received: by 10.202.228.137 with SMTP id b131mr6873159oih.100.1447977929857; Thu, 19 Nov 2015 16:05:29 -0800 (PST) Received: from localhost.localdomain.localdomain (krebstar.arl.arizona.edu. [128.196.124.160]) by smtp.gmail.com with ESMTPSA id m10sm4344709oex.12.2015.11.19.16.05.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Nov 2015 16:05:29 -0800 (PST) From: Jim Davis To: mmarek@suse.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Cc: alaa.hl2@gmail.com Subject: [PATCH v2] scripts/package/Makefile: Restore the RPMOPTS variable Date: Thu, 19 Nov 2015 17:05:15 -0700 Message-Id: <1447977915-12925-1-git-send-email-jim.epost@gmail.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Restore the RPMOPTS variable to the rpm-pkg and binrpm-pkg targets that commit 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed for rpm targets") removed. Reported-by: Alaa Hleihel Fixes: 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed for rpm targets") Signed-off-by: Jim Davis --- v2: Added a Fixes: line scripts/package/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 1aca224e8597..493e226356ca 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile @@ -52,7 +52,7 @@ rpm-pkg rpm: FORCE $(call cmd,src_tar,$(KERNELPATH),kernel.spec) $(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version mv -f $(objtree)/.tmp_version $(objtree)/.version - rpmbuild --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz + rpmbuild $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz rm $(KERNELPATH).tar.gz kernel.spec # binrpm-pkg @@ -63,7 +63,7 @@ binrpm-pkg: FORCE $(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version mv -f $(objtree)/.tmp_version $(objtree)/.version - rpmbuild --define "_builddir $(objtree)" --target \ + rpmbuild $(RPMOPTS) --define "_builddir $(objtree)" --target \ $(UTS_MACHINE) -bb $(objtree)/binkernel.spec rm binkernel.spec