added missing patches/000-build-openwrt_rules.mk.patch
[openwrt/svn-archive/archive.git] / net / freeswitch / patches / 000-build-openwrt_rules.mk.patch
1 --- /dev/null
2 +++ b/build/openwrt_rules.mk
3 @@ -0,0 +1,4 @@
4 +OPENWRT_DIR=$(shell (cd $(BASE)/../../..;pwd))
5 +STAGING_DIR=$(OPENWRT_DIR)/staging_dir/$(shell (cd $(BASE)/..;basename `pwd`))
6 +ARCH="$(shell grep CONFIG_ARCH $(OPENWRT_DIR)/.config|cut -d= -d'"' -f2)"
7 +GNU_TARGET_NAME=$(ARCH)-openwrt-linux