f0bf67a64994922a9485e30e0e6c22af2b647d5f
[openwrt/openwrt.git] / openwrt / target / linux / brcm-2.4 / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 LINUX_VERSION:=2.4.32
10 LINUX_RELEASE:=1
11 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
12
13 include ./config
14 include $(INCLUDE_DIR)/kernel.mk
15
16 # broadcom specific kmod packages
17 $(eval $(call KMOD_template,LP,lp,\
18 $(MODULES_DIR)/kernel/drivers/parport/parport.o \
19 $(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
20 $(MODULES_DIR)/kernel/drivers/char/lp.o \
21 $(MODULES_DIR)/kernel/drivers/char/ppdev.o \
22 ,CONFIG_PARPORT,,50,parport parport_splink lp))
23
24 include $(INCLUDE_DIR)/kernel-build.mk
25
26
27 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
28 [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
29 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
30 @$(CP) config $(LINUX_DIR)/.config
31 touch $@
32