[package] fix incorrect quoting in busybox cron init script
[openwrt.git] / package / ucmb / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/kernel.mk
9
10 PKG_NAME:=ucmb
11 PKG_RELEASE:=1
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define KernelPackage/ucmb
16 SUBMENU:=Other modules
17 DEPENDS:=@LINUX_2_6 +kmod-spi-gpio
18 KCONFIG:=CONFIG_SPI=y \
19 CONFIG_SPI_MASTER=y
20 TITLE:=Microcontroller Message Bus (EXPERIMENTAL)
21 FILES:=$(PKG_BUILD_DIR)/ucmb.$(LINUX_KMOD_SUFFIX)
22 AUTOLOAD:=$(call AutoLoad,93,ucmb)
23 endef
24
25 define Build/Prepare
26 mkdir -p $(PKG_BUILD_DIR)
27 $(CP) ./src/* $(PKG_BUILD_DIR)/
28 endef
29
30 define Build/Compile
31 $(MAKE) -C "$(LINUX_DIR)" \
32 CROSS_COMPILE="$(TARGET_CROSS)" \
33 ARCH="$(LINUX_KARCH)" \
34 SUBDIRS="$(PKG_BUILD_DIR)" \
35 EXTRA_CFLAGS="$(BUILDFLAGS)" \
36 modules
37 endef
38
39 $(eval $(call KernelPackage,ucmb))
This page took 0.057122 seconds and 5 git commands to generate.