Browse Source

"uint" keyword now creates both a normal and an unsigned literal (whose macro name is preceded with "U")

feature/2015
Christian Kroll 14 years ago
parent
commit
b7f2d84266
  1. 3
      scripts/Menuconfig

3
scripts/Menuconfig

@ -1368,6 +1368,7 @@ save_configuration () {
set_x_info "$2" "$3" set_x_info "$2" "$3"
echo "$2=$x" >>$CONFIG echo "$2=$x" >>$CONFIG
echo "#define $2 ($x""u)" >>$CONFIG_H echo "#define $2 ($x""u)" >>$CONFIG_H
echo -e "#define $2 ($x)\n#define U$2 ($x""u)" >>$CONFIG_H
} }
function hex () { function hex () {
@ -1418,7 +1419,7 @@ save_configuration () {
function define_uint () { function define_uint () {
eval $1=\"$2\" eval $1=\"$2\"
echo "$1=$2" >>$CONFIG 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 () { function define_symbol () {

Loading…
Cancel
Save