From f9289d537a769aa033cd3fa547e644b3406fe92b Mon Sep 17 00:00:00 2001 From: Bin Wang Date: Mon, 25 Feb 2013 11:05:24 +0800 Subject: [PATCH] --- yaml --- r: 373708 b: refs/heads/master c: 4c6e00cffcd478a369b6fd0ba61f5b0f9643ff43 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/package/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d57326c1c467..8a6a5b63d527 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff4eb04c88588118a4c0f0b8308c9c475f3bc9fe +refs/heads/master: 4c6e00cffcd478a369b6fd0ba61f5b0f9643ff43 diff --git a/trunk/scripts/package/Makefile b/trunk/scripts/package/Makefile index 87bf08076b11..d7b328595a7e 100644 --- a/trunk/scripts/package/Makefile +++ b/trunk/scripts/package/Makefile @@ -36,7 +36,7 @@ $(objtree)/kernel.spec: $(MKSPEC) $(srctree)/Makefile $(CONFIG_SHELL) $(MKSPEC) > $@ rpm-pkg rpm: $(objtree)/kernel.spec FORCE - @if test -n "$(KBUILD_OUTPUT)"; then \ + @if test "$(objtree)" != "$(srctree)"; 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."; \