From d06645d8eddce3a22144a9ef8961a8f7599d319e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 10 Feb 2005 03:06:39 +0000 Subject: There is no need to have a separate 'Makefile.in' file in the general case, therefore, combine the toplevel Makefile options such as setting TARGETS into the per-package *.mk file --- toolchain/ccache/ccache.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'toolchain/ccache/ccache.mk') diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk index e2fdd71cc..71dfcde69 100644 --- a/toolchain/ccache/ccache.mk +++ b/toolchain/ccache/ccache.mk @@ -149,3 +149,14 @@ ccache_target-clean: ccache_target-dirclean: rm -rf $(CCACHE_DIR2) +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_CCACHE)),y) +TARGETS+=ccache +endif +ifeq ($(strip $(BR2_PACKAGE_CCACHE_TARGET)),y) +TARGETS+=ccache_target +endif -- cgit v1.2.3