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 include $(INCLUDE_DIR
)/package.mk
18 MAKEFLAGS_KMOD
:= -C
"$(LINUX_DIR)" \
19 CROSS_COMPILE
="$(TARGET_CROSS)" \
20 ARCH
="$(LINUX_KARCH)" \
21 PATH
="$(TARGET_PATH)" \
22 SUBDIRS
="$(PKG_BUILD_DIR)"
24 define KernelPackage
/broadcom-mmc
25 SUBMENU
:=Other modules
26 DEPENDS
:=@TARGET_BRCM_2_4
27 TITLE
:=Kernel driver for the Linksys WRT54G MM
/SD-Card Mod
29 Kernel driver for the Linksys WRT54G MM
/SD-Card Mod
30 URL
:=http
://kiel.kool.dk
/
31 FILES
:=$(PKG_BUILD_DIR
)/mmc.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,80,mmc
)
36 mkdir
-p
$(PKG_BUILD_DIR
)
37 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
41 $(MAKE
) $(MAKEFLAGS_KMOD
) \
45 $(eval
$(call KernelPackage
,broadcom-mmc
))