summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/aruba-2.6/Makefile
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-01-20 18:47:42 +0000
committerMike Baker <mbm@openwrt.org>2006-01-20 18:47:42 +0000
commit04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138 (patch)
tree9bdc3265c65b1c6240c2474e868535b66333ef55 /openwrt/target/linux/aruba-2.6/Makefile
parent9bb046b139b1ac9e9d5edfe0a21c19c6cf3be52c (diff)
downloadmtk-20170518-04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138.zip
mtk-20170518-04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138.tar.gz
mtk-20170518-04ec0ca5b682b7c3f1b85dfe6ed077d4f8ffd138.tar.bz2
Add a toggle for ramdisk support
SVN-Revision: 3030
Diffstat (limited to 'openwrt/target/linux/aruba-2.6/Makefile')
-rw-r--r--openwrt/target/linux/aruba-2.6/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/target/linux/aruba-2.6/Makefile b/openwrt/target/linux/aruba-2.6/Makefile
index 9b2e16c..111bfd0 100644
--- a/openwrt/target/linux/aruba-2.6/Makefile
+++ b/openwrt/target/linux/aruba-2.6/Makefile
@@ -14,6 +14,10 @@ include ../kernel.mk
$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
[ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
[ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+ifeq ($(BR2_ARUBA_RAMDISK),y)
+ @cp config-ramdisk $(LINUX_DIR)/.config
+else
@cp config $(LINUX_DIR)/.config
+endif
touch $@