telephony/net/freeswitch/patches/build-openwrt_rules.mk.patch
Mazi Lo 24f45c9b31 FreeSWITCH:
1. Update to FS git 6eb59c711989774fb797d1c447e3d63aac84826b.
  2. Disable mod_perl due to recent changes in perl package.
  3. Disable mod_verto (required mod_perl).
  4. Remove numbering scheme from patches.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-04-07 11:09:48 -04:00

10 lines
384 B
Diff

--- /dev/null
+++ b/build/openwrt_rules.mk
@@ -0,0 +1,7 @@
+OPENWRT_DIR=$(shell (cd $(BASE)/../../..;pwd))
+STAGING_PREFIX=$(OPENWRT_DIR)/staging_dir/host
+STAGING_DIR=$(OPENWRT_DIR)/staging_dir/$(shell (cd $(BASE)/..;basename `pwd`))
+ARCH="$(shell grep CONFIG_ARCH $(OPENWRT_DIR)/.config|cut -d= -d'"' -f2)"
+GNU_TARGET_NAME=$(ARCH)-openwrt-linux
+
+include $(OPENWRT_DIR)/rules.mk