* Add dh-kpatches to build-deps-indep.
* Copy asm-offsets.s in place instead of symlinking * Make sure DEBIAN does not get into packages. svn path=/branches/kernel-image-2.6.11/; revision=3289
This commit is contained in:
parent
edb12584a9
commit
e5298f3519
|
@ -210,7 +210,7 @@ build-stamp-$(subarch)-%: build-$(subarch)-%
|
||||||
src="arch/$${arch}/kernel/asm-offsets.s"; \
|
src="arch/$${arch}/kernel/asm-offsets.s"; \
|
||||||
dst="../$(kdir)/$${src}"; \
|
dst="../$(kdir)/$${src}"; \
|
||||||
if [ -f "$${src}" ] && [ ! -e "$${dst}" ]; then \
|
if [ -f "$${src}" ] && [ ! -e "$${dst}" ]; then \
|
||||||
ln -s "$$(pwd)/$${src}" "$${dst}"; \
|
cp -a "$$(pwd)/$${src}" "$${dst}"; \
|
||||||
fi
|
fi
|
||||||
touch build-stamp-$(subarch)-$*
|
touch build-stamp-$(subarch)-$*
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,7 +4,7 @@ Priority: optional
|
||||||
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
|
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
|
||||||
Standards-Version: 3.6.1.0
|
Standards-Version: 3.6.1.0
|
||||||
Build-Depends: gcc (>= 4:3.3), debhelper (>= 4), kernel-package (>= 8.135), module-init-tools, dpkg-dev (>= 1.10.23), debian-utils (>= 1.6), bzip2, console-tools, sparc-utils [sparc]
|
Build-Depends: gcc (>= 4:3.3), debhelper (>= 4), kernel-package (>= 8.135), module-init-tools, dpkg-dev (>= 1.10.23), debian-utils (>= 1.6), bzip2, console-tools, sparc-utils [sparc]
|
||||||
Build-Depends-Indep: bzip2, debhelper (>= 4), docbook-utils, gs, kernel-package (>= 8.135), transfig
|
Build-Depends-Indep: bzip2, debhelper (>= 4), docbook-utils, gs, kernel-package (>= 8.135), transfig, dh-kpatches (>= 0.99.35)
|
||||||
|
|
||||||
Package: linux-source-2.6.11
|
Package: linux-source-2.6.11
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
|
|
@ -199,7 +199,7 @@ clean: unpatch
|
||||||
cd debian; \
|
cd debian; \
|
||||||
rm -f *-stamp-* *-stamp config.* *.kpatches.arch; \
|
rm -f *-stamp-* *-stamp config.* *.kpatches.arch; \
|
||||||
rm -f header-install-* post-install-* bin/touch.orig; \
|
rm -f header-install-* post-install-* bin/touch.orig; \
|
||||||
rm -rf kernel-source-* build-* install-*
|
rm -rf linux-source-* build-* install-*
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
binary-indep: source tree patch-debian doc
|
binary-indep: source tree patch-debian doc
|
||||||
|
|
|
@ -65,7 +65,7 @@ cp -a Module.symvers $dir
|
||||||
|
|
||||||
find . -mindepth 1 -maxdepth 1 \
|
find . -mindepth 1 -maxdepth 1 \
|
||||||
! -name debian -a ! -name Documentation -a ! -name include -a \
|
! -name debian -a ! -name Documentation -a ! -name include -a \
|
||||||
! -name '.*' -a \( \
|
! -name DEBIAN -a ! -name '.*' -a \( \
|
||||||
-name Makefile -o -type d \) \
|
-name Makefile -o -type d \) \
|
||||||
-printf "../linux-headers-$prefix/%f\n" |
|
-printf "../linux-headers-$prefix/%f\n" |
|
||||||
xargs ln -s --target-directory="$dir"
|
xargs ln -s --target-directory="$dir"
|
||||||
|
|
Loading…
Reference in New Issue