procd: make mDNS TXT record parsing more solid
[openwrt/openwrt.git] / package / boot / uboot-omap / Makefile
1 #
2 # Copyright (C) 2012-2013 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:=2021.07
12 PKG_RELEASE:=$(AUTORELEASE)
13
14 PKG_HASH:=312b7eeae44581d1362c3a3f02c28d806647756c82ba8c72241c7cdbe68ba77e
15
16 include $(INCLUDE_DIR)/u-boot.mk
17 include $(INCLUDE_DIR)/package.mk
18
19 define U-Boot/Default
20 BUILD_TARGET:=omap
21 UBOOT_IMAGE:=u-boot.img MLO
22 endef
23
24 define U-Boot/omap4_panda
25 NAME:=Pandaboard
26 BUILD_DEVICES:=ti_omap4-panda
27 endef
28
29 define U-Boot/am335x_evm
30 NAME:=AM335x EVM
31 BUILD_DEVICES:=ti_am335x-evm ti_am335x-bone-black
32 endef
33
34 define U-Boot/omap3_beagle
35 NAME:=BeagleBoard
36 BUILD_DEVICES:=ti_omap3-beagle
37 endef
38
39 UBOOT_TARGETS:=omap4_panda am335x_evm omap3_beagle
40
41 define Build/InstallDev
42 $(foreach device,$(BUILD_DEVICES), \
43 $(INSTALL_DIR) $(STAGING_DIR_IMAGE)/$(device)
44 )
45 $(foreach device,$(BUILD_DEVICES), \
46 $(CP) $(patsubst %,$(PKG_BUILD_DIR)/%,$(UBOOT_IMAGE)) $(STAGING_DIR_IMAGE)/$(device)/
47 )
48 $(foreach device,$(BUILD_DEVICES), \
49 mkimage -C none -A arm -T script -d ./files/boot.scr.txt \
50 $(STAGING_DIR_IMAGE)/$(device)/boot.scr
51 )
52 endef
53
54 $(eval $(call BuildPackage/U-Boot))