OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2012 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 | |||
10 | PKG_NAME:=fbtest |
||
11 | PKG_RELEASE:=1 |
||
12 | |||
13 | PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) |
||
14 | |||
15 | include $(INCLUDE_DIR)/package.mk |
||
16 | |||
17 | define Package/fbtest |
||
18 | SECTION:=utils |
||
19 | CATEGORY:=Utilities |
||
20 | TITLE:=Frame buffer device testing tool |
||
21 | DEPENDS:=@DISPLAY_SUPPORT |
||
22 | endef |
||
23 | |||
24 | define Build/Configure |
||
25 | endef |
||
26 | |||
27 | define Build/Compile |
||
28 | $(MAKE) -C $(PKG_BUILD_DIR) \ |
||
29 | CC="$(TARGET_CC)" \ |
||
30 | CFLAGS="$(TARGET_CFLAGS) -Wall" \ |
||
31 | LDFLAGS="$(TARGET_LDFLAGS)" |
||
32 | endef |
||
33 | |||
34 | define Package/fbtest/install |
||
35 | $(INSTALL_DIR) $(1)/usr/sbin |
||
36 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/fbtest $(1)/usr/sbin/ |
||
37 | endef |
||
38 | |||
39 | $(eval $(call BuildPackage,fbtest)) |