asterisk-chan-lantiq: fix SDK build
When building using the SDK the $(SOURCE) variable is set differently, resulting in files not being found. Not using the variable and using "./" instead works fine. This fixes issue #190. Thanks to @Bongo79 for reporting and providing the fix. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
a0b5fc0e95
commit
0f341bc979
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ Package/$(PKG_NAME)-asterisk13/conffiles = $(Package/conffiles/Default)
|
|||
|
||||
define Package/Install/Default
|
||||
$(INSTALL_DIR) $(1)/etc/asterisk
|
||||
$(INSTALL_CONF) $(SOURCE)/files/lantiq-$(BUILD_VARIANT).conf.sample \
|
||||
$(INSTALL_CONF) ./files/lantiq-$(BUILD_VARIANT).conf.sample \
|
||||
$(1)/etc/asterisk/lantiq.conf
|
||||
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/chan_lantiq.so \
|
||||
|
@ -63,8 +63,8 @@ endef
|
|||
Package/$(PKG_NAME)-asterisk13/install = $(Package/Install/Default)
|
||||
|
||||
define Build/Prepare
|
||||
$(CP) $(SOURCE)/files/chan_lantiq-$(BUILD_VARIANT).c $(PKG_BUILD_DIR)/chan_lantiq.c
|
||||
$(CP) $(SOURCE)/files/default.exports $(PKG_BUILD_DIR)/chan_lantiq.exports
|
||||
$(CP) ./files/chan_lantiq-$(BUILD_VARIANT).c $(PKG_BUILD_DIR)/chan_lantiq.c
|
||||
$(CP) ./files/default.exports $(PKG_BUILD_DIR)/chan_lantiq.exports
|
||||
$(TAR) --extract --no-same-owner --no-same-permissions --xz \
|
||||
--file=$(DL_DIR)/$(BUILD_VARIANT)-$(call qstrip,$(CONFIG_TARGET_ARCH_PACKAGES))-headers-for-chan-lantiq-$(VERSION_NUMBER).tar.xz \
|
||||
--directory=$(PKG_BUILD_DIR)
|
||||
|
|
Loading…
Reference in a new issue