summaryrefslogtreecommitdiffstats
path: root/rules/host-mtd-utils.make
blob: 84b0769c218e868a9088407358d7dd9081586c48 (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
# -*-makefile-*-
#
# Copyright (C) 2003-2008 by Pengutronix e.K., Hildesheim, Germany
#               2009 by Marc Kleine-Budde <mkl@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
#
HOST_PACKAGES-$(PTXCONF_HOST_MTD_UTILS) += host-mtd-utils

#
# Paths and names
#
HOST_MTD_UTILS_DIR	= $(HOST_BUILDDIR)/$(MTD_UTILS)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

# don't use := here
HOST_MTD_UTILS_MAKEVARS	= \
	PREFIX=/ \
	BUILDDIR=$(HOST_MTD_UTILS_DIR) \
	DESTDIR=$(HOST_MTD_UTILS_PKGDIR)

HOST_MTD_UTILS_CFLAGS	:= -fgnu89-inline

# vim: syntax=make