* [Buildroot] [PATCH] sam-ba is host only
@ 2012-02-07 13:12 Alexandre Belloni
2012-02-07 13:12 ` Alexandre Belloni
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Belloni @ 2012-02-07 13:12 UTC (permalink / raw)
To: buildroot
Following the guidelines from Arnout regarding host only tools
Alexandre Belloni (1):
sam-ba is host only
package/sam-ba/sam-ba.mk | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] sam-ba is host only
2012-02-07 13:12 [Buildroot] [PATCH] sam-ba is host only Alexandre Belloni
@ 2012-02-07 13:12 ` Alexandre Belloni
2012-02-07 20:05 ` Arnout Vandecappelle
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Belloni @ 2012-02-07 13:12 UTC (permalink / raw)
To: buildroot
Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
---
package/sam-ba/sam-ba.mk | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/sam-ba/sam-ba.mk b/package/sam-ba/sam-ba.mk
index d00575c..ad02326 100644
--- a/package/sam-ba/sam-ba.mk
+++ b/package/sam-ba/sam-ba.mk
@@ -1,9 +1,9 @@
-SAM_BA_SITE = http://www.atmel.com/dyn/resources/prod_documents/
-SAM_BA_VERSION = 2.10
-SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION).zip
+HOST_SAM_BA_SITE = http://www.atmel.com/dyn/resources/prod_documents/
+HOST_SAM_BA_VERSION = 2.10
+HOST_SAM_BA_SOURCE = sam-ba_$(HOST_SAM_BA_VERSION).zip
define HOST_SAM_BA_EXTRACT_CMDS
- unzip -d $(BUILD_DIR) $(DL_DIR)/$(SAM_BA_SOURCE)
+ unzip -d $(BUILD_DIR) $(DL_DIR)/$(HOST_SAM_BA_SOURCE)
mv $(BUILD_DIR)/sam-ba_cdc_linux/* $(@D)
rmdir $(BUILD_DIR)/sam-ba_cdc_linux/
endef
@@ -16,6 +16,7 @@ endef
define HOST_SAM_BA_INSTALL_CMDS
mkdir -p $(HOST_DIR)/opt/sam-ba/
cp -a $(@D)/* $(HOST_DIR)/opt/sam-ba/
+ mkdir -p $(HOST_DIR)/usr/bin/
ln -s ../../opt/sam-ba/sam-ba $(HOST_DIR)/usr/bin/sam-ba
endef
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH] sam-ba is host only
2012-02-07 13:12 ` Alexandre Belloni
@ 2012-02-07 20:05 ` Arnout Vandecappelle
0 siblings, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2012-02-07 20:05 UTC (permalink / raw)
To: buildroot
On Tuesday 07 February 2012 14:12:53 Alexandre Belloni wrote:
> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> package/sam-ba/sam-ba.mk | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/package/sam-ba/sam-ba.mk b/package/sam-ba/sam-ba.mk
> index d00575c..ad02326 100644
> --- a/package/sam-ba/sam-ba.mk
> +++ b/package/sam-ba/sam-ba.mk
> @@ -1,9 +1,9 @@
> -SAM_BA_SITE = http://www.atmel.com/dyn/resources/prod_documents/
> -SAM_BA_VERSION = 2.10
> -SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION).zip
> +HOST_SAM_BA_SITE = http://www.atmel.com/dyn/resources/prod_documents/
> +HOST_SAM_BA_VERSION = 2.10
> +HOST_SAM_BA_SOURCE = sam-ba_$(HOST_SAM_BA_VERSION).zip
>
> define HOST_SAM_BA_EXTRACT_CMDS
> - unzip -d $(BUILD_DIR) $(DL_DIR)/$(SAM_BA_SOURCE)
> + unzip -d $(BUILD_DIR) $(DL_DIR)/$(HOST_SAM_BA_SOURCE)
> mv $(BUILD_DIR)/sam-ba_cdc_linux/* $(@D)
> rmdir $(BUILD_DIR)/sam-ba_cdc_linux/
> endef
With 4 packages using it, it's time to add support for zip to the generic
extract...
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-07 20:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 13:12 [Buildroot] [PATCH] sam-ba is host only Alexandre Belloni
2012-02-07 13:12 ` Alexandre Belloni
2012-02-07 20:05 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox