This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Titus von Boxberg <titus@v9g.de> # Date 1274489954 -7200 # Node ID 32d6416c5e29c88053dc9e660781dceb23d7afe2 # Parent ab72df28f3630f4c577d3f3a4fd40e11320f78d3 docs/kconfig.mk: Use ncurses from macports on MacOS Somehow the menuconfig software does not accept arrows when linked against the standard ncurses on my Mac. The ncurses lib installed via macports works, so use that one. diff -r ab72df28f363 -r 32d6416c5e29 kconfig/kconfig.mk --- a/kconfig/kconfig.mk Sat May 22 02:20:36 2010 +0200 +++ b/kconfig/kconfig.mk Sat May 22 02:59:14 2010 +0200 @@ -5,6 +5,9 @@ # Derive the project version from, well, the project version: export PROJECTVERSION=$(CT_VERSION) +# Get OS name +OS = $(shell uname) + # The place where the kconfig stuff lies obj = kconfig @@ -65,8 +68,14 @@ check_lxdialog = $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh # Build flags -CFLAGS = +# On MacOS use libs from macports first (for ncurses) +ifeq ($(OS),Darwin) +CFLAGS = -I/opt/local/include +LDFLAGS = -L/opt/local/lib +else +CFLAGS = LDFLAGS = +endif # Compiler flags to use gettext INTL_CFLAGS = $(shell $(SHELL) $(check_gettext) $(HOST_CC) $(EXTRA_CFLAGS)) -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |