2 # Copyright (C) 2016 Ben Whitten <ben.whitten@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_HASH:=87d02275615aaf0cd007b54cbe9fbadceef2bee7c79e6c323ea1ae8956dcb171
15 include $(INCLUDE_DIR)/u-boot.mk
16 include $(INCLUDE_DIR)/package.mk
20 UBOOT_IMAGE:=u-boot.bin boot.bin
23 define U-Boot/at91sam9m10g45ek_nandflash
24 NAME:=AT91SAM9M10G45-EK board (NandFlash)
25 BUILD_SUBTARGET:=legacy
28 define U-Boot/at91sam9x5ek_nandflash
29 NAME:=AT91SAM9X5-EK board (NandFlash)
30 BUILD_SUBTARGET:=legacy
34 at91sam9m10g45ek_nandflash \
35 at91sam9x5ek_nandflash
38 +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
39 CROSS_COMPILE=$(TARGET_CROSS) \
40 KCFLAGS="$(filter-out -fstack-protector, $(TARGET_CFLAGS))"
43 $(eval $(call BuildPackage/U-Boot))