]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scripts/package/Makefile: rpmbuild add support of RPMOPTS
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Sun, 15 May 2016 03:09:52 +0000 (20:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:14:37 +0000 (18:14 -0700)
commit4b2fb17654ef0ffd08b92293a09c5ead0499e2ef
tree3b9741130009efd57a16e1e8b2ed92c27dea8199
parent7d0b494532b703da654f96389804f491a6594bbb
scripts/package/Makefile: rpmbuild add support of RPMOPTS

commit 65a9f31c5042e5bb50d30ed8ae374044be561054 upstream.

After commit 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed
for rpm targets"), it is no longer possible to specify RPMOPTS.
For example, we can no longer able to control _topdir using the following
make command.
make RPMOPTS="--define '_topdir /home/xyz/workspace/'" binrpm-pkg

Fixes: 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed for rpm targets")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/package/Makefile