mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
For now, these patches are basically the same for musl library build. Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
11 lines
384 B
Diff
11 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
|