Commit a267699bea1f46a849e788f277e7166f6244918d

Authored by Chris Packham
Committed by Tom Rini
1 parent 24431adc36

Makefile: output migration warnings to stderr

Output the device model migration warnings to stderr. This allows tools
like buildman to pick them up rather than suppressing them along with
the normal build output on stdout.

Signed-off-by: Chris Packham <judge.packham@gmail.com>

Showing 1 changed file with 29 additions and 29 deletions Side-by-side Diff

... ... @@ -912,47 +912,47 @@
912 912  
913 913 all: $(ALL-y) cfg
914 914 ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y)
915   - @echo "===================== WARNING ======================"
916   - @echo "This board uses CONFIG_DM_I2C_COMPAT. Please remove"
917   - @echo "(possibly in a subsequent patch in your series)"
918   - @echo "before sending patches to the mailing list."
919   - @echo "===================================================="
  915 + @echo >&2 "===================== WARNING ======================"
  916 + @echo >&2 "This board uses CONFIG_DM_I2C_COMPAT. Please remove"
  917 + @echo >&2 "(possibly in a subsequent patch in your series)"
  918 + @echo >&2 "before sending patches to the mailing list."
  919 + @echo >&2 "===================================================="
920 920 endif
921 921 ifeq ($(CONFIG_MMC),y)
922 922 ifneq ($(CONFIG_DM_MMC)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
923   - @echo "===================== WARNING ======================"
924   - @echo "This board does not use CONFIG_DM_MMC. Please update"
925   - @echo "the board to use CONFIG_DM_MMC before the v2019.04 release."
926   - @echo "Failure to update by the deadline may result in board removal."
927   - @echo "See doc/driver-model/MIGRATION.txt for more info."
928   - @echo "===================================================="
  923 + @echo >&2 "===================== WARNING ======================"
  924 + @echo >&2 "This board does not use CONFIG_DM_MMC. Please update"
  925 + @echo >&2 "the board to use CONFIG_DM_MMC before the v2019.04 release."
  926 + @echo >&2 "Failure to update by the deadline may result in board removal."
  927 + @echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
  928 + @echo >&2 "===================================================="
929 929 endif
930 930 endif
931 931 ifeq ($(CONFIG_USB),y)
932 932 ifneq ($(CONFIG_DM_USB)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
933   - @echo "===================== WARNING ======================"
934   - @echo "This board does not use CONFIG_DM_USB. Please update"
935   - @echo "the board to use CONFIG_DM_USB before the v2019.07 release."
936   - @echo "Failure to update by the deadline may result in board removal."
937   - @echo "See doc/driver-model/MIGRATION.txt for more info."
938   - @echo "===================================================="
  933 + @echo >&2 "===================== WARNING ======================"
  934 + @echo >&2 "This board does not use CONFIG_DM_USB. Please update"
  935 + @echo >&2 "the board to use CONFIG_DM_USB before the v2019.07 release."
  936 + @echo >&2 "Failure to update by the deadline may result in board removal."
  937 + @echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
  938 + @echo >&2 "===================================================="
939 939 endif
940 940 endif
941 941 ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y)
942   - @echo "===================== WARNING ======================"
943   - @echo "This board does not use CONFIG_DM_SCSI. Please update"
944   - @echo "the storage controller to use CONFIG_DM_SCSI before the v2019.07 release."
945   - @echo "Failure to update by the deadline may result in board removal."
946   - @echo "See doc/driver-model/MIGRATION.txt for more info."
947   - @echo "===================================================="
  942 + @echo >&2 "===================== WARNING ======================"
  943 + @echo >&2 "This board does not use CONFIG_DM_SCSI. Please update"
  944 + @echo >&2 "the storage controller to use CONFIG_DM_SCSI before the v2019.07 release."
  945 + @echo >&2 "Failure to update by the deadline may result in board removal."
  946 + @echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
  947 + @echo >&2 "===================================================="
948 948 endif
949 949 ifeq ($(CONFIG_OF_EMBED),y)
950   - @echo "===================== WARNING ======================"
951   - @echo "CONFIG_OF_EMBED is enabled. This option should only"
952   - @echo "be used for debugging purposes. Please use"
953   - @echo "CONFIG_OF_SEPARATE for boards in mainline."
954   - @echo "See doc/README.fdt-control for more info."
955   - @echo "===================================================="
  950 + @echo >&2 "===================== WARNING ======================"
  951 + @echo >&2 "CONFIG_OF_EMBED is enabled. This option should only"
  952 + @echo >&2 "be used for debugging purposes. Please use"
  953 + @echo >&2 "CONFIG_OF_SEPARATE for boards in mainline."
  954 + @echo >&2 "See doc/README.fdt-control for more info."
  955 + @echo >&2 "===================================================="
956 956 endif
957 957 @# Check that this build does not use CONFIG options that we do not
958 958 @# know about unless they are in Kconfig. All the existing CONFIG