buildroot/package/fbset/fbset.mk
Gustavo Zacarias 2e77770e61 fbset: ensure it builds after busybox if both are enabled
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31 20:45:14 +01:00

33 lines
728 B
Makefile

#############################################################
#
# fbset
#
#############################################################
FBSET_VERSION = 2.1
FBSET_SOURCE = fbset-$(FBSET_VERSION).tar.gz
FBSET_SITE = http://users.telenet.be/geertu/Linux/fbdev
# Make sure full fbset wins over busybox fbset
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
FBSET_DEPENDENCIES += busybox
endif
define FBSET_BUILD_CMDS
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define FBSET_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/fbset $(TARGET_DIR)/usr/sbin/fbset
endef
define FBSET_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/sbin/fbset
endef
define FBSET_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(eval $(call GENTARGETS,package,fbset))