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
This commit is contained in:
@@ -5,3 +5,6 @@ endif
|
||||
|
||||
# FIXME -- this is temporary
|
||||
OPTIMIZE_FOR_CPU=$(ARCH)
|
||||
|
||||
# gcc has a bunch of needed stuff....
|
||||
include toolchain/gcc/Makefile.in
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
|
||||
@@ -132,3 +132,9 @@ binutils_target-clean:
|
||||
|
||||
binutils_target-dirclean:
|
||||
rm -rf $(BINUTILS_DIR2)
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
ifeq ($(strip $(BR2_CCACHE)),y)
|
||||
TARGETS+=ccache
|
||||
endif
|
||||
ifeq ($(strip $(BR2_PACKAGE_CCACHE_TARGET)),y)
|
||||
TARGETS+=ccache_target
|
||||
endif
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# gcc has a bunch of options that need to be shared with
|
||||
# both gcc-uclibc-2.95.mk and gcc-uclibc-3.x.mk, and are
|
||||
# use by other packages... So include them in this file
|
||||
# and arrange to include it soon after invoking make from
|
||||
# the top level.
|
||||
|
||||
GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
|
||||
#"
|
||||
GCC_USE_SJLJ_EXCEPTIONS:=$(strip $(subst ",, $(BR2_GCC_USE_SJLJ_EXCEPTIONS)))
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
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
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
|
||||
#"
|
||||
|
||||
@@ -143,3 +143,11 @@ kernel-headers-dirclean:
|
||||
rm -rf $(LINUX_HEADERS_DIR)
|
||||
|
||||
endif
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
|
||||
#"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user