kumquat-buildroot/package/fbset/fbset.mk

52 lines
1.5 KiB
Makefile
Raw Normal View History

2007-07-23 11:00:58 +02:00
#############################################################
#
# fbset
#
#############################################################
FBSET_VERSION:=2.1
FBSET_SOURCE:=fbset-$(FBSET_VERSION).tar.gz
FBSET_SITE:=http://users.telenet.be/geertu/Linux/fbdev
FBSET_DIR:=$(BUILD_DIR)/fbset-$(FBSET_VERSION)
FBSET_CAT:=$(ZCAT)
FBSET_BINARY:=fbset
FBSET_TARGET_BINARY:=usr/sbin/$(FBSET_BINARY)
$(DL_DIR)/$(FBSET_SOURCE):
2009-01-16 12:42:52 +01:00
$(call DOWNLOAD,$(FBSET_SITE),$(FBSET_SOURCE))
2007-07-23 11:00:58 +02:00
$(FBSET_DIR)/.unpacked: $(DL_DIR)/$(FBSET_SOURCE)
$(FBSET_CAT) $(DL_DIR)/$(FBSET_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(FBSET_DIR) package/fbset/ \
fbset-$(FBSET_VERSION)\*.patch \
fbset-$(FBSET_VERSION)\*.patch.$(ARCH)
2007-07-23 14:33:22 +02:00
touch $@
2007-07-23 11:00:58 +02:00
$(FBSET_DIR)/$(FBSET_BINARY): $(FBSET_DIR)/.unpacked
2008-05-22 23:37:24 +02:00
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(FBSET_DIR)
2007-07-23 14:33:22 +02:00
touch -c $@
2007-07-23 11:00:58 +02:00
$(TARGET_DIR)/$(FBSET_TARGET_BINARY): $(FBSET_DIR)/$(FBSET_BINARY)
$(INSTALL) -m 755 $(FBSET_DIR)/$(FBSET_BINARY) $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
2007-07-23 14:33:22 +02:00
touch -c $@
2007-07-23 11:00:58 +02:00
fbset: $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
2007-07-23 11:00:58 +02:00
2008-02-19 14:39:25 +01:00
fbset-source: $(DL_DIR)/$(FBSET_SOURCE)
2007-07-23 11:00:58 +02:00
fbset-clean:
rm -f $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
-$(MAKE) -C $(FBSET_DIR) clean
fbset-dirclean:
rm -rf $(FBSET_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_FBSET),y)
2007-07-23 11:00:58 +02:00
TARGETS+=fbset
endif