mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
host-build.mk used incorrectly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7156 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -5,11 +5,12 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
|
||||||
|
|
||||||
PKG_NAME := firmware-utils
|
PKG_NAME := firmware-utils
|
||||||
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/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
|
CFLAGS := -O2 -I $(STAGING_DIR)/include-host -include endian.h
|
||||||
|
|
||||||
define cc
|
define cc
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
|
||||||
|
|
||||||
PKG_NAME:=mkimage
|
PKG_NAME:=mkimage
|
||||||
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage
|
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o
|
$(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o
|
||||||
$(CC) -O -c src/mkimage.c -o $(PKG_BUILD_DIR)/mkimage.o
|
$(CC) -O -c src/mkimage.c -o $(PKG_BUILD_DIR)/mkimage.o
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
|
||||||
|
|
||||||
PKG_NAME:=sstrip
|
PKG_NAME:=sstrip
|
||||||
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
|
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
OS:=$(shell uname)
|
OS:=$(shell uname)
|
||||||
ifeq ($(HOST_OS),Darwin)
|
ifeq ($(HOST_OS),Darwin)
|
||||||
CFLAGS += -I./include
|
CFLAGS += -I./include
|
||||||
|
|||||||
Reference in New Issue
Block a user