summaryrefslogtreecommitdiffstats
path: root/openwrt/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
commit24a42b97de7bba205e9a523d064f343a52d42788 (patch)
tree40952c41a911bcd090c0905fd5caff83e74f32ea /openwrt/target/linux/aruba-2.6/Makefile
parent73913be8bb65d244f3b005b982d2b26ce187318d (diff)
Add a toggle for ramdisk support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3030 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9b2e16c0b..111bfd08a 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 $@