added missing patches/000-build-openwrt_rules.mk.patch
authorMazi Lo <OpenWRT@slickdeals.endjunk.com>
Mon, 31 Oct 2011 13:29:27 +0000 (13:29 +0000)
committerMazi Lo <OpenWRT@slickdeals.endjunk.com>
Mon, 31 Oct 2011 13:29:27 +0000 (13:29 +0000)
SVN-Revision: 28691

net/freeswitch/patches/000-build-openwrt_rules.mk.patch [new file with mode: 0644]

diff --git a/net/freeswitch/patches/000-build-openwrt_rules.mk.patch b/net/freeswitch/patches/000-build-openwrt_rules.mk.patch
new file mode 100644 (file)
index 0000000..3d60f99
--- /dev/null
@@ -0,0 +1,7 @@
+--- /dev/null
++++ b/build/openwrt_rules.mk
+@@ -0,0 +1,4 @@
++OPENWRT_DIR=$(shell (cd $(BASE)/../../..;pwd))
++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