summaryrefslogtreecommitdiffstats
path: root/package/fbdump/fbdump.mk
blob: f80cb1ba19c5d70b1aea6d3b915ee9fc70e0a1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# fbdump
#
#############################################################

FBDUMP_VERSION = 0.4.2
FBDUMP_SOURCE = fbdump-$(FBDUMP_VERSION).tar.gz
FBDUMP_SITE = http://www.rcdrummond.net/fbdump
FBDUMP_LICENSE = GPLv2
FBDUMP_LICENSE_FILES = COPYING

# The VGA16 specific feature of fbdump doesn't make much sense outside
# of the x86/x86-64 architectures, and causes build problems on some
# architectures as outw() is not always available.
ifeq ($(BR2_i386)$(BR2_x86_64),y)
FBDUMP_CONF_OPT += --enable-vga16fb
else
FBDUMP_CONF_OPT += --disable-vga16fb
endif

$(eval $(autotools-package))