# -*-makefile-*- # # Copyright (C) 2010 by Remy Bohmer # # 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_MD5 := 5e7b4ed03e855a4824317fc4e3917dba 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,PRIORITY,optional) @$(call install_fixup, umkimage,SECTION,base) @$(call install_fixup, umkimage,AUTHOR,"Remy Bohmer ") @$(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