X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fbrcm-2.4%2FMakefile;h=7319ccabd470b62240d6e62c643afdc983da3a35;hp=022f3352c5d5359fb6fe437cc2e1804b251f75fd;hb=e158d8b6a7b3c883a8be74cb2327dda6374fc050;hpb=8afe76304a4a092f6100c0f75df0e58bb2821833 diff --git a/target/linux/brcm-2.4/Makefile b/target/linux/brcm-2.4/Makefile index 022f3352c..7319ccabd 100644 --- a/target/linux/brcm-2.4/Makefile +++ b/target/linux/brcm-2.4/Makefile @@ -1,27 +1,29 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# include $(TOPDIR)/rules.mk -LINUX_VERSION:=2.4.32 -LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c - -include ../rules.mk -include ./config +ARCH:=mipsel +BOARD:=brcm +BOARDNAME:=Broadcom BCM947xx/953xx +FEATURES:=pci usb pcmcia squashfs jffs2 -# broadcom specific kmod packages -$(eval $(call KMOD_template,LP,lp,\ - $(MODULES_DIR)/kernel/drivers/parport/parport.o \ - $(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \ - $(MODULES_DIR)/kernel/drivers/char/lp.o \ - $(MODULES_DIR)/kernel/drivers/char/ppdev.o \ -,CONFIG_PARPORT,,50,parport parport_splink lp)) +define Target/Description + Build firmware images for Broadcom based routers + (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G) -include ../generic-$(KERNEL)/modules.mk -include ../kernel.mk + This one builds the generic .trx images, activate one of the + options below for creating device specific files for use + with TFTP client too. +endef +LINUX_VERSION:=2.4.32 +LINUX_RELEASE:=1 +LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c -$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked - [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches - [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches - @$(CP) config $(LINUX_DIR)/.config - touch $@ +include $(INCLUDE_DIR)/kernel-build.mk +$(eval $(call BuildKernel))