All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] ti-tisdk-makefile: Allow the defconfig name to be customized
@ 2015-01-30 22:31 Franklin S. Cooper Jr
  2015-01-30 22:31 ` [PATCH 2/6] busybox: Add mpstat utility which is useful for multicore devices Franklin S. Cooper Jr
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Franklin S. Cooper Jr @ 2015-01-30 22:31 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* Sitara-linux-ti-staging_3.14 used with the AMSDK branding doesn't use the
  tisdk defconfig.
* Therefore,  change the tisdk-makefiles to use the "right" defconfig.
* For other brandings the same tisdk_${MACHINE}_defconfig will be used.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../ti-tisdk-makefile/Makefile_linux               |    2 +-
 .../ti-tisdk-makefile/ti-tisdk-makefile/Rules.make |    3 +++
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb     |    9 ++++++++-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_linux b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_linux
index 07d56b1..145e27c 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_linux
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_linux
@@ -3,7 +3,7 @@ linux: __DTB_DEPEND__
 	@echo =================================
 	@echo     Building the Linux Kernel
 	@echo =================================
-	$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) tisdk_$(PLATFORM)_defconfig
+	$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) $(DEFCONFIG)
 	$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) __KERNEL_BUILD_CMDS__
 	$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
 
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
index b2dbf64..9070781 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
@@ -1,6 +1,9 @@
 #platform
 PLATFORM=__PLATFORM__
 
+#defconfig
+DEFCONFIG=__DEFCONFIG__
+
 #Architecture
 ARCH=__ARCH__
 
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index e371307..ce6e557 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -36,7 +36,7 @@ SRC_URI = "\
     file://Makefile_cryptodev \
 "
 
-PR = "r36"
+PR = "r37"
 
 MAKEFILES_COMMON = "linux \
                     matrix-gui \
@@ -101,6 +101,12 @@ KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
 KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"
 KERNEL_DEVICETREE_dra7xx = "dra7-evm.dtb dra72-evm.dtb am57xx-beagle-x15.dtb"
 
+DEFCONFIG = "tisdk_${MACHINE}_defconfig"
+
+AMSDK_DEFCONFIG = "singlecore-omap2plus_defconfig"
+
+DEFCONFIG := "${@base_conditional('ARAGO_BRAND','core','${DEFCONFIG}','${AMSDK_DEFCONFIG}',d)}"
+
 # This step will stitch together the final Makefile based on the supported
 # make targets.
 do_install () {
@@ -159,6 +165,7 @@ do_install () {
 
     # fixup Rules.make values
     sed -i -e "s/__PLATFORM__/${MACHINE}/" ${D}/Rules.make
+    sed -i -e "s/__DEFCONFIG__/${DEFCONFIG}/" ${D}/Rules.make
     sed -i -e "s/__ARCH__/${PLATFORM_ARCH}/" ${D}/Rules.make
     sed -i -e "s/__TOOLCHAIN_PREFIX__/${TOOLCHAIN_SYS}-/" ${D}/Rules.make
     sed -i -e "s/__UBOOT_MACHINE__/${UBOOT_MACHINE}/" ${D}/Rules.make
-- 
1.7.9.5



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

end of thread, other threads:[~2015-02-02 21:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 22:31 [PATCH 1/6] ti-tisdk-makefile: Allow the defconfig name to be customized Franklin S. Cooper Jr
2015-01-30 22:31 ` [PATCH 2/6] busybox: Add mpstat utility which is useful for multicore devices Franklin S. Cooper Jr
2015-01-30 22:31 ` [PATCH 3/6] sourceipk: Make the # of revisions preserved from shallow clone a variable Franklin S. Cooper Jr
2015-01-30 22:31 ` [PATCH 4/6] sourceipk: Fix issue with git fetch when shallow clone is used Franklin S. Cooper Jr
2015-02-02 21:04   ` Denys Dmytriyenko
2015-02-02 21:09     ` Cooper Jr., Franklin
2015-01-30 22:31 ` [PATCH 5/6] arago-source-ipk: Enable shallow clone for sitara-linux-ti-staging Franklin S. Cooper Jr
2015-01-30 22:31 ` [PATCH 6/6] sitara-linux-ti-staging: Simply package up the sources don't copy the defconfig Franklin S. Cooper Jr
2015-01-31  2:52   ` Denys Dmytriyenko
2015-01-31  3:01     ` Cooper Jr., Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.