diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-23 09:00:58 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-23 09:00:58 +0000 |
commit | 316aa9a1926686c1aafea891daaebee94417c015 (patch) | |
tree | 0175541a289abc1d855f6ee25ca58a9595d8b6fc /package/fbset/fbset.mk | |
parent | 96a8fc9f5964c2b20a4eb45192cbe33bc0fa4cbf (diff) | |
download | buildroot-novena-316aa9a1926686c1aafea891daaebee94417c015.tar.gz buildroot-novena-316aa9a1926686c1aafea891daaebee94417c015.zip |
Add fbset 'frame buffer set' package
Diffstat (limited to 'package/fbset/fbset.mk')
-rw-r--r-- | package/fbset/fbset.mk | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/package/fbset/fbset.mk b/package/fbset/fbset.mk new file mode 100644 index 000000000..875cedd55 --- /dev/null +++ b/package/fbset/fbset.mk @@ -0,0 +1,51 @@ +############################################################# +# +# 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): + $(WGET) -P $(DL_DIR) $(FBSET_SITE)/$(FBSET_SOURCE) + +$(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\* + @touch $@ + +$(FBSET_DIR)/$(FBSET_BINARY): $(FBSET_DIR)/.unpacked + ($(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + $(MAKE) -C $(FBSET_DIR) CC=$(TARGET_CC) \ + ); + @touch -c $@ + +$(TARGET_DIR)/$(FBSET_TARGET_BINARY): $(FBSET_DIR)/$(FBSET_BINARY) + $(INSTALL) -m 755 $(FBSET_DIR)/$(FBSET_BINARY) $(TARGET_DIR)/$(FBSET_TARGET_BINARY) + -$(STRIP) --strip-unneeded $(TARGET_DIR)/$(FBSET_TARGET_BINARY) + @touch -c $@ + +fbset: linux26 uclibc $(TARGET_DIR)/$(FBSET_TARGET_BINARY) + +fbset-clean: + rm -f $(TARGET_DIR)/$(FBSET_TARGET_BINARY) + -$(MAKE) -C $(FBSET_DIR) clean + +fbset-dirclean: + rm -rf $(FBSET_DIR) + +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_PACKAGE_FBSET)),y) +TARGETS+=fbset +endif |