aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules6
m---------kernel0
-rw-r--r--makefile6
3 files changed, 12 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 4538f40..b17d981 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,9 @@
[submodule "u-boot"]
path = u-boot
url = https://source.denx.de/u-boot/u-boot.git
+ shallow = true
+[submodule "kernel"]
+ path = kernel
+ url = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
+# url = https://github.com/beagleboard/linux
+ shallow = true
diff --git a/kernel b/kernel
new file mode 160000
+Subproject 6764c317b6bb91bd806ef79adf6d9c0e428b191
diff --git a/makefile b/makefile
index d692d93..6b4ce78 100644
--- a/makefile
+++ b/makefile
@@ -31,6 +31,7 @@ container_img: Containerfile
# this list holds the .git files in each submodule folder (add
# $(SUBMODULE_INIT) as prerequisite to require the submodules to exist)
SUBMODULE_INIT += ./u-boot/.git
+SUBMODULE_INIT += ./kernel/.git
$(SUBMODULE_INIT):
$(GIT) submodule init
$(GIT) submodule update
@@ -40,6 +41,11 @@ os_bootloader: $(SUBMODULE_INIT)
$(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C u-boot am335x_evm_config
$(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C u-boot
+.PHONY: os_kernel
+os_kernel:
+ $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C kernel omap2plus_defconfig
+ $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C kernel
+
# sd card block device prefix (assumed partition numbers, see readme.md)
# SDCARD_BD_PREFIX := /dev/sdc
SDCARD_BD_PREFIX := /dev/mmcblk0p