From b7f2d84266b3adab4c51c3b73fcdad24e63d2944 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Thu, 10 Mar 2011 21:13:45 +0000 Subject: [PATCH] "uint" keyword now creates both a normal and an unsigned literal (whose macro name is preceded with "U") --- scripts/Menuconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Menuconfig b/scripts/Menuconfig index d85a381..15d77d8 100644 --- a/scripts/Menuconfig +++ b/scripts/Menuconfig @@ -1368,6 +1368,7 @@ save_configuration () { set_x_info "$2" "$3" echo "$2=$x" >>$CONFIG echo "#define $2 ($x""u)" >>$CONFIG_H + echo -e "#define $2 ($x)\n#define U$2 ($x""u)" >>$CONFIG_H } function hex () { @@ -1418,7 +1419,7 @@ save_configuration () { function define_uint () { eval $1=\"$2\" echo "$1=$2" >>$CONFIG - echo "#define $1 ($2""u)" >>$CONFIG_H + echo -e "#define $1 ($2)\n#define U$1 ($2""u)" >>$CONFIG_H } function define_symbol () {