1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2010 by Remy Bohmer <linux@bohmer.net>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_UMKIMAGE) += umkimage
#
# Paths and names
#
UMKIMAGE_VERSION := 2010.03-1
UMKIMAGE := u-boot-mkimage-$(UMKIMAGE_VERSION)
UMKIMAGE_SUFFIX := tar.gz
UMKIMAGE_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(UMKIMAGE).$(UMKIMAGE_SUFFIX)
UMKIMAGE_SOURCE := $(SRCDIR)/$(UMKIMAGE).$(UMKIMAGE_SUFFIX)
UMKIMAGE_DIR := $(BUILDDIR)/$(UMKIMAGE)
UMKIMAGE_LICENSE := GPLv2
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(UMKIMAGE_SOURCE):
@$(call targetinfo)
@$(call get, UMKIMAGE)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
UMKIMAGE_CONF_TOOL := NO
UMKIMAGE_MAKE_OPT := \
$(CROSS_ENV_CFLAGS) \
$(CROSS_ENV_CPPFLAGS) \
$(CROSS_ENV_LDFLAGS) \
$(CROSS_ENV_CC)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/umkimage.targetinstall:
@$(call targetinfo)
@$(call install_init, umkimage)
@$(call install_fixup, umkimage,PACKAGE,umkimage)
@$(call install_fixup, umkimage,PRIORITY,optional)
@$(call install_fixup, umkimage,VERSION,$(UMKIMAGE_VERSION))
@$(call install_fixup, umkimage,SECTION,base)
@$(call install_fixup, umkimage,AUTHOR,"Remy Bohmer <linux@bohmer.net>")
@$(call install_fixup, umkimage,DEPENDS,)
@$(call install_fixup, umkimage,DESCRIPTION,missing)
@$(call install_copy, umkimage, 0, 0, 0755, -, /usr/bin/mkimage)
@$(call install_finish, umkimage)
@$(call touch)
# vim: syntax=make
|