diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index f9f1202e9c..91f188aec5 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc | |||
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| 7 | DEPENDS = "ncurses-native" | 7 | DEPENDS = "ncurses-native" |
| 8 | DEPENDS_virtclass-native = "" | 8 | DEPENDS_virtclass-native = "" |
| 9 | INC_PR = "r12" | 9 | INC_PR = "r13" |
| 10 | 10 | ||
| 11 | inherit autotools binconfig multilib_header | 11 | inherit autotools binconfig multilib_header |
| 12 | 12 | ||
| @@ -54,6 +54,31 @@ EX_TERMINFO = "" | |||
| 54 | EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | 54 | EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" |
| 55 | EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | 55 | EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" |
| 56 | 56 | ||
| 57 | # Display corruption occurs on 64 bit hosts without these settings | ||
| 58 | # This was derrived from the upstream debian ncurses which uses | ||
| 59 | # these settings for 32 and 64 bit hosts. | ||
| 60 | EXCONFIG_ARGS = "" | ||
| 61 | EXCONFIG_ARGS_virtclass-native = " \ | ||
| 62 | --disable-lp64 \ | ||
| 63 | --with-chtype='long' \ | ||
| 64 | --with-mmask-t='long'" | ||
| 65 | EXCONFIG_ARGS_virtclass-nativesdk = " \ | ||
| 66 | --disable-lp64 \ | ||
| 67 | --with-chtype='long' \ | ||
| 68 | --with-mmask-t='long'" | ||
| 69 | |||
| 70 | # Fall back to the host termcap / terminfo for -nativesdk and -native | ||
| 71 | # The reality is a work around for strange problems with things like | ||
| 72 | # "bitbake -c menuconfig busybox" where it cannot find the terminfo | ||
| 73 | # because the sstate had a hard coded search path. Until this is fixed | ||
| 74 | # another way this is deemed good enough. | ||
| 75 | EX_TERMCAP = "" | ||
| 76 | EX_TERMCAP_virtclass-native = ":/etc/termcap:/usr/share/misc/termcap" | ||
| 77 | EX_TERMCAP_virtclass-nativesdk = ":/etc/termcap:/usr/share/misc/termcap" | ||
| 78 | EX_TERMINFO = "" | ||
| 79 | EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | ||
| 80 | EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | ||
| 81 | |||
| 57 | # Helper function for do_configure to allow multiple configurations | 82 | # Helper function for do_configure to allow multiple configurations |
| 58 | # $1 the directory to run configure in | 83 | # $1 the directory to run configure in |
| 59 | # $@ the arguments to pass to configure | 84 | # $@ the arguments to pass to configure |
