diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-26 13:40:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-26 13:40:40 +0100 |
commit | b44cf2a9ca220035a29b282c98d6367d7cab66c0 (patch) | |
tree | d291b37138c4a81fd7b35ef38778421e3ba77e89 | |
parent | 83687368fdcf0004e377584b3b3e73d4f991e27e (diff) |
another HOSTCC elimination, thx hudson
-rw-r--r-- | tools/adk/Makefile | 16 | ||||
-rw-r--r-- | tools/cpio/Makefile | 6 | ||||
-rw-r--r-- | tools/mkcrypt/Makefile | 6 |
3 files changed, 13 insertions, 15 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile index 638935e5e..e3c9aceed 100644 --- a/tools/adk/Makefile +++ b/tools/adk/Makefile @@ -3,17 +3,15 @@ include $(TOPDIR)/rules.mk -CCANDLD.c= ${HOSTCC} ${HOSTCFLAGS} ${HOSTCPPFLAGS} ${HOSTLDFLAGS} - -${TOOLS_DIR}/depmaker: - ${CCANDLD.c} -Wall -o $@ depmaker.c +install: ${TOOLS_DIR}/depmaker ${TOOLS_DIR}/pkgrebuild ${TOOLS_DIR}/dkgetsz -${TOOLS_DIR}/pkgrebuild: - ${CCANDLD.c} -Wall -o $@ pkgrebuild.c strmap.c +${TOOLS_DIR}/depmaker: depmaker.c + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ depmaker.c -${TOOLS_DIR}/dkgetsz: - ${CCANDLD.c} -Wall -o $@ dkgetsz.c +${TOOLS_DIR}/pkgrebuild: pkgrebuild.c strmap.c + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ pkgrebuild.c strmap.c -install: ${TOOLS_DIR}/depmaker ${TOOLS_DIR}/pkgrebuild ${TOOLS_DIR}/dkgetsz +${TOOLS_DIR}/dkgetsz: dkgetsz.c + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ dkgetsz.c include $(TOPDIR)/mk/tools.mk diff --git a/tools/cpio/Makefile b/tools/cpio/Makefile index a012c43a5..2280b1ffb 100644 --- a/tools/cpio/Makefile +++ b/tools/cpio/Makefile @@ -3,6 +3,8 @@ include $(TOPDIR)/rules.mk +install: ${TOOLS_DIR}/cpio + SRCS+= \ src/ib_open.c \ src/ib_close.c \ @@ -28,8 +30,6 @@ SRCS+= \ src/cpio.c ${TOOLS_DIR}/cpio: ${SRCS} - ${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^ - -install: ${TOOLS_DIR}/cpio + ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -D_GNU_SOURCE -Isrc -o $@ $^ include $(TOPDIR)/mk/tools.mk diff --git a/tools/mkcrypt/Makefile b/tools/mkcrypt/Makefile index 1708f9f13..983d9d423 100644 --- a/tools/mkcrypt/Makefile +++ b/tools/mkcrypt/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk -${TOOLS_DIR}/mkcrypt: - $(HOSTCC) ${HOSTCFLAGS} -o $@ mkcrypt.c - install: ${TOOLS_DIR}/mkcrypt +${TOOLS_DIR}/mkcrypt: + $(CC_FOR_BUILD) ${FLAGS_FOR_BUILD} -o $@ mkcrypt.c + include $(TOPDIR)/mk/tools.mk |