-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/{include,lib}
- $(CP) $(PKG_INSTALL_DIR)/usr/include/* \
- $(1)/usr/include/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/* \
- $(1)/usr/lib/
+Package/pjsip-oss=$(call Package/pjsip-template,oss,BROKEN)
+Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq +TARGET_lantiq:kmod-ltq-tapi +TARGET_lantiq:kmod-ltq-vmmc)
+
+USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)
+ifneq ($(USE_LOCAL),)
+define Build/Prepare
+ $(CP) ./src/* $(PKG_BUILD_DIR)