[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.3-rc1-41-g2993898
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2013-12-13 15:44:31
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 2993898f888f84cc1b74663f7007d67a9271e9b9 (commit)
from abed9a65636550659e54edd598ee4786bf65ae3d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2993898f888f84cc1b74663f7007d67a9271e9b9
Author: Julien Boibessot <jul...@ar...>
Date: Fri Dec 13 16:43:46 2013 +0100
[BUILDROOT] Move freescale-tools package to new BR package style
-----------------------------------------------------------------------
Summary of changes:
.../package/armadeus/freescale-tools/tools.mk | 75 ++++++-------------
1 files changed, 24 insertions(+), 51 deletions(-)
diff --git a/buildroot/package/armadeus/freescale-tools/tools.mk b/buildroot/package/armadeus/freescale-tools/tools.mk
index f7c4f8e..49c94d6 100644
--- a/buildroot/package/armadeus/freescale-tools/tools.mk
+++ b/buildroot/package/armadeus/freescale-tools/tools.mk
@@ -4,59 +4,32 @@
#
#############################################################
-FREESCALE_TOOLS_VERSION:=20071002
-FREESCALE_TOOLS_SOURCE:=misc-$(FREESCALE_TOOLS_VERSION).tar.gz
-FREESCALE_TOOLS_PATCH_SOURCE:=misc-vpu_lib-2.2.2-mx27-2.patch
-FREESCALE_TOOLS_SITE:=http://www.bitshrine.org/gpp/
-FREESCALE_TOOLS_PATCH_SITE:=ftp://ftp2.armadeus.com/armadeusw/download/
-FREESCALE_TOOLS_CAT:=$(ZCAT)
-FREESCALE_TOOLS_DIR:=$(BUILD_DIR)/misc-$(FREESCALE_TOOLS_VERSION)
-FREESCALE_TOOLS_TARGET_DIR:=$(TARGET_DIR)/usr/bin/vpu
-FREESCALE_TOOLS_BIN:=mxc_vpu_test.out
-
-
-$(DL_DIR)/$(FREESCALE_TOOLS_PATCH_SOURCE):
- $(call DOWNLOAD,$(FREESCALE_TOOLS_PATCH_SITE),$(FREESCALE_TOOLS_PATCH_SOURCE))
- $(call DOWNLOAD,$(FREESCALE_TOOLS_PATCH_SITE),$(FREESCALE_TOOLS_PATCH_SOURCE).md5)
-
-$(DL_DIR)/$(FREESCALE_TOOLS_SOURCE):
- $(call DOWNLOAD,$(FREESCALE_TOOLS_SITE),$(FREESCALE_TOOLS_SOURCE))
- $(call DOWNLOAD,$(FREESCALE_TOOLS_SITE),$(FREESCALE_TOOLS_SOURCE).md5)
-
-freescale-tools-source: $(DL_DIR)/$(FREESCALE_TOOLS_SOURCE) $(DL_DIR)/$(FREESCALE_TOOLS_PATCH_SOURCE)
-
-$(FREESCALE_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(FREESCALE_TOOLS_SOURCE) $(DL_DIR)/$(FREESCALE_TOOLS_PATCH_SOURCE)
- $(FREESCALE_TOOLS_CAT) $(DL_DIR)/$(FREESCALE_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- mv $(BUILD_DIR)/misc $(FREESCALE_TOOLS_DIR)
- support/scripts/apply-patches.sh $(FREESCALE_TOOLS_DIR) $(DL_DIR) misc-\*.patch
- support/scripts/apply-patches.sh $(FREESCALE_TOOLS_DIR) package/armadeus/freescale-tools \*misc-$(FREESCALE_TOOLS_VERSION)\*.patch
- touch $@
-
-$(FREESCALE_TOOLS_TARGET_DIR)/$(FREESCALE_TOOLS_BIN): $(FREESCALE_TOOLS_DIR)/.unpacked
- $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" PLATFORM=IMX27ADS -C $(FREESCALE_TOOLS_DIR)/lib/vpu/
- $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" PLATFORM=IMX27ADS \
- TOPDIR=$(FREESCALE_TOOLS_DIR) \
+FREESCALE_TOOLS_VERSION = 20071002
+FREESCALE_TOOLS_SOURCE = misc-$(FREESCALE_TOOLS_VERSION).tar.gz
+FREESCALE_TOOLS_PATCH = misc-vpu_lib-2.2.2-mx27-2.patch
+FREESCALE_TOOLS_SITE = http://www.bitshrine.org/gpp/
+FREESCALE_TOOLS_PATCH_SITE = ftp://ftp2.armadeus.com/armadeusw/download/
+FREESCALE_TOOLS_INSTALL_STAGING = YES
+
+FREESCALE_TOOLS_TARGET_DIR = $(TARGET_DIR)/usr/bin/vpu
+
+define FREESCALE_TOOLS_BUILD_CMDS
+ $(MAKE1) CROSS_COMPILE="$(TARGET_CROSS)" PLATFORM=IMX27ADS -C $(@D)/lib/vpu/
+ $(MAKE1) CROSS_COMPILE="$(TARGET_CROSS)" PLATFORM=IMX27ADS \
+ TOPDIR=$(@D) \
OBJDIR="$(FREESCALE_TOOLS_TARGET_DIR)" \
- -C $(FREESCALE_TOOLS_DIR)/test/mxc_vpu_test/
- cp $(FREESCALE_TOOLS_DIR)/lib/vpu/*.h $(STAGING_DIR)/usr/include/
- cp $(FREESCALE_TOOLS_DIR)/lib/vpu/libvpu.a $(STAGING_DIR)/usr/lib/
- touch $@
+ -C $(@D)/test/mxc_vpu_test/
+endef
-FREESCALE-TOOLS freescale-tools: $(FREESCALE_TOOLS_TARGET_DIR)/$(FREESCALE_TOOLS_BIN)
+define FREESCALE_TOOLS_INSTALL_STAGING_CMDS
+ cp $(@D)/lib/vpu/*.h $(STAGING_DIR)/usr/include/
+ cp $(@D)/lib/vpu/libvpu.a $(STAGING_DIR)/usr/lib/
+endef
-freescale-tools-clean:
- -$(MAKE) -C $(FREESCALE_TOOLS_DIR)/lib/vpu/ clean
+define FREESCALE_TOOLS_CLEAN_CMDS
+ -$(MAKE) -C $(@D)/lib/vpu/ clean
-$(MAKE) OBJDIR="$(FREESCALE_TOOLS_TARGET_DIR)" \
- -C $(FREESCALE_TOOLS_DIR)/test/mxc_vpu_test/ clean
+ -C $(@D)/test/mxc_vpu_test/ clean
+endef
-freescale-tools-dirclean:
- rm -rf $(FREESCALE_TOOLS_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_FREESCALE_TOOLS)),y)
-TARGETS+=freescale-tools
-endif
+$(eval $(generic-package))
hooks/post-receive
--
armadeus
|