Ignore:yes
The binary build calls the target config-prepare-check-generic to
ensure the config is valid before compiling the kernel. This target
however is using the flag do_enforce_all to control if all the
annotations should be enforced on now.
However, during development the target updateconfigs is used instead
to verify the config options are matching the annotations file, but
this target currently always assumes only annotations explicitly
marked should be enforced.
Update kernelconfig and the maintainer make file to pass the
do_enforce_all when running the target updateconfigs.
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
# Menu: Device Drivers >> IOMMU Hardware Support >> Support for Intel IOMMU using DMA Remapping Devices
CONFIG_INTEL_IOMMU policy<{'amd64': 'y', 'i386': 'y'}>
-CONFIG_INTEL_IOMMU_SVM policy<{'amd64': 'y', 'i386': 'y'}>
+CONFIG_INTEL_IOMMU_SVM policy<{'amd64': 'y', 'i386': '-'}>
CONFIG_INTEL_IOMMU_DEFAULT_ON policy<{'amd64': 'n', 'i386': 'n'}>
#
CONFIG_INTEL_IOMMU_DEFAULT_ON note<the IOMMU can trigger boot failures> flag<REVIEW>
updateconfigs defaultconfigs editconfigs genconfigs dumpconfigs:
dh_testdir;
- $(SHELL) $(DROOT)/scripts/misc/kernelconfig $@
+ $(SHELL) $(DROOT)/scripts/misc/kernelconfig $@ "$(do_enforce_all)"
rm -rf build
updateportsconfigs defaultportsconfigs editportsconfigs genportsconfigs askconfigs:
exit 1
fi
-mode=${1:?"Usage: $0 [oldconfig|editconfig]"}
+mode=${1:?"Usage: $0 (oldconfig|editconfig) [do_enforce_all]"}
+do_enforce_all=${2:-0}
yes=0
case "$mode" in
update*configs) mode='syncconfig' ;;
if [ -f $archconfdir/$config ]; then
fullconf="$tmpdir/CONFIGS/$arch-$config"
[ ! -f "$fullconf" ] && continue
- "$bindir/../config-check" "$fullconf" "$arch" "$flavour" "$confdir" "0" "0" || let "fail=$fail+1"
+ "$bindir/../config-check" "$fullconf" "$arch" "$flavour" "$confdir" "0" "$do_enforce_all" || let "fail=$fail+1"
fi
done
done