0e2e7c71d0
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
771 B
Makefile
34 lines
771 B
Makefile
################################################################################
|
|
#
|
|
# fbset
|
|
#
|
|
################################################################################
|
|
|
|
FBSET_VERSION = 2.1
|
|
FBSET_SITE = http://users.telenet.be/geertu/Linux/fbdev
|
|
FBSET_DEPENDENCIES = host-bison host-flex
|
|
FBSET_LICENSE = GPLv2
|
|
|
|
# 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 $(generic-package))
|