2011-10-31 13:29:27 +00:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/build/openwrt_rules.mk
|
2013-02-02 17:15:23 +00:00
|
|
|
@@ -0,0 +1,7 @@
|
2011-10-31 13:29:27 +00:00
|
|
|
+OPENWRT_DIR=$(shell (cd $(BASE)/../../..;pwd))
|
2013-02-02 17:15:23 +00:00
|
|
|
+STAGING_PREFIX=$(OPENWRT_DIR)/staging_dir/host
|
2011-10-31 13:29:27 +00:00
|
|
|
+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
|
2013-02-02 17:15:23 +00:00
|
|
|
+
|
|
|
|
+include $(OPENWRT_DIR)/rules.mk
|