* [Buildroot] [PATCH 1/3] pkg-rebar: HOST_CC -> HOSTCC
2015-02-16 17:00 [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Frank Hunleth
@ 2015-02-16 17:00 ` Frank Hunleth
2015-02-16 17:00 ` [Buildroot] [PATCH 2/3] pkg-rebar: add bin to list of install directories Frank Hunleth
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Frank Hunleth @ 2015-02-16 17:00 UTC (permalink / raw)
To: buildroot
Fix HOSTCC typo that would cause host-rebar builds to fail.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
package/pkg-rebar.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/pkg-rebar.mk b/package/pkg-rebar.mk
index 620316d..57fb2f4 100644
--- a/package/pkg-rebar.mk
+++ b/package/pkg-rebar.mk
@@ -209,7 +209,7 @@ $(2)_CONF_ENV += $$(REBAR_HOST_DEPS_ENV)
ifndef $(2)_BUILD_CMDS
define $(2)_BUILD_CMDS
(cd $$(@D); \
- CC="$$(HOST_CC)" \
+ CC="$$(HOSTCC)" \
CFLAGS="$$(HOST_CFLAGS)" \
LDFLAGS="$$(HOST_LDFLAGS)" \
$$(REBAR_HOST_DEPS_ENV) \
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/3] pkg-rebar: add bin to list of install directories
2015-02-16 17:00 [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Frank Hunleth
2015-02-16 17:00 ` [Buildroot] [PATCH 1/3] pkg-rebar: HOST_CC -> HOSTCC Frank Hunleth
@ 2015-02-16 17:00 ` Frank Hunleth
2015-02-16 17:00 ` [Buildroot] [PATCH 3/3] pkg-rebar: fix very minor typos in the comments Frank Hunleth
2015-02-18 22:21 ` [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Peter Korsgaard
3 siblings, 0 replies; 6+ messages in thread
From: Frank Hunleth @ 2015-02-16 17:00 UTC (permalink / raw)
To: buildroot
Some Erlang packages provide a bin directory for programs that are to be
invoked from the command line. An example of such a package is the Lisp
Flavored Erlang compiler. The Erlang OTP library includes several more
examples (it doesn't use rebar, though.) This change makes sure that the
bin directory gets installed too.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
package/pkg-rebar.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/pkg-rebar.mk b/package/pkg-rebar.mk
index 57fb2f4..45d1c7d 100644
--- a/package/pkg-rebar.mk
+++ b/package/pkg-rebar.mk
@@ -43,7 +43,7 @@ REBAR_TARGET_DEPS_ENV = \
# Install an Erlang application from $(@D).
#
-# i.e., define a recipe that installs the "ebin priv $(2)" directories
+# i.e., define a recipe that installs the "bin ebin priv $(2)" directories
# from $(@D) to $(1)$($(PKG)_ERLANG_LIBDIR).
#
# argument 1 should typically be $(HOST_DIR), $(TARGET_DIR),
@@ -57,7 +57,7 @@ REBAR_TARGET_DEPS_ENV = \
#
define install-erlang-directories
$(INSTALL) -d $(1)/$($(PKG)_ERLANG_LIBDIR)
- for dir in ebin priv $(2); do \
+ for dir in bin ebin priv $(2); do \
if test -d $(@D)/$$dir; then \
cp -r $(@D)/$$dir $(1)$($(PKG)_ERLANG_LIBDIR); \
fi; \
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] pkg-rebar: fix very minor typos in the comments
2015-02-16 17:00 [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Frank Hunleth
2015-02-16 17:00 ` [Buildroot] [PATCH 1/3] pkg-rebar: HOST_CC -> HOSTCC Frank Hunleth
2015-02-16 17:00 ` [Buildroot] [PATCH 2/3] pkg-rebar: add bin to list of install directories Frank Hunleth
@ 2015-02-16 17:00 ` Frank Hunleth
2015-02-18 22:21 ` [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Peter Korsgaard
3 siblings, 0 replies; 6+ messages in thread
From: Frank Hunleth @ 2015-02-16 17:00 UTC (permalink / raw)
To: buildroot
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
package/pkg-rebar.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/pkg-rebar.mk b/package/pkg-rebar.mk
index 45d1c7d..75facd5 100644
--- a/package/pkg-rebar.mk
+++ b/package/pkg-rebar.mk
@@ -74,7 +74,7 @@ endef
# For target packages for example, one uses this to setup symbolic
# links from $(STAGING_DIR)/usr/share/rebar/deps/<erlang-app> to
# $(STAGING_DIR)/usr/lib/erlang/lib/<erlang-app>-<version>. This
-# infrastructure points rebar at the former in order to tell rebar do
+# infrastructure points rebar at the former in order to tell rebar to
# NOT download dependencies during the build stage, and instead use
# the already available dependencies.
#
@@ -195,7 +195,7 @@ $(2)_DEPENDENCIES ?= $$(filter-out host-automake host-autoconf host-libtool \
host-gettext host-toolchain host-erlang-rebar $(1),\
$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
else
-# Same deal, if _USE_BUNLDED_REBAR is NO.
+# Same deal, if _USE_BUNDLED_REBAR is NO.
$(2)_DEPENDENCIES ?= $$(filter-out host-toolchain host-erlang-rebar $(1),\
$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
endif
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 0/3] Minor pkg-rebar updates
2015-02-16 17:00 [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Frank Hunleth
` (2 preceding siblings ...)
2015-02-16 17:00 ` [Buildroot] [PATCH 3/3] pkg-rebar: fix very minor typos in the comments Frank Hunleth
@ 2015-02-18 22:21 ` Peter Korsgaard
2015-02-19 21:28 ` Thomas Petazzoni
3 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2015-02-18 22:21 UTC (permalink / raw)
To: buildroot
>>>>> "Frank" == Frank Hunleth <fhunleth@troodon-software.com> writes:
> I've been trying out the new rebar infrastructure with a few Erlang
> packages. Those packages aren't ready to contribute, but I ran into
> a few minor issues with the infrastructure that hopefully can make
> it into 2015.02.
> Frank Hunleth (3):
> pkg-rebar: HOST_CC -> HOSTCC
> pkg-rebar: add bin to list of install directories
> pkg-rebar: fix very minor typos in the comments
Committed series, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 0/3] Minor pkg-rebar updates
2015-02-18 22:21 ` [Buildroot] [PATCH 0/3] Minor pkg-rebar updates Peter Korsgaard
@ 2015-02-19 21:28 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-02-19 21:28 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Wed, 18 Feb 2015 23:21:21 +0100, Peter Korsgaard wrote:
> >>>>> "Frank" == Frank Hunleth <fhunleth@troodon-software.com> writes:
>
> > I've been trying out the new rebar infrastructure with a few Erlang
> > packages. Those packages aren't ready to contribute, but I ran into
> > a few minor issues with the infrastructure that hopefully can make
> > it into 2015.02.
>
> > Frank Hunleth (3):
> > pkg-rebar: HOST_CC -> HOSTCC
> > pkg-rebar: add bin to list of install directories
> > pkg-rebar: fix very minor typos in the comments
>
> Committed series, thanks.
It seems you only applied the first two patches: the last patch was
neither pushed, and was still there in patchwork. So I applied it to
master, and pushed.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread