ARM64: Cross-Compilation Support

Undefined references to the ncurses library APIs
_nc_panelhook_sp, getmouse, ungetmouse, copywin etc. while
cross-compiling with aarch64-none-linux-gnu/10.2.1 compiler.

Hence putting the libraries in the right link order.

Signed-off-by: Krishna Kanth Reddy <krish.reddy@samsung.com>
Change-Id: If019744cf6b7bf79c072de57232bcf412d919a2b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8701
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Krishna Kanth Reddy 2021-07-07 14:52:45 +05:30 committed by Tomasz Zawadzki
parent 7b9bd8ac2f
commit 3a2aa71ee2

View File

@ -39,6 +39,6 @@ APP = spdk_top
C_SRCS := spdk_top.c C_SRCS := spdk_top.c
SPDK_LIB_LIST = rpc SPDK_LIB_LIST = rpc
LIBS=-lncurses -lpanel -lmenu LIBS=-lpanel -lmenu -lncurses
include $(SPDK_ROOT_DIR)/mk/spdk.app.mk include $(SPDK_ROOT_DIR)/mk/spdk.app.mk