diff mbox

boot/at91bootstrap3: bump to v3.7.1

Message ID 1417623505-5767-1-git-send-email-angelo.compagnucci@gmail.com
State Accepted
Headers show

Commit Message

Angelo Compagnucci Dec. 3, 2014, 4:18 p.m. UTC
The main difference with v3.6.2 is that this patch calls "make defconfig"
before make.
"make defconfig" is called by the Makefile with .config file,
so the original logic isn't changed.
Calling "make defconfig" is required to correctly prepare dependencies file.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
 boot/at91bootstrap3/at91bootstrap3.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni Dec. 7, 2014, 10:02 p.m. UTC | #1
Dear Angelo Compagnucci,

On Wed,  3 Dec 2014 17:18:25 +0100, Angelo Compagnucci wrote:
> The main difference with v3.6.2 is that this patch calls "make defconfig"
> before make.
> "make defconfig" is called by the Makefile with .config file,
> so the original logic isn't changed.
> Calling "make defconfig" is required to correctly prepare dependencies file.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> ---
>  boot/at91bootstrap3/at91bootstrap3.mk | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Thanks, I've applied your patch, but I've changed the logic: instead of
calling this "defconfig" target, I've changed the <pkg>_CONFIGURE_CMDS
step to use 'make <blabla>_defconfig', which is more logical.

Thanks!

Thomas
diff mbox

Patch

diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index bc8d912..bb7e215 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-AT91BOOTSTRAP3_VERSION = v3.6.2
+AT91BOOTSTRAP3_VERSION = v3.7.1
 AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
 
 AT91BOOTSTRAP3_INSTALL_IMAGES = YES
@@ -41,7 +41,8 @@  define AT91BOOTSTRAP3_CONFIGURE_CMDS
 endef
 
 define AT91BOOTSTRAP3_BUILD_CMDS
-	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPTS) -C $(@D) boot
+	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPTS) -C $(@D) defconfig
+	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPTS) -C $(@D)
 endef
 
 define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS