Commit e728ce04 authored by Tim Gardner's avatar Tim Gardner

UBUNTU: [Debian] config-check and prepare using ${DEBIAN}/config/annotations

Annotations are unique to the derivative. Therefore, use annotations
found in the derivative config directory.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
(cherry picked from commit 4f92f80963c358c9716e70d912449a7c2a5808aa)
Signed-off-by: default avatarPaolo Pisati <paolo.pisati@canonical.com>
parent 782587c1
......@@ -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)"
......@@ -24,7 +24,6 @@ case "$mode" in
esac
kerneldir="`pwd`"
confdir="$kerneldir/${DEBIAN}/config"
sharedconfdir="$kerneldir/debian.master/config"
variant="$2"
. $DEBIAN/etc/kernelconfig
......@@ -158,7 +157,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment