projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
toolchain/binutils: building gas for arm-*-uclibc systems requires linking with -lm
[openwrt.git]
/
tools
/
yaffs2
/
Makefile
diff --git
a/tools/yaffs2/Makefile
b/tools/yaffs2/Makefile
index
37da033
..
344b61a
100644
(file)
--- a/
tools/yaffs2/Makefile
+++ b/
tools/yaffs2/Makefile
@@
-15,22
+15,22
@@
PKG_SOURCE_URL:=git://android.git.kernel.org/platform/external/yaffs2.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_VERSION:=d333fc232d7e5ae3370080d5d6f7d88ea9c6b3a1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_VERSION:=d333fc232d7e5ae3370080d5d6f7d88ea9c6b3a1
-
PKG
_BUILD_DIR=$(BUILD_DIR_HOST)/$(PKG_NAME)
+
HOST
_BUILD_DIR=$(BUILD_DIR_HOST)/$(PKG_NAME)
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/host-build.mk
-define
Build
/Compile
- $(MAKE) -C $(
PKG
_BUILD_DIR)/yaffs2/utils \
+define
Host
/Compile
+ $(MAKE) -C $(
HOST
_BUILD_DIR)/yaffs2/utils \
CFLAGS="$(HOST_CFLAGS) -include endian.h" \
mkyaffs2image
endef
CFLAGS="$(HOST_CFLAGS) -include endian.h" \
mkyaffs2image
endef
-define
Build
/Install
+define
Host
/Install
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
- $(INSTALL_BIN) $(
PKG
_BUILD_DIR)/yaffs2/utils/mkyaffs2image $(STAGING_DIR_HOST)/bin/
+ $(INSTALL_BIN) $(
HOST
_BUILD_DIR)/yaffs2/utils/mkyaffs2image $(STAGING_DIR_HOST)/bin/
endef
endef
-define
Build
/Clean
+define
Host
/Clean
rm -f $(STAGING_DIR_HOST)/bin/mkyaffs2image
endef
rm -f $(STAGING_DIR_HOST)/bin/mkyaffs2image
endef
This page took
0.046649 seconds
and
4
git commands to generate.