mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
Merge pull request #749 from micmac1/rtpengine-host-perl
rtpengine: use perl/host when building
This commit is contained in:
@@ -29,7 +29,7 @@ PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
|
|||||||
# errors.
|
# errors.
|
||||||
PKG_BUILD_PARALLEL:=0
|
PKG_BUILD_PARALLEL:=0
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=gperf/host
|
PKG_BUILD_DEPENDS:=gperf/host perl/host
|
||||||
|
|
||||||
# With below variable set, $(PKG_SYMVERS_DIR)/rtpengine.symvers gets generated
|
# With below variable set, $(PKG_SYMVERS_DIR)/rtpengine.symvers gets generated
|
||||||
# from kernel-module/Module.symvers.
|
# from kernel-module/Module.symvers.
|
||||||
@@ -242,7 +242,9 @@ ifeq ($(QUILT),)
|
|||||||
cd "$(PKG_BUILD_DIR)" && \
|
cd "$(PKG_BUILD_DIR)" && \
|
||||||
$(FIND) . -maxdepth 2 -name "*Makefile" | \
|
$(FIND) . -maxdepth 2 -name "*Makefile" | \
|
||||||
xargs -I{} $(SED) \
|
xargs -I{} $(SED) \
|
||||||
'/shell which dpkg-/s/dpkg/OpenWrt-has-no-dpkg/' {}
|
'/shell which dpkg-/s/dpkg/OpenWrt-has-no-dpkg/' {} && \
|
||||||
|
$(SED) 's|#!/usr/bin/perl|#!$(STAGING_DIR_HOSTPKG)/usr/bin/perl|' \
|
||||||
|
utils/const_str_hash
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user