From e596e8e66b014161116c207daa8d42cff849bfd2 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 24 Jul 2014 15:13:24 +0800 Subject: ui/ncurses: Move menu initialisation to cui code We'll want to re-initialise the petitboot main menu (when the language is changed), which we can't do if the items are populated entirely from the main() function. This change moves the menu initilisation to the cui code, we we can re-init when necessary. Signed-off-by: Jeremy Kerr --- ui/ncurses/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/ncurses/Makefile.am') diff --git a/ui/ncurses/Makefile.am b/ui/ncurses/Makefile.am index be4c417..39cf597 100644 --- a/ui/ncurses/Makefile.am +++ b/ui/ncurses/Makefile.am @@ -35,6 +35,7 @@ libpbnc_la_SOURCES = \ nc-config-help.c \ nc-cui.c \ nc-cui.h \ + nc-cui-help.c \ nc-boot-editor.c \ nc-boot-editor.h \ nc-boot-editor-help.c \ @@ -59,7 +60,7 @@ sbin_PROGRAMS += petitboot-ps3-nc endif -petitboot_nc_SOURCES = generic-main.c generic-main-help.c +petitboot_nc_SOURCES = generic-main.c petitboot_nc_LDADD = $(common_libs) petitboot_ps3_nc_SOURCES = ps3-main.c -- cgit v1.1