Skip to contentSkip to conversation

barebox: add 2013.01.0 and lzop dependency

PATCH New Fabio Porcedda 2 participants 5 messages Jan 11, 2013 – Jan 13, 2013

lore
Share & tools
lore
#0 lore raw

cover barebox: add 2013.01.0 and lzop dependency

Fabio Porcedda (3):
lzop: add host build
barebox: needs host-lzop
barebox: add 2013.01.0, remove 2012.09

 boot/barebox/Config.in  | 10 +++++-----
 boot/barebox/barebox.mk |  9 +++++----
 package/lzop/lzop.mk    |  1 +
 3 files changed, 11 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.0.3
#1 lore raw

PATCH 1/3 lzop: add host build

Barebox needs host-lzop.

---
 package/lzop/lzop.mk | 1 +
 1 file changed, 1 insertion(+)
package/lzop/lzop.mk +1 -0
index 4ab8a4a..1f7c835 100644
@@ -11,3 +11,4 @@ LZOP_LICENSE_FILES = COPYING
 LZOP_DEPENDENCIES = lzo
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
Signature · 1 line
1.8.0.3
#2 lore raw

PATCH 2/3 barebox: needs host-lzop

In reply to Fabio Porcedda

Add host-lzop dependency.
Use $(TARGET_MAKE_ENV) when calling $(MAKE)
to able to use binaries built for host.

---
 boot/barebox/barebox.mk | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
boot/barebox/barebox.mk +5 -4
index 6cc4976..2aff7e6 100644
@@ -20,6 +20,7 @@ BAREBOX_SOURCE = barebox-$(BAREBOX_VERSION).tar.bz2
 BAREBOX_SITE = http://www.barebox.org/download/
 endif
 
+BAREBOX_DEPENDENCIES = host-lzop
 BAREBOX_LICENSE = GPLv2 with exceptions
 BAREBOX_LICENSE_FILES = COPYING
 
@@ -56,7 +57,7 @@ endif
 
 define BAREBOX_CONFIGURE_CMDS
 	cp $(BAREBOX_SOURCE_CONFIG) $(@D)/arch/$(BAREBOX_ARCH)/configs/buildroot_defconfig
-	$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) buildroot_defconfig
+	$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) buildroot_defconfig
 endef
 
 ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y)
@@ -68,7 +69,7 @@ endif
 
 define BAREBOX_BUILD_CMDS
 	$(BAREBOX_BUILD_BAREBOXENV_CMDS)
-	$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D)
+	$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D)
 endef
 
 define BAREBOX_INSTALL_IMAGES_CMDS
@@ -96,12 +97,12 @@ endif
 endif
 
 barebox-menuconfig barebox-xconfig barebox-gconfig barebox-nconfig: barebox-configure
-	$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
+	$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
 		$(subst barebox-,,$@)
 	rm -f $(BAREBOX_DIR)/.stamp_{built,target_installed,images_installed}
 
 barebox-savedefconfig: barebox-configure
-	$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
+	$(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
 		$(subst barebox-,,$@)
 
 ifeq ($(BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG),y)
Signature · 1 line
1.8.0.3
#3 lore raw

PATCH 3/3 barebox: add 2013.01.0, remove 2012.09

In reply to Fabio Porcedda
---
 boot/barebox/Config.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
boot/barebox/Config.in +5 -5
index 10eb650..b9e03b3 100644
@@ -8,13 +8,10 @@ config BR2_TARGET_BAREBOX
 if BR2_TARGET_BAREBOX
 choice
 	prompt "version"
-	default BR2_TARGET_BAREBOX_2012_12
+	default BR2_TARGET_BAREBOX_2013_01
 	help
 	  Select the specific Barebox version you want to use
 
-config BR2_TARGET_BAREBOX_2012_09
-	bool "2012.09"
-
 config BR2_TARGET_BAREBOX_2012_10
 	bool "2012.10"
 
@@ -24,6 +21,9 @@ config BR2_TARGET_BAREBOX_2012_11
 config BR2_TARGET_BAREBOX_2012_12
 	bool "2012.12.1"
 
+config BR2_TARGET_BAREBOX_2013_01
+	bool "2013.01.0"
+
 config BR2_TARGET_BAREBOX_CUSTOM_TARBALL
 	bool "Custom tarball"
 
@@ -41,10 +41,10 @@ endif
 
 config BR2_TARGET_BAREBOX_VERSION
 	string
-	default "2012.09.0"	if BR2_TARGET_BAREBOX_2012_09
 	default "2012.10.0"	if BR2_TARGET_BAREBOX_2012_10
 	default "2012.11.0"	if BR2_TARGET_BAREBOX_2012_11
 	default "2012.12.1"	if BR2_TARGET_BAREBOX_2012_12
+	default "2013.01.0"	if BR2_TARGET_BAREBOX_2013_01
 	default "custom"	if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
 	default $BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
 
Signature · 1 line
1.8.0.3
#4 lore raw

cover barebox: add 2013.01.0 and lzop dependency

In reply to Fabio Porcedda
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

Fabio> Fabio Porcedda (3):

 Fabio>   lzop: add host build
 Fabio>   barebox: needs host-lzop
 Fabio>   barebox: add 2013.01.0, remove 2012.09

Committed series, thanks.

Signature · 1 line
Bye, Peter Korsgaard