1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00

ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27498 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2011-07-06 19:02:27 +00:00
parent 7691bc8380
commit 3cbb69a174
3 changed files with 7 additions and 11 deletions

View File

@ -60,12 +60,10 @@ define Build/Configure
$(call Build/Configure/Default) $(call Build/Configure/Default)
endef endef
ifdef CONFIG_TARGET_lantiq define Build/InstallDev
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/drv_tapi $(INSTALL_DIR) $(1)/usr/include/drv_tapi
$(CP) --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_tapi $(CP) --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_tapi
(cd $(1)/usr/include/drv_tapi && ln -s . include && ln -s ../ifxos/ifx_types.h .) (cd $(1)/usr/include/drv_tapi && ln -s . include && ln -s ../ifxos/ifx_types.h .)
endef endef
endif
$(eval $(call KernelPackage,ltq-tapi)) $(eval $(call KernelPackage,ltq-tapi))

View File

@ -143,20 +143,18 @@ define Build/Configure
$(call Build/Configure/Default) $(call Build/Configure/Default)
endef endef
ifdef CONFIG_TARGET_lantiq define Build/InstallDev
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
mkdir -p $(1)/usr/include/drv_vmmc mkdir -p $(1)/usr/include/drv_vmmc
$(CP) -v --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_vmmc $(CP) -v --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_vmmc
(cd $(1)/usr/include/drv_vmmc && ln -snf . include) (cd $(1)/usr/include/drv_vmmc && ln -snf . include)
endef endef
define KernelPackage/ltq-vmmc/install define KernelPackage/ltq-vmmc/install
$(INSTALL_DIR) $(1)/etc/init.d $(1)/$(FW_DIR) $(INSTALL_DIR) $(1)/etc/init.d $(1)/$(FW_DIR)
$(INSTALL_BIN) ./files/vmmc.init $(1)/etc/init.d/vmmc $(INSTALL_BIN) ./files/vmmc.init $(1)/etc/init.d/vmmc
$(CP) $(PKG_BUILD_DIR)/firmware/$(FW_SOURCE) $(1)/$(FW_DIR)/$(FW_TARGET) $(CP) $(PKG_BUILD_DIR)/firmware/$(FW_SOURCE) $(1)/$(FW_DIR)/$(FW_TARGET)
$(CP) $(PKG_BUILD_DIR)/coef/$(COEF_SRC) $(1)/$(FW_DIR)/$(COEF_TARGET) $(CP) $(PKG_BUILD_DIR)/coef/$(COEF_SRC) $(1)/$(FW_DIR)/$(COEF_TARGET)
endef endef
endif
$(eval $(call KernelPackage,ltq-vmmc)) $(eval $(call KernelPackage,ltq-vmmc))

View File

@ -66,7 +66,7 @@ EXTRA_CFLAGS:=-I$(STAGING_DIR)/usr/include/drv_tapi -I$(STAGING_DIR)/usr/include
endif endif
Package/pjsip-oss=$(call Package/pjsip-template,oss,) Package/pjsip-oss=$(call Package/pjsip-template,oss,)
Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq +kmod-ltq-tapi +kmod-ltq-vmmc) Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,@TARGET_lantiq +TARGET_lantiq:kmod-ltq-tapi +TARGET_lantiq:kmod-ltq-vmmc)
define Build/Prepare define Build/Prepare
$(PKG_UNPACK) $(PKG_UNPACK)