Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161514AbbKTAFb (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 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1630 Lines: 43 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 -- 2.5.0 -- 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/