host-build.mk used incorrectly
authorMike Baker <mbm@openwrt.org>
Thu, 10 May 2007 07:02:04 +0000 (07:02 +0000)
committerMike Baker <mbm@openwrt.org>
Thu, 10 May 2007 07:02:04 +0000 (07:02 +0000)
SVN-Revision: 7156

tools/firmware-utils/Makefile
tools/mkimage/Makefile
tools/sstrip/Makefile

index e19d63c33d23b897029688b5ac602faedd3f38dd..e8c5f00ceada6aeac664a0f8da203a30e3cce6ba 100644 (file)
@@ -5,11 +5,12 @@
 # See /LICENSE for more information.
 #
 include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/host-build.mk
 
 PKG_NAME := firmware-utils
 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/firmware-utils
 
+include $(INCLUDE_DIR)/host-build.mk
+
 CFLAGS := -O2 -I $(STAGING_DIR)/include-host -include endian.h
 
 define cc
index 89dde5fbb21d1ae4241bea4bc23b5f6e13417755..22e8b484d725566a19ef31d559e49d227b90c844 100644 (file)
@@ -5,11 +5,12 @@
 # See /LICENSE for more information.
 #
 include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/host-build.mk
 
 PKG_NAME:=mkimage
 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage
 
+include $(INCLUDE_DIR)/host-build.mk
+
 define Build/Compile
        $(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o
        $(CC) -O -c src/mkimage.c -o $(PKG_BUILD_DIR)/mkimage.o
index e861a4bfeaa89a8125e2305c181d08ade8e6d2b3..f978eae2647f333f5df9d3e10fc27a30300d6eca 100644 (file)
@@ -5,11 +5,12 @@
 # See /LICENSE for more information.
 #
 include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/host-build.mk
 
 PKG_NAME:=sstrip
 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
 
+include $(INCLUDE_DIR)/host-build.mk
+
 OS:=$(shell uname)
 ifeq ($(HOST_OS),Darwin)
   CFLAGS += -I./include