2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
12 PKG_NAME
:=broadcom-mmc
16 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
18 include $(INCLUDE_DIR
)/package.mk
20 MAKEFLAGS_KMOD
:= -C
"$(LINUX_DIR)" \
21 CROSS_COMPILE
="$(TARGET_CROSS)" \
22 ARCH
="$(LINUX_KARCH)" \
23 PATH
="$(TARGET_PATH)" \
24 SUBDIRS
="$(PKG_BUILD_DIR)"
26 define KernelPackage
/broadcom-mmc
27 SUBMENU
:=Other modules
28 DEPENDS
:=@LINUX_2_4_BRCM
29 TITLE
:=Kernel driver for the Linksys WRT54G MM
/SD-Card Mod
31 Kernel driver for the Linksys WRT54G MM
/SD-Card Mod
32 URL
:=http
://kiel.kool.dk
/
33 FILES
:=$(PKG_BUILD_DIR
)/mmc.
$(LINUX_KMOD_SUFFIX
)
34 AUTOLOAD
:=$(call AutoLoad
,80,mmc
)
38 mkdir
-p
$(PKG_BUILD_DIR
)
39 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
43 $(MAKE
) $(MAKEFLAGS_KMOD
) \
47 $(eval
$(call KernelPackage
,broadcom-mmc
))