X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fdpdk_qat%2FMakefile;h=70fa2e25c220b85400b6273102cab8b9e94c66c1;hb=6441b9f65327386490d4a4f2e2a09458f6e070bc;hp=f1b0cbb7e90701546583c24eb6e9134b7d9c28d5;hpb=af75078fece3615088e561357c1e97603e43a5fe;p=dpdk.git diff --git a/examples/dpdk_qat/Makefile b/examples/dpdk_qat/Makefile index f1b0cbb7e9..70fa2e25c2 100644 --- a/examples/dpdk_qat/Makefile +++ b/examples/dpdk_qat/Makefile @@ -29,7 +29,6 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# version: DPDK.L.1.2.3-3 ifeq ($(RTE_SDK),) $(error "Please define RTE_SDK environment variable") @@ -49,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 @@ -68,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