summaryrefslogtreecommitdiffstats
path: root/rules/geckoboot.make
blob: 74c8af53781fa8a4eff48a90213f57cebe9091c2 (plain)
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
# -*-makefile-*-
#
# Copyright (C) 2013 by Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
#
# 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_GECKOBOOT) += geckoboot

#
# Paths and names
#
GECKOBOOT_VERSION	:= 2013.01.0
GECKOBOOT		:= geckoboot-$(GECKOBOOT_VERSION)
GECKOBOOT_DIR		:= $(BUILDDIR)/$(GECKOBOOT)
GECKOBOOT_SUFFIX	:= 
GECKOBOOT_URL		:= file://$(PTXDIST_WORKSPACE)/local_src/$(GECKOBOOT)
GECKOBOOT_LICENSE	:= unknown

GECKOBOOT_CONF_TOOL	:= NO
GECKOBOOT_MAKE_ENV	:= $(CROSS_ENV)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/geckoboot.targetinstall:
	@$(call targetinfo)

	@$(call install_init, geckoboot)
	@$(call install_fixup, geckoboot,PRIORITY,optional)
	@$(call install_fixup, geckoboot,SECTION,base)
	@$(call install_fixup, geckoboot,AUTHOR,"Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>")
	@$(call install_fixup, geckoboot,DESCRIPTION,missing)
	
#	@$(call install_copy, geckoboot, 0, 0, 0755, $(GECKOBOOT_DIR)/foobar, /dev/null)

	@$(call install_finish, geckoboot)

	@install -D -m 644 $(GECKOBOOT_DIR)/geckoboot.bin $(IMAGEDIR)/geckoboot-image

	@$(call touch)