2 # Copyright (C) 2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
15 include $(INCLUDE_DIR
)/package.mk
20 TITLE
:=Frame buffer device testing tool
21 DEPENDS
:=@DISPLAY_SUPPORT
25 mkdir
-p
$(PKG_BUILD_DIR
)
26 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
29 define Build
/Configure
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
35 CFLAGS
="$(TARGET_CFLAGS) -Wall" \
36 LDFLAGS
="$(TARGET_LDFLAGS)"
39 define Package
/fbtest
/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/fbtest
$(1)/usr
/sbin
/
44 $(eval
$(call BuildPackage
,fbtest
))