diff options
author | ru <ru@FreeBSD.org> | 2005-08-03 20:09:59 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-08-03 20:09:59 +0000 |
commit | d89945e379cbe0e015ec09ce1fbdf65043ed3e8b (patch) | |
tree | ce8df3bf1fd0c1d99eba84241796c76cef5d90dd /Makefile.inc1 | |
parent | 7504160c1e1a408af3d9f6b998e6e9ce49dcf158 (diff) | |
download | FreeBSD-src-d89945e379cbe0e015ec09ce1fbdf65043ed3e8b.zip FreeBSD-src-d89945e379cbe0e015ec09ce1fbdf65043ed3e8b.tar.gz |
Make delete-old* and friends useable for cross-builds.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index c040678..2da87a6 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1071,9 +1071,6 @@ RM_I=-v .endif delete-old-files: -.if ${TARGET_ARCH} != ${MACHINE_ARCH} - @echo "You have to run this in a native environment!" && false -.endif @echo ">>> Removing old files (only deletes safe to delete libs)" .for file in ${OLD_FILES} # Ask for every old file if the user really wants to remove it. @@ -1087,18 +1084,12 @@ delete-old-files: @echo ">>> Old files removed" check-old-files: -.if ${TARGET_ARCH} != ${MACHINE_ARCH} - @echo "You have to run this in a native environment!" && false -.endif @echo ">>> Checking for old files" .for file in ${OLD_FILES} @[ ! -f "${DESTDIR}/${file}" ] || echo "${DESTDIR}/${file}" .endfor delete-old-libs: -.if ${TARGET_ARCH} != ${MACHINE_ARCH} - @echo "You have to run this in a native environment!" && false -.endif @echo ">>> Removing old libraries" @echo "${OLD_LIBS_MESSAGE}" | fmt .for file in ${OLD_LIBS} @@ -1111,18 +1102,12 @@ delete-old-libs: @echo ">>> Old libraries removed" check-old-libs: -.if ${TARGET_ARCH} != ${MACHINE_ARCH} - @echo "You have to run this in a native environment!" && false -.endif @echo ">>> Checking for old libraries" .for file in ${OLD_LIBS} @[ ! -f "${DESTDIR}/${file}" ] || echo "${DESTDIR}/${file}" .endfor delete-old-dirs: -.if ${TARGET_ARCH} != ${MACHINE_ARCH} - @echo "You have to run this in a native environment!" && false -.endif @echo ">>> Removing old directories" .for dir in ${OLD_DIRS} # Don't fail if an old directory isn't empty. @@ -1131,9 +1116,6 @@ delete-old-dirs: @echo ">>> Old directories removed" check-old-dirs: -.if ${TARGET_ARCH} != ${MACHINE_ARCH} - @echo "You have to run this in a native environment!" && false -.endif @echo ">>> Checking for old directories" .for dir in ${OLD_DIRS} @[ ! -d "${DESTDIR}/${dir}" ] || echo "${DESTDIR}/${dir}" |