summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-05-27 14:31:20 -0700
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-05-27 14:31:20 -0700
commitebe13d69ac97d29f236a6446cec61c0af2ddd216 (patch)
tree8cc5e052f45ac97aab31d8dbdd019f189c36e872
parent629395c3bbbd1ddc8c6b5f4de8e42e7337cf18cb (diff)
downloadrtems-addon-packages-ebe13d69ac97d29f236a6446cec61c0af2ddd216.tar.bz2
RTEMS_Makefiles/*: If the build works do a distclean
The bit script did this by default if there wasn't a package specific Makefile.
-rw-r--r--RTEMS_Makefiles/Makefile.avl3
-rw-r--r--RTEMS_Makefiles/Makefile.bfd1
-rw-r--r--RTEMS_Makefiles/Makefile.gsl1
-rw-r--r--RTEMS_Makefiles/Makefile.ncurses1
-rw-r--r--RTEMS_Makefiles/Makefile.ncurses-5.31
-rw-r--r--RTEMS_Makefiles/Makefile.readline-6.21
6 files changed, 8 insertions, 0 deletions
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