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.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
11 PKG_NAME
:=broadcom-mmc
15 include $(INCLUDE_DIR
)/package.mk
17 MAKEFLAGS_KMOD
:= -C
"$(LINUX_DIR)" \
18 CROSS_COMPILE
="$(TARGET_CROSS)" \
19 ARCH
="$(LINUX_KARCH)" \
20 PATH
="$(TARGET_PATH)" \
21 SUBDIRS
="$(PKG_BUILD_DIR)"
23 define KernelPackage
/broadcom-mmc
24 SUBMENU
:=Other modules
25 DEPENDS
:=@TARGET_brcm_2_4
26 TITLE
:=Kernel driver for the Linksys WRT54G MM
/SD-Card Mod
27 URL
:=http
://kiel.kool.dk
/
28 FILES
:=$(PKG_BUILD_DIR
)/mmc.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,80,mmc
)
32 define KernelPackage
/broadcom-mmc
/description
33 Kernel driver for the Linksys WRT54G MM
/SD-Card Mod
37 mkdir
-p
$(PKG_BUILD_DIR
)
38 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
42 $(MAKE
) $(MAKEFLAGS_KMOD
) \
46 $(eval
$(call KernelPackage
,broadcom-mmc
))