Add a toggle for ramdisk support
[openwrt/openwrt.git] / openwrt / target / linux / aruba-2.6 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 LINUX_VERSION:=2.6.15.1
4 LINUX_RELEASE:=1
5 LINUX_KERNEL_MD5SUM:=3a71f70fecf25a893bb95efaa37f575c
6
7 include ../rules.mk
8 include ./config
9
10 include ../generic-$(KERNEL)/modules.mk
11 include ../kernel.mk
12
13
14 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
15 [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
16 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
17 ifeq ($(BR2_ARUBA_RAMDISK),y)
18 @cp config-ramdisk $(LINUX_DIR)/.config
19 else
20 @cp config $(LINUX_DIR)/.config
21 endif
22 touch $@
23