[rtems-addon-packages commit] RTEMS_Makefiles/*: If the build works do a distclean
Joel Sherril
joel at rtems.org
Wed May 27 21:40:53 UTC 2015
Module: rtems-addon-packages
Branch: master
Commit: ebe13d69ac97d29f236a6446cec61c0af2ddd216
Changeset: http://git.rtems.org/rtems-addon-packages/commit/?id=ebe13d69ac97d29f236a6446cec61c0af2ddd216
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed May 27 14:31:20 2015 -0700
RTEMS_Makefiles/*: If the build works do a distclean
The bit script did this by default if there wasn't a package
specific Makefile.
---
RTEMS_Makefiles/Makefile.avl | 3 +++
RTEMS_Makefiles/Makefile.bfd | 1 +
RTEMS_Makefiles/Makefile.gsl | 1 +
RTEMS_Makefiles/Makefile.ncurses | 1 +
RTEMS_Makefiles/Makefile.ncurses-5.3 | 1 +
RTEMS_Makefiles/Makefile.readline-6.2 | 1 +
6 files changed, 8 insertions(+)
diff --git a/RTEMS_Makefiles/Makefile.avl b/RTEMS_Makefiles/Makefile.avl
index b801392..79308da 100644
--- a/RTEMS_Makefiles/Makefile.avl
+++ b/RTEMS_Makefiles/Makefile.avl
@@ -4,9 +4,12 @@
include ../RTEMS_Makefiles/Makefile.common
all:
+ find . -name "configure" | xargs -e touch
+ find . -name "Makefile.in" | xargs -e touch
./configure \
--prefix=$(exec_prefix) \
--libdir=$(exec_prefix)/$(RTEMS_BSP)/lib \
--includedir=$(exec_prefix)/$(RTEMS_BSP)/lib/include
make
make install
+ make distclean
diff --git a/RTEMS_Makefiles/Makefile.bfd b/RTEMS_Makefiles/Makefile.bfd
index b6b9586..e711af7 100644
--- a/RTEMS_Makefiles/Makefile.bfd
+++ b/RTEMS_Makefiles/Makefile.bfd
@@ -12,3 +12,4 @@ all:
--includedir=$(exec_prefix)/$(RTEMS_BSP)/lib/include
make
make install
+ make distclean
diff --git a/RTEMS_Makefiles/Makefile.gsl b/RTEMS_Makefiles/Makefile.gsl
index 1a995b6..d78b51a 100644
--- a/RTEMS_Makefiles/Makefile.gsl
+++ b/RTEMS_Makefiles/Makefile.gsl
@@ -17,3 +17,4 @@ all:
--disable-shared
make
make install
+ make distclean
diff --git a/RTEMS_Makefiles/Makefile.ncurses b/RTEMS_Makefiles/Makefile.ncurses
index 3df6d38..f08a627 100644
--- a/RTEMS_Makefiles/Makefile.ncurses
+++ b/RTEMS_Makefiles/Makefile.ncurses
@@ -26,3 +26,4 @@ all:
--with-fallbacks="$(TERMINALS)"
make "TERM=xterm" "HOSTCC=gcc" "HOSTCCFLAGS=-I. -I../include" HOSTLDFLAGS=""
make install
+ make distclean
diff --git a/RTEMS_Makefiles/Makefile.ncurses-5.3 b/RTEMS_Makefiles/Makefile.ncurses-5.3
index 24c5428..54aef10 100644
--- a/RTEMS_Makefiles/Makefile.ncurses-5.3
+++ b/RTEMS_Makefiles/Makefile.ncurses-5.3
@@ -28,3 +28,4 @@ all:
--with-fallbacks="$(TERMINALS)"
make "TERM=xterm" "HOSTCC=gcc" "HOSTCCFLAGS=-I. -I../include" HOSTLDFLAGS=""
make install
+ make distclean
diff --git a/RTEMS_Makefiles/Makefile.readline-6.2 b/RTEMS_Makefiles/Makefile.readline-6.2
index a41c3d8..96f9390 100644
--- a/RTEMS_Makefiles/Makefile.readline-6.2
+++ b/RTEMS_Makefiles/Makefile.readline-6.2
@@ -14,3 +14,4 @@ all:
--disable-shared --enable-static
make
make install
+ make distclean
More information about the vc
mailing list