[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git] / package / broadcom-diag / Makefile
1 #
2 # Copyright (C) 2006-2010 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-diag
12 PKG_RELEASE:=8
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define KernelPackage/diag
17 SUBMENU:=Other modules
18 DEPENDS:=@TARGET_brcm47xx
19 TITLE:=Driver for router LEDs and Buttons
20 FILES:=$(PKG_BUILD_DIR)/diag.$(LINUX_KMOD_SUFFIX)
21 endef
22
23 define Build/Prepare
24 mkdir -p $(PKG_BUILD_DIR)
25 $(CP) ./src/* $(PKG_BUILD_DIR)/
26 endef
27
28 define Build/Compile
29 $(MAKE) -C "$(LINUX_DIR)" \
30 CROSS_COMPILE="$(TARGET_CROSS)" \
31 ARCH="$(LINUX_KARCH)" \
32 SUBDIRS="$(PKG_BUILD_DIR)" \
33 EXTRA_CFLAGS="$(BUILDFLAGS)" \
34 modules
35 endef
36
37 $(eval $(call KernelPackage,diag))
This page took 0.048025 seconds and 5 git commands to generate.