projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gcc: always explicitly link against libstdc++, fixes build errors on some hosts that...
[openwrt.git]
/
toolchain
/
glibc-ports
/
Makefile
diff --git
a/toolchain/glibc-ports/Makefile
b/toolchain/glibc-ports/Makefile
index
d9e5d0d
..
c95709c
100644
(file)
--- a/
toolchain/glibc-ports/Makefile
+++ b/
toolchain/glibc-ports/Makefile
@@
-24,33
+24,28
@@
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PATCH_DIR:=./patches/$(PKG_VERSION)
PATCH_DIR:=./patches/$(PKG_VERSION)
-STAGING_DIR_HOST:=$(TOOLCHAIN_DIR)
-BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
+include $(INCLUDE_DIR)/toolchain-build.mk
-override CONFIG_AUTOREBUILD=
+HOST_STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_built
+HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_installed
-include $(INCLUDE_DIR)/host-build.mk
-
-STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_built
-STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_installed
-
-define Build/Prepare
-$(call Build/Prepare/Default)
+define Host/Prepare
+$(call Host/Prepare/Default)
ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
endef
ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
endef
-define
Build
/Configure
+define
Host
/Configure
endef
endef
-define
Build
/Compile
+define
Host
/Compile
endef
endef
-define
Build
/Install
+define
Host
/Install
endef
endef
-define
Build
/Clean
+define
Host
/Clean
rm -rf \
rm -rf \
- $(
PKG
_BUILD_DIR) \
+ $(
HOST
_BUILD_DIR) \
$(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
endef
$(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
endef
This page took
0.04264 seconds
and
4
git commands to generate.