Makfile updates for yocto
authorTinku Mannan <tmannan@ti.com>
Wed, 10 Jul 2013 17:52:42 +0000 (13:52 -0400)
committerTinku Mannan <tmannan@ti.com>
Wed, 10 Jul 2013 17:52:42 +0000 (13:52 -0400)
ti/runtime/netapi/applications/ipsec_offload/config-app/build/Makefile
ti/runtime/netapi/applications/ipsec_offload/ipsecmgr/build/Makefile

index 9065562adcd6c6f9738103319852923c213fcc52..5f39989e3127101cd8b641a81071e0848da35f0c 100755 (executable)
@@ -43,7 +43,7 @@ IPSECMGR_IPC_LIB=ipsecmgr_ipc
 IPSECMGR_SYSLOG_LIB=ipsecmgr_syslog
 IPSECMGR_SNOOP_LIB=ipsecmgr_snoop
 LD_OPTS += -pthread -lrt
-LD_OPTS += -L $(ARMV7LIBDIR) -L $(PDK_ARMV7LIBDIR) -L $(IPSECMGR_LIB_PATH) -l$(IPSECMGR_SNOOP_LIB) -l$(IPSECMGR_IPC_LIB) -l$(IPSECMGR_SYSLOG_LIB)
+LD_OPTS += -L $(ARMV7LIBDIR) -L $(PDK_ARMV7LIBDIR) -l$(IPSECMGR_SNOOP_LIB) -l$(IPSECMGR_IPC_LIB) -l$(IPSECMGR_SYSLOG_LIB)
 
 ###############################################################################
 # List of modules and their files
@@ -92,8 +92,6 @@ $(BIN_DIR)/$(EXE_NAME): $(CONFIG_APP_OBJS) $(BIN_DIR)/.created
 install:
        install -d $(INSTALL_BIN_BASE_DIR)
        install -c -m 755 $(BIN_DIR)/* $(INSTALL_BIN_BASE_DIR)
-       install -d $(INSTALL_INC_BASE_DIR)/ti/runtime/netapi/applications/ipsec_offload/config-app/src
-       install -c -m 644 ../src/*.h $(INSTALL_INC_BASE_DIR)/ti/runtime/netapi/applications/ipsec_offload/config-app/src
 
 clean:
        rm -rf $(OBJ_DIR)
index 56f96f115f9233494309946397d70966d01d400e..7b952f4297f27b1ef255ac3b2b7c6415b16912fd 100755 (executable)
@@ -6,7 +6,7 @@ export ARMV7OBJDIR ?= ./obj
 export ARMV7BINDIR ?= ./bin
 export ARMV7LIBDIR ?= ./lib
 export ARMV7SALIBDIR ?= ./lib
-export ARMV7LIBDIRLOCAL ?= ../../lib
+
 # INCLUDE Directories
 SA_INSTALL_PATH ?= $(PDK_INSTALL_PATH)/ti/drv/sa
 QMSS_INC_DIR ?= $(PDK_INSTALL_PATH)/ti/drv/qmss
@@ -18,6 +18,7 @@ HPLIB_INC_DIR ?= $(TRANS_SDK_INSTALL_PATH)
 NETAPI_INC_DIR ?=  $(TRANS_SDK_INSTALL_PATH)
 NETAPI_SRC_DIR ?= $(TRANS_SDK_INSTALL_PATH)/ti/runtime/netapi
 
+PDK_ARMV7LIBDIR ?= ARMV7LIBDIR
 CSL_DEVICE ?= -DDEVICE_K2H
 
 
@@ -112,10 +113,6 @@ $(BIN_DIR)/$(EXE_NAME): $(DAEMON_OBJS) $(BIN_DIR)/.created
 install:
        install -d $(INSTALL_BIN_BASE_DIR)
        install -c -m 755 $(BIN_DIR)/* $(INSTALL_BIN_BASE_DIR)
-       install -d $(INSTALL_INC_BASE_DIR)/ti/runtime/netapi/applications/ipsec_offload/ipsecmgr/src
-       install -c -m 644 ../src/*.h $(INSTALL_INC_BASE_DIR)/ti/runtime/netapi/applications/ipsec_offload/ipsecmgr/src
-       install -d $(INSTALL_LIB_BASE_DIR)
-       @$(CP) -r $(ARMV7LIBDIR)/*.a         $(INSTALL_LIB_BASE_DIR)
 clean:
        rm -rf $(OBJ_DIR)
        rm -rf $(BIN_DIR)