cleanup fbv package
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 23 Jul 2007 12:19:59 +0000 (12:19 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 23 Jul 2007 12:19:59 +0000 (12:19 -0000)
package/fbv/fbv.mk

index fa4f966ba51593204fb91d7ce6c8741aa1a41d8d..ebfdd0d2b1b3cc3795ff05533c65740246b82f83 100644 (file)
@@ -3,10 +3,10 @@
 # fbv
 #
 #############################################################
-FBV_VER:=1.0b
-FBV_SOURCE:=fbv-$(FBV_VER).tar.gz
+FBV_VERSION:=1.0b
+FBV_SOURCE:=fbv-$(FBV_VERSION).tar.gz
 FBV_SITE:=http://s-tech.elsat.net.pl/fbv
-FBV_DIR:=$(BUILD_DIR)/fbv-$(FBV_VER)
+FBV_DIR:=$(BUILD_DIR)/fbv-$(FBV_VERSION)
 FBV_CAT:=$(ZCAT)
 FBV_BINARY:=fbv
 FBV_TARGET_BINARY:=usr/bin/$(FBV_BINARY)
@@ -16,19 +16,19 @@ $(DL_DIR)/$(FBV_SOURCE):
 
 $(FBV_DIR)/.unpacked: $(DL_DIR)/$(FBV_SOURCE)
        $(FBV_CAT) $(DL_DIR)/$(FBV_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-       toolchain/patch-kernel.sh $(FBV_DIR) package/fbv/ fbv-$(FBV_VER)\*.patch\*
-       @touch $@
+       toolchain/patch-kernel.sh $(FBV_DIR) package/fbv/ fbv-$(FBV_VERSION)\*.patch\*
+       touch $@
 
 $(FBV_DIR)/.configured: $(FBV_DIR)/.unpacked
        (cd $(FBV_DIR); \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS)" \
+               ($(TARGET_CONFIGURE_OPTS) \
+               ($(TARGET_CONFIGURE_ARGS) \
                ./configure \
                --prefix=/usr \
                --cc=$(TARGET_CC) \
                --libs="-lz -lm" \
        );
-       @touch $@
+       touch $@
 
 $(FBV_DIR)/$(FBV_BINARY): $(FBV_DIR)/.configured
        $(MAKE) CC=$(TARGET_CC) -C $(FBV_DIR)