summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-01 08:37:14 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-01 08:37:14 +0000
commita6253834443898720b45c4b4de8748539cee1888 (patch)
treeb755ced5ff915ad36e17642f043f58f8b0af5002
parent888547638ef9d5068699ea48b091a329cbf1b1f7 (diff)
Cleanup fbv
-rw-r--r--package/fbv/fbv.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/fbv/fbv.mk b/package/fbv/fbv.mk
index 490ff6792..c7440eca6 100644
--- a/package/fbv/fbv.mk
+++ b/package/fbv/fbv.mk
@@ -14,6 +14,8 @@ FBV_TARGET_BINARY:=usr/bin/$(FBV_BINARY)
$(DL_DIR)/$(FBV_SOURCE):
$(WGET) -P $(DL_DIR) $(FBV_SITE)/$(FBV_SOURCE)
+fbv-source: $(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_VERSION)\*.patch\*
@@ -21,7 +23,7 @@ $(FBV_DIR)/.unpacked: $(DL_DIR)/$(FBV_SOURCE)
$(FBV_DIR)/.configured: $(FBV_DIR)/.unpacked
(cd $(FBV_DIR); \
- ($(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--prefix=/usr \
@@ -31,7 +33,7 @@ $(FBV_DIR)/.configured: $(FBV_DIR)/.unpacked
touch $@
$(FBV_DIR)/$(FBV_BINARY): $(FBV_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(FBV_DIR)
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(FBV_DIR)
$(TARGET_DIR)/$(FBV_TARGET_BINARY): $(FBV_DIR)/$(FBV_BINARY)
install -D $(FBV_DIR)/$(FBV_BINARY) $(TARGET_DIR)/$(FBV_TARGET_BINARY)