Message ID | 1417623505-5767-1-git-send-email-angelo.compagnucci@gmail.com |
---|---|
State | Accepted |
Headers | show |
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 --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
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(-)