host-build.mk used incorrectly

SVN-Revision: 7156
This commit is contained in:
Mike Baker 2007-05-10 07:02:04 +00:00
parent 93f73100fc
commit 324c12d220
3 changed files with 6 additions and 3 deletions

View 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

View 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

View 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