stop build when an error occurs and when BUILDLOG is set (#5160)
[openwrt.git] / package / broadcom-mmc / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=broadcom-mmc
12 PKG_VERSION:=0.1
13 PKG_RELEASE:=1
14
15 include $(INCLUDE_DIR)/package.mk
16
17 MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
18 CROSS_COMPILE="$(TARGET_CROSS)" \
19 ARCH="$(LINUX_KARCH)" \
20 PATH="$(TARGET_PATH)" \
21 SUBDIRS="$(PKG_BUILD_DIR)"
22
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)
30 endef
31
32 define KernelPackage/broadcom-mmc/description
33 Kernel driver for the Linksys WRT54G MM/SD-Card Mod
34 endef
35
36 define Build/Prepare
37 mkdir -p $(PKG_BUILD_DIR)
38 $(CP) ./src/* $(PKG_BUILD_DIR)/
39 endef
40
41 define Build/Compile
42 $(MAKE) $(MAKEFLAGS_KMOD) \
43 modules
44 endef
45
46 $(eval $(call KernelPackage,broadcom-mmc))
This page took 0.047728 seconds and 5 git commands to generate.