X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fdpdk_qat%2FMakefile;h=70fa2e25c220b85400b6273102cab8b9e94c66c1;hb=3460012bcce6b5884ae20662a5e7191d3adcc71f;hp=58fbbddb116a4252accb0056b42c02b7b265403e;hpb=48a5ba09770ce0382e08a83d9971a92368e67165;p=dpdk.git diff --git a/examples/dpdk_qat/Makefile b/examples/dpdk_qat/Makefile index 58fbbddb11..70fa2e25c2 100644 --- a/examples/dpdk_qat/Makefile +++ b/examples/dpdk_qat/Makefile @@ -48,9 +48,13 @@ $(error This application can only operate in a linuxapp environment, \ please change the definition of the RTE_TARGET environment variable) endif +LBITS := $(shell uname -p) ifneq ($(CONFIG_RTE_ARCH),"x86_64") -$(error This application can only operate in a x86_64 environment, \ -please change the definition of the RTE_TARGET environment variable) + ifneq ($(LBITS),i686) + $(error The RTE_TARGET chosen is not compatible with this environment \ + (x86_64), for this application. Please change the definition of the \ + RTE_TARGET environment variable, or run the application on a 32-bit OS) + endif endif # binary name @@ -67,6 +71,7 @@ CFLAGS += -I$(ICP_ROOT)/quickassist/include \ LDLIBS += -L$(ICP_ROOT)/build LDLIBS += $(ICP_ROOT)/build/icp_qa_al.a \ + -lz \ -losal \ -ladf_proxy \ -lcrypto