Edited package files to have u-boot-mkimage as dependency.
Change-Id: I4f52af6272f17365f37ddd38281cec1852a5c4bf
diff --git a/debian/control b/debian/control
index 08dfa3f..ff7ca93 100644
--- a/debian/control
+++ b/debian/control
@@ -1,6 +1,6 @@
Source: linux-mtk
Maintainer: AIY Projects <support-aiyprojects@google.com>
-Build-Depends: debhelper (>= 10), bc, cpio, debhelper, gcc-aarch64-linux-gnu, libssl-dev, python
+Build-Depends: debhelper (>= 10), bc, cpio, debhelper, gcc-aarch64-linux-gnu, libssl-dev, python, gcc-arm-linux-gnueabihf, u-boot-mkimage
Section: misc
Priority: optional
diff --git a/debian/rules b/debian/rules
index efcd3d1..3a65e27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@
KERNEL_OPTIONS := \
ARCH=arm64 \
- CROSS_COMPILDE=aarch64-linux-gnu- \
+ CROSS_COMPILE=aarch64-linux-gnu- \
LOCALVERSION=-aiy
LDFLAGS :=
@@ -27,10 +27,8 @@
true
override_dh_auto_build:
- +make $(KERNEL_OPTIONS) defconfig
- cat debian/defconfig | tee -a .config
- +make $(KERNEL_OPTIONS) olddefconfig
- +make $(KERNEL_OPTIONS) -j$(shell nproc) Image modules dtbs
+ +make ${KERNEL_OPTIONS} mt8167s_excelsior_defconfig
+ +make ${KERNEL_OPTIONS} -j$(shell nproc) Image modules dtbs
override_dh_auto_install:
echo "Built kernel!"