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/gdb/gdb.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'toolchain/gdb/gdb.mk') diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk index 7c3c8deaa..e8212e93f 100644 --- a/toolchain/gdb/gdb.mk +++ b/toolchain/gdb/gdb.mk @@ -187,3 +187,22 @@ gdbclient-dirclean: +############################################################# +# +# Toplevel Makefile options +# +############################################################# +GDB_VERSION:=$(strip $(subst ",, $(BR2_GDB_VERSION))) +#" + +ifeq ($(strip $(BR2_PACKAGE_GDB)),y) +TARGETS+=gdb_target +endif + +ifeq ($(strip $(BR2_PACKAGE_GDB_SERVER)),y) +TARGETS+=gdbserver +endif + +ifeq ($(strip $(BR2_PACKAGE_GDB_CLIENT)),y) +TARGETS+=gdbclient +endif -- cgit v1.2.3