Patchwork [01/31] Don't include config-host.mak from inside config.mak

login
register
mail settings
Submitter Juan Quintela
Date Oct. 7, 2009, 12:40 a.m.
Message ID <89248c69a771c1f7b55ded8f9d4ec21a7959f4c7.1254875337.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/35189/
State Accepted
Commit deed3ccfca6bbebeab4f1c6874cb9c2902956328
Headers show

Comments

Juan Quintela - Oct. 7, 2009, 12:40 a.m.
Include it directly in Makefile.target

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target |    1 +
 configure       |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)

Patch

diff --git a/Makefile.target b/Makefile.target
index 1f4518c..9793b03 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -1,5 +1,6 @@ 
 # -*- Mode: makefile -*-

+include ../config-host.mak
 include config.mak
 include $(SRC_PATH)/rules.mak

diff --git a/configure b/configure
index ad04880..ed5d7d6 100755
--- a/configure
+++ b/configure
@@ -2147,8 +2147,6 @@  ln -s $source_path/Makefile.target $target_dir/Makefile

 echo "# Automatically generated by configure - do not modify" > $config_mak

-echo "include ../config-host.mak" >> $config_mak
-
 bflt="no"
 elfload32="no"
 target_nptl="no"