[Wily PATCH v2] UBUNTU: [Debian] config-check and prepare using ${DEBIAN}/config/annotations
tim.gardner at canonical.com
tim.gardner at canonical.com
Tue Oct 6 16:43:38 UTC 2015
From: Tim Gardner <tim.gardner at canonical.com>
Annotations are unique to the derivative. Therefore, use annotations
found in the derivative config directory.
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
Instead of changing the value of sharedconfdir, just use an already defined
variable, e.g., commonconfdir.
debian/rules.d/4-checks.mk | 2 +-
debian/scripts/misc/kernelconfig | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/rules.d/4-checks.mk b/debian/rules.d/4-checks.mk
index a3c8ed9..a431d0b 100644
--- a/debian/rules.d/4-checks.mk
+++ b/debian/rules.d/4-checks.mk
@@ -23,5 +23,5 @@ checks-%: module-check-% abi-check-%
config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
@echo Debug: $@
@perl -f $(DROOT)/scripts/config-check \
- $(builddir)/build-$*/.config "$(arch)" "$*" "$(sharedconfdir)" "$(skipconfig)"
+ $(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" "$(skipconfig)"
diff --git a/debian/scripts/misc/kernelconfig b/debian/scripts/misc/kernelconfig
index ba8f317..a5321d7 100755
--- a/debian/scripts/misc/kernelconfig
+++ b/debian/scripts/misc/kernelconfig
@@ -24,7 +24,6 @@ case "$mode" in
esac
kerneldir="`pwd`"
confdir="$kerneldir/${DEBIAN}/config"
-sharedconfdir="$kerneldir/debian.master/config"
variant="$2"
. $DEBIAN/etc/kernelconfig
@@ -157,7 +156,7 @@ for arch in $archs; do
flavour="${config##*.}"
if [ -f $archconfdir/$config ]; then
fullconf="$tmpdir/CONFIGS/$arch-$config"
- "$bindir/../config-check" "$fullconf" "$arch" "$flavour" "$sharedconfdir" "0" || let "fail=$fail+1"
+ "$bindir/../config-check" "$fullconf" "$arch" "$flavour" "$confdir" "0" || let "fail=$fail+1"
fi
done
done
--
1.9.1
More information about the kernel-team
mailing list