summaryrefslogtreecommitdiffstats
path: root/target/linux/aruba-2.6/Makefile
diff options
context:
space:
mode:
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 $@