Add armhf support
Change-Id: Iba4c6b1b06395cee42f14a294470b1ea483926b0
diff --git a/debian/control b/debian/control
index e46c3fd..ba731c6 100644
--- a/debian/control
+++ b/debian/control
@@ -1,11 +1,11 @@
Source: uboot-imx
Maintainer: AIY Projects <support-aiyprojects@google.com>
-Build-Depends: bc, debhelper, device-tree-compiler, imx-atf, imx-firmware, imx-mkimage
+Build-Depends: bc, debhelper, device-tree-compiler, gcc-aarch64-linux-gnu, imx-atf, imx-firmware:all, imx-mkimage
Section: misc
Priority: optional
Package: uboot-imx
Section: misc
Priority: required
-Architecture: arm64
+Architecture: arm64 armhf
Description: U-Boot for the AIY Board
diff --git a/debian/rules b/debian/rules
index 7649388..e730cc2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
dh $@
override_dh_auto_build:
- dh_auto_build -- CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm mx8mq_phanbell_defconfig _all
+ make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm mx8mq_phanbell_defconfig _all
objcopy -I binary -O binary --pad-to 0x4000 --gap-fill 0x0 $(IMX_FIRMWARE_DIR)/lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_1d_dmem_pad.bin
objcopy -I binary -O binary --pad-to 0x8000 --gap-fill 0x0 $(IMX_FIRMWARE_DIR)/lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_imem_pad.bin