uboot-mvebu: add missing UBOOT_MAKE_FLAGS variable
[openwrt/openwrt.git] / package / boot / uboot-mvebu / Makefile
1 #
2 # Copyright (C) 2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_VERSION:=2017.03
12 PKG_RELEASE:=1
13
14 PKG_HASH:=f54baf3f9325bf444c7905f3a5b6f83680edb1e6e1a4d5f8a5ad80abe885113f
15
16 include $(INCLUDE_DIR)/u-boot.mk
17 include $(INCLUDE_DIR)/package.mk
18
19 UBOOT_MAKE_FLAGS:=
20
21 define U-Boot/Default
22 BUILD_TARGET:=mvebu
23 HIDDEN:=1
24 endef
25
26 define U-Boot/clearfog
27 NAME:=SolidRun ClearFog A1
28 BUILD_DEVICES:=armada-388-clearfog-base armada-388-clearfog-pro
29 UBOOT_IMAGE:=u-boot-spl.kwb
30 endef
31
32 UBOOT_TARGETS:= \
33 clearfog
34
35 define Build/InstallDev
36 $(INSTALL_DIR) $(STAGING_DIR_IMAGE)
37 $(CP) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-u-boot-spl.kwb
38 endef
39
40 $(eval $(call BuildPackage/U-Boot))