Merge pull request #749 from micmac1/rtpengine-host-perl
rtpengine: use perl/host when building
This commit is contained in:
commit
8cf20bc21c
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue