Commit 787140ad6bb49422e2f114e9b8df18b242df00db
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull misc kbuild changes from Michal Marek: "There are only a few things in the misc branch: - Fix for bugon.cocci semantic patch - Kdevelop4 files are .gitignored - Put make binrpm-pkg on diet" * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: scripts/package: binrpm-pkg do not create source and devel package .gitignore: Add Kdevelop4 project files bugon.cocci: fix Options at the macro
Showing 3 changed files Side-by-side Diff
.gitignore
scripts/coccinelle/misc/bugon.cocci
scripts/package/mkspec
... | ... | @@ -117,6 +117,7 @@ |
117 | 117 | echo 'mv vmlinux.orig vmlinux' |
118 | 118 | echo "%endif" |
119 | 119 | |
120 | +if ! $PREBUILT; then | |
120 | 121 | echo 'rm -f $RPM_BUILD_ROOT'"/lib/modules/$KERNELRELEASE/{build,source}" |
121 | 122 | echo "mkdir -p "'$RPM_BUILD_ROOT'"/usr/src/kernels/$KERNELRELEASE" |
122 | 123 | echo "EXCLUDES=\"$RCS_TAR_IGNORE --exclude .tmp_versions --exclude=*vmlinux* --exclude=*.o --exclude=*.ko --exclude=*.cmd --exclude=Documentation --exclude=firmware --exclude .config.old --exclude .missing-syscalls.d\"" |
... | ... | @@ -124,6 +125,7 @@ |
124 | 125 | echo 'cd $RPM_BUILD_ROOT'"/lib/modules/$KERNELRELEASE" |
125 | 126 | echo "ln -sf /usr/src/kernels/$KERNELRELEASE build" |
126 | 127 | echo "ln -sf /usr/src/kernels/$KERNELRELEASE source" |
128 | +fi | |
127 | 129 | |
128 | 130 | echo "" |
129 | 131 | echo "%clean" |
130 | 132 | |
... | ... | @@ -151,10 +153,12 @@ |
151 | 153 | echo '%defattr (-, root, root)' |
152 | 154 | echo "/usr/include" |
153 | 155 | echo "" |
156 | +if ! $PREBUILT; then | |
154 | 157 | echo "%files devel" |
155 | 158 | echo '%defattr (-, root, root)' |
156 | 159 | echo "/usr/src/kernels/$KERNELRELEASE" |
157 | 160 | echo "/lib/modules/$KERNELRELEASE/build" |
158 | 161 | echo "/lib/modules/$KERNELRELEASE/source" |
159 | 162 | echo "" |
163 | +fi |