diff mbox

at91bootstrap3 + mc

Message ID 54EA5E83.4040901@mclink.it
State Superseded
Headers show

Commit Message

Mauro Condarelli Feb. 22, 2015, 10:56 p.m. UTC
Real sorry.
I can't use (at the moment) "git send-email" because the VM I use for development flatly refuse to talk with my smarthost.

I'll try to fix this, in the meantime I send "git format-patch" output as attachment from my workstation.
Sorry for the inconvenience.

Mauro
From c361ba38c61d0a3ec0ba8a184f4c7f20a3342eb8 Mon Sep 17 00:00:00 2001
From: Mauro Condarelli <mc5686@mclink.it>
Date: Sun, 22 Feb 2015 18:13:23 +0100
Subject: [PATCH 1/3] Transformation of package 'at91bootstrap3' to KConfig
 style.


Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
---
 boot/at91bootstrap3/at91bootstrap3.mk |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 098e7bf..85a5a8d 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -46,7 +46,18 @@  define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
 	cp $(@D)/binaries/*.bin $(BINARIES_DIR)
 endef
 
-$(eval $(generic-package))
+#MCon start
+ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
+AT91BOOTSTRAP3_KCONFIG_FILE = $(call qstrip,$(AT91BOOTSTRAP3_DEFCONFIG))
+else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
+AT91BOOTSTRAP3_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE))
+endif
+AT91BOOTSTRAP3_KCONFIG_EDITORS = menuconfig xconfig gconfig
+AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS)
+$(eval $(kconfig-package))
+#MCon else
+#$(eval $(generic-package))
+#MCon end
 
 # Checks to give errors that the user can understand
 ifeq ($(filter source,$(MAKECMDGOALS)),)