# -*-makefile-*- # $Id: template 6655 2007-01-02 12:55:21Z rsc $ # # Copyright (C) 2007 by Sascha Hauer # # 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_DTC) += dtc # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(STATEDIR)/dtc.get: @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- $(STATEDIR)/dtc.extract: @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- $(STATEDIR)/dtc.prepare: @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- $(STATEDIR)/dtc.compile: @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- $(STATEDIR)/dtc.install: @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/dtc.targetinstall: @$(call targetinfo) $(PTXCONF_SYSROOT_HOST)/bin/dtc $(call remove_quotes,$(PTXCONF_DTC_EXTRA_ARGS)) -I dts -O dtb -o $(IMAGEDIR)/oftree $(PTXCONF_DTC_OFTREE_DTS) @$(call touch) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- dtc_clean: rm -rf $(STATEDIR)/dtc.* rm -rf $(PKGDIR)/dtc_* rm -rf $(DTC_DIR) # vim: syntax=make