X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6b8db9d1369d003a7a3fc404b89d5419846db483..b9b0884ae543b5c63539873c9e07d450986d1738:/openwrt/package/linux/Makefile diff --git a/openwrt/package/linux/Makefile b/openwrt/package/linux/Makefile index fdd7e8d76..14e3ac4f9 100644 --- a/openwrt/package/linux/Makefile +++ b/openwrt/package/linux/Makefile @@ -1,8 +1,8 @@ # $Id$ include $(TOPDIR)/rules.mk -include ./linux.mk -include ./linux.config +include ./linux-2.4/linux.mk +include ./linux-2.4/linux.config PKG_BUILD_DIR := $(BUILD_DIR)/linux-modules PKG_RELEASE := 1 @@ -39,9 +39,15 @@ $$(PKG_$(1)): $(LINUX_DIR)/.modules_done endef +$(eval $(call KMOD_template,DIAG,diag,\ + $(MODULES_DIR)/kernel/drivers/net/diag/diag.o \ +)) $(eval $(call KMOD_template,BRCM_WL,brcm-wl,\ $(MODULES_DIR)/kernel/drivers/net/wl/wl.o \ ,CONFIG_WL)) +$(eval $(call KMOD_template,B44,b44,\ + $(MODULES_DIR)/kernel/drivers/net/b44.o \ +,CONFIG_B44)) $(eval $(call KMOD_template,BRCM_ET,brcm-et,\ $(MODULES_DIR)/kernel/drivers/net/et/et.o \ ,CONFIG_ET)) @@ -51,10 +57,19 @@ $(eval $(call KMOD_template,ARPT,arptables,\ $(eval $(call KMOD_template,EBT,ebtables,\ $(MODULES_DIR)/kernel/net/bridge/netfilter/*.o \ ,CONFIG_BRIDGE_NF_EBTABLES)) -$(eval $(call KMOD_template,IPT4,iptables-extra,\ +$(eval $(call KMOD_template,IPTABLES_V4,iptables,\ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_state.o \ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/iptable_nat.o \ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_nat_ftp.o \ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_conntrack.o \ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack.o \ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o \ + $(MODULES_DIR)/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o \ +)) +$(eval $(call KMOD_template,IPTABLES_V4_EXTRA,iptables-extra,\ $(MODULES_DIR)/kernel/net/ipv4/netfilter/ip*.o \ )) -$(eval $(call KMOD_template,IPT6,ip6tables,\ +$(eval $(call KMOD_template,IPTABLES_V6,ip6tables,\ $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.o \ ,CONFIG_IP6_NF_IPTABLES)) $(eval $(call KMOD_template,IPV6,ipv6,\ @@ -87,11 +102,21 @@ $(eval $(call KMOD_template,USB_STORAGE,usb-storage,\ $(eval $(call KMOD_template,USB_PRINTER,usb-printer,\ $(MODULES_DIR)/kernel/drivers/usb/printer.o \ ,CONFIG_USB_PRINTER)) +$(eval $(call KMOD_template,LOOP,loop,\ + $(MODULES_DIR)/kernel/drivers/block/loop.o \ +,CONFIG_BLK_DEV_LOOP)) +$(eval $(call KMOD_template,NBD,nbd,\ + $(MODULES_DIR)/kernel/drivers/block/nbd.o \ +,CONFIG_BLK_DEV_NBD)) $(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 \ ,CONFIG_PARPORT)) +$(eval $(call KMOD_template,IDE,ide,\ + $(MODULES_DIR)/kernel/drivers/ide/*.o \ + $(MODULES_DIR)/kernel/drivers/ide/*/*.o \ +,CONFIG_IDE)) $(eval $(call KMOD_template,EXT2,ext2,\ $(MODULES_DIR)/kernel/fs/ext2/*.o \ ,CONFIG_EXT2_FS))