summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/package/Makefile
diff options
context:
space:
mode:
authorNavya <navyax.bathula@intel.com>2017-04-10 19:03:58 +0530
committerNavya Bathula <navyax.bathula@intel.com>2017-05-15 04:44:00 +0000
commit2fde080c8c418c0474b285b823e9d7f2346f05a3 (patch)
tree795fcffdeaf3ac734adb19d324dd0739c00e251c /kernel/scripts/package/Makefile
parent39928e5e9503db6f1971c74a84e3d10a4e4f6a6e (diff)
To generate debug rpm and debian package for kvmfornfv kernel
This patch is used to strip the debug information from binary files and generate separate debug package along with binary package while building the kernel.The debuginfo package is uploaded only for daily job. Upstream status: Pending Change-Id: Iad2cfd8e252d218a9d603e9dbed2aa557d83e263 Co-Authored by:shravani paladugula <shravani.p@tcs.com> Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
Diffstat (limited to 'kernel/scripts/package/Makefile')
-rw-r--r--kernel/scripts/package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/scripts/package/Makefile b/kernel/scripts/package/Makefile
index 493e22635..a7ed59597 100644
--- a/kernel/scripts/package/Makefile
+++ b/kernel/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 $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz
+ QA_SKIP_BUILD_ROOT=1 rpmbuild $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz
rm $(KERNELPATH).tar.gz kernel.spec
# binrpm-pkg