summaryrefslogtreecommitdiffstats
path: root/target/linux/aruba-2.6/Makefile
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-20 18:47:42 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-20 18:47:42 +0000
commitb5ea82a30ac38ea8ad97f87ee75c7c738922779a (patch)
tree50e00e9330d6f7ef18c864a5769c836d96b31aac /target/linux/aruba-2.6/Makefile
parent950f818c91680b89b43e8d0d8986526b3eff4a74 (diff)
Add a toggle for ramdisk support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3030 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/aruba-2.6/Makefile')
-rw-r--r--target/linux/aruba-2.6/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/aruba-2.6/Makefile b/target/linux/aruba-2.6/Makefile
index 9b2e16c0b..111bfd08a 100644
--- a/target/linux/aruba-2.6/Makefile
+++ b/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 $@