diff options
author | Mike Baker <mbm@openwrt.org> | 2007-05-10 07:02:04 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-05-10 07:02:04 +0000 |
commit | 324c12d220e179e60ea141b42b422b91a184856c (patch) | |
tree | 1edb8f6ea1bbf4b5610f52f00e6fd4744fca2c9b /tools | |
parent | 93f73100fc343d8d4b99dd524a03552016f7c3a1 (diff) | |
download | master-31e0f0ae-324c12d220e179e60ea141b42b422b91a184856c.tar.gz master-31e0f0ae-324c12d220e179e60ea141b42b422b91a184856c.tar.bz2 master-31e0f0ae-324c12d220e179e60ea141b42b422b91a184856c.zip |
host-build.mk used incorrectly
SVN-Revision: 7156
Diffstat (limited to 'tools')
-rw-r--r-- | tools/firmware-utils/Makefile | 3 | ||||
-rw-r--r-- | tools/mkimage/Makefile | 3 | ||||
-rw-r--r-- | tools/sstrip/Makefile | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index e19d63c33d..e8c5f00cea 100644 --- a/tools/firmware-utils/Makefile +++ b/tools/firmware-utils/Makefile @@ -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 diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile index 89dde5fbb2..22e8b484d7 100644 --- a/tools/mkimage/Makefile +++ b/tools/mkimage/Makefile @@ -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 diff --git a/tools/sstrip/Makefile b/tools/sstrip/Makefile index e861a4bfea..f978eae264 100644 --- a/tools/sstrip/Makefile +++ b/tools/sstrip/Makefile @@ -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 |