diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-04-02 08:48:58 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-04-02 08:48:58 +0000 |
commit | e17c8b6d7220d7be6b80789bea0c97b09732435f (patch) | |
tree | 188b7ee7e724fba8a958adeabb93428e1f667acd /rules/cross-toolchain.make | |
parent | 985dbb0da3c8999e2977264d4e1d6864faa09f71 (diff) | |
download | OSELAS.Toolchain-e17c8b6d7220d7be6b80789bea0c97b09732435f.tar.gz OSELAS.Toolchain-e17c8b6d7220d7be6b80789bea0c97b09732435f.tar.xz |
* cross-toolchain.make:
don't fail if ptxconfig isn't there
create dir first
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@5906 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/cross-toolchain.make')
-rw-r--r-- | rules/cross-toolchain.make | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/cross-toolchain.make b/rules/cross-toolchain.make index ff12727..d7114ef 100644 --- a/rules/cross-toolchain.make +++ b/rules/cross-toolchain.make @@ -68,13 +68,14 @@ cross-toolchain_install: $(STATEDIR)/cross-toolchain.install $(STATEDIR)/cross-toolchain.install: @$(call targetinfo, $@) - rm -f ${PTXCONF_PREFIX}/bin/ptxconfig + -rm -f ${PTXCONF_PREFIX}/bin/ptxconfig + mkdir -p ${PTXCONF_PREFIX}/bin cat ${PTXDIST_WORKSPACE}/ptxconfig > ${PTXCONF_PREFIX}/bin/ptxconfig # carsten.schlote: Setup a symbolic link to installation dir # FIXME: find better place for this link? -rm state/toolchain-install-dir - ln -s ${PTXCONF_PREFIX} state/toolchain-install-dir + ln -s ${PTXCONF_PREFIX} state/toolchain-install-dir $(call touch, $@) # ---------------------------------------------------------------------------- |