Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2
@ 2010-12-26 16:16 llandwerlin at gmail.com
  2010-12-26 16:16 ` [Buildroot] [PATCH 1/3] vtun: fix startup script installation llandwerlin at gmail.com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: llandwerlin at gmail.com @ 2010-12-26 16:16 UTC (permalink / raw)
  To: buildroot

One patch was missing.

Regards,

--
Lionel Landwerlin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/3] vtun: fix startup script installation
  2010-12-26 16:16 [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 llandwerlin at gmail.com
@ 2010-12-26 16:16 ` llandwerlin at gmail.com
  2010-12-26 16:16 ` [Buildroot] [PATCH 2/3] package: avoid copying .m4 files from host to staging llandwerlin at gmail.com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: llandwerlin at gmail.com @ 2010-12-26 16:16 UTC (permalink / raw)
  To: buildroot

From: Lionel Landwerlin <llandwerlin@gmail.com>

In case etc/init.d does not exist.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 package/vtun/vtun-3.0.2-001-Makefile.in.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/vtun/vtun-3.0.2-001-Makefile.in.patch b/package/vtun/vtun-3.0.2-001-Makefile.in.patch
index 063d4b3..1f93969 100644
--- a/package/vtun/vtun-3.0.2-001-Makefile.in.patch
+++ b/package/vtun/vtun-3.0.2-001-Makefile.in.patch
@@ -26,7 +26,7 @@ diff -urN vtun/Makefile.in vtun-2.6/Makefile.in
  	$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(LOCK_DIR)
  	$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(SBIN_DIR)
  	$(INSTALL) -m 755 $(INSTALL_OWNER) vtund $(DESTDIR)$(SBIN_DIR)
-+	$(INSTALL) -m 755 $(INSTALL_OWNER) scripts/vtund.rc.debian \
++	$(INSTALL) -m 755 -D $(INSTALL_OWNER) scripts/vtund.rc.debian \
 +		$(DESTDIR)$(ETC_DIR)/init.d/S90vtun
  
  # DO NOT DELETE THIS LINE -- make depend depends on it.
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/3] package: avoid copying .m4 files from host to staging
  2010-12-26 16:16 [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 llandwerlin at gmail.com
  2010-12-26 16:16 ` [Buildroot] [PATCH 1/3] vtun: fix startup script installation llandwerlin at gmail.com
@ 2010-12-26 16:16 ` llandwerlin at gmail.com
  2010-12-26 16:16 ` [Buildroot] [PATCH 3/3] automake: install gtk-doc.m4 in host directory instead of staging llandwerlin at gmail.com
  2010-12-28 19:36 ` [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: llandwerlin at gmail.com @ 2010-12-26 16:16 UTC (permalink / raw)
  To: buildroot

From: Lionel Landwerlin <llandwerlin@gmail.com>

Since we are preparing a package generation mechanism, we would like
to avoid packages that move/touch/modify files which are not part
of their own package. That's why we try to not install host files into
the staging directory (in this case .m4 files) and instead we include
$(HOST_DIR)/usr/share/aclocal into autoreconf search directory.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 package/autoconf/autoconf.mk     |    2 +-
 package/automake/automake.mk     |    1 +
 package/libtool/libtool.mk       |    9 ---------
 package/pkg-config/pkg-config.mk |    7 -------
 4 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk
index a21192f..0ff0644 100644
--- a/package/autoconf/autoconf.mk
+++ b/package/autoconf/autoconf.mk
@@ -23,4 +23,4 @@ $(eval $(call AUTOTARGETS,package,autoconf,host))
 # variables used by other packages
 AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf
 AUTOHEADER:=$(HOST_DIR)/usr/bin/autoheader
-AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" $(HOST_DIR)/usr/bin/autoreconf -f -i -I "$(ACLOCAL_DIR)"
+AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" $(HOST_DIR)/usr/bin/autoreconf -f -i -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)"
diff --git a/package/automake/automake.mk b/package/automake/automake.mk
index e2ff9b2..6ee3121 100644
--- a/package/automake/automake.mk
+++ b/package/automake/automake.mk
@@ -23,4 +23,5 @@ $(eval $(call AUTOTARGETS,package,automake,host))
 # variables used by other packages
 AUTOMAKE = $(HOST_DIR)/usr/bin/automake
 ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
+ACLOCAL_HOST_DIR = $(HOST_DIR)/usr/share/aclocal
 ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)
diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk
index 60fee9f..3306244 100644
--- a/package/libtool/libtool.mk
+++ b/package/libtool/libtool.mk
@@ -7,15 +7,6 @@ LIBTOOL_VERSION = 2.2.10
 LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.gz
 LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
 
-define HOST_LIBTOOL_CUSTOM_INSTALL
-	install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/libtool.m4 \
-		$(STAGING_DIR)/usr/share/aclocal/libtool.m4
-	install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/ltdl.m4 \
-		$(STAGING_DIR)/usr/share/aclocal/ltdl.m4
-endef
-
-HOST_LIBTOOL_POST_INSTALL_HOOKS += HOST_LIBTOOL_CUSTOM_INSTALL
-
 HOST_LIBTOOL_LIBTOOL_PATCH = NO
 
 $(eval $(call AUTOTARGETS,package,libtool))
diff --git a/package/pkg-config/pkg-config.mk b/package/pkg-config/pkg-config.mk
index 330b166..d0bc424 100644
--- a/package/pkg-config/pkg-config.mk
+++ b/package/pkg-config/pkg-config.mk
@@ -15,13 +15,6 @@ HOST_PKG_CONFIG_CONF_OPT = \
 		--with-pc-path="$(STAGING_DIR)/usr/lib/pkgconfig" \
 		--disable-static
 
-define HOST_PKG_CONFIG_INSTALL_M4
-install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/pkg.m4 \
-		$(STAGING_DIR)/usr/share/aclocal/pkg.m4
-endef
-
-HOST_PKG_CONFIG_POST_INSTALL_HOOKS += HOST_PKG_CONFIG_INSTALL_M4
-
 $(eval $(call AUTOTARGETS,package,pkg-config))
 $(eval $(call AUTOTARGETS,package,pkg-config,host))
 
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 3/3] automake: install gtk-doc.m4 in host directory instead of staging
  2010-12-26 16:16 [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 llandwerlin at gmail.com
  2010-12-26 16:16 ` [Buildroot] [PATCH 1/3] vtun: fix startup script installation llandwerlin at gmail.com
  2010-12-26 16:16 ` [Buildroot] [PATCH 2/3] package: avoid copying .m4 files from host to staging llandwerlin at gmail.com
@ 2010-12-26 16:16 ` llandwerlin at gmail.com
  2010-12-28 19:36 ` [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: llandwerlin at gmail.com @ 2010-12-26 16:16 UTC (permalink / raw)
  To: buildroot

From: Lionel Landwerlin <llandwerlin@gmail.com>

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 package/automake/automake.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/automake/automake.mk b/package/automake/automake.mk
index 6ee3121..964f2fb 100644
--- a/package/automake/automake.mk
+++ b/package/automake/automake.mk
@@ -12,7 +12,7 @@ AUTOMAKE_DEPENDENCIES = host-autoconf autoconf microperl
 HOST_AUTOMAKE_DEPENDENCIES = host-autoconf
 
 define GTK_DOC_M4_INSTALL
- $(INSTALL) -m 0644 package/automake/gtk-doc.m4 $(STAGING_DIR)/usr/share/aclocal/
+ $(INSTALL) -D -m 0644 package/automake/gtk-doc.m4 $(HOST_DIR)/usr/share/aclocal/gtk-doc.m4
 endef
 
 HOST_AUTOMAKE_POST_INSTALL_HOOKS += GTK_DOC_M4_INSTALL
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2
  2010-12-26 16:16 [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 llandwerlin at gmail.com
                   ` (2 preceding siblings ...)
  2010-12-26 16:16 ` [Buildroot] [PATCH 3/3] automake: install gtk-doc.m4 in host directory instead of staging llandwerlin at gmail.com
@ 2010-12-28 19:36 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2010-12-28 19:36 UTC (permalink / raw)
  To: buildroot

>>>>> "llandwerlin" == llandwerlin  <llandwerlin@gmail.com> writes:

 llandwerlin> One patch was missing.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-28 19:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-26 16:16 [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 llandwerlin at gmail.com
2010-12-26 16:16 ` [Buildroot] [PATCH 1/3] vtun: fix startup script installation llandwerlin at gmail.com
2010-12-26 16:16 ` [Buildroot] [PATCH 2/3] package: avoid copying .m4 files from host to staging llandwerlin at gmail.com
2010-12-26 16:16 ` [Buildroot] [PATCH 3/3] automake: install gtk-doc.m4 in host directory instead of staging llandwerlin at gmail.com
2010-12-28 19:36 ` [Buildroot] [pull request] Pull request for branch 2011.02-pre-package-generation v2 Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox