summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-22 01:37:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-22 01:37:23 +0000
commitad93127ad25e23ad631bac117730252fedca15b1 (patch)
tree31d529dc1315223793179868ebeeb36e4cc23d4d
parentccf126ea8698690ed998b79749960058f186e6b7 (diff)
downloaduClibc-alpine-ad93127ad25e23ad631bac117730252fedca15b1.tar.bz2
uClibc-alpine-ad93127ad25e23ad631bac117730252fedca15b1.tar.xz
touchup output and move .PHONY to the shared Makerules so all subdirs get it
-rw-r--r--Makefile.in16
-rw-r--r--Makerules11
2 files changed, 10 insertions, 17 deletions
diff --git a/Makefile.in b/Makefile.in
index 7dd1a3c03..74f1799c8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,7 +16,7 @@ include $(top_builddir)Rules.mak
ifeq ($(HAVE_DOT_CONFIG),y)
-all: finished
+all: pregen libs
# In this section, we need .config
-include .config.cmd
@@ -33,11 +33,6 @@ include $(top_srcdir)librt/Makefile.in
include $(top_srcdir)libutil/Makefile.in
include $(top_srcdir)libpthread/Makefile.in
-finished: pregen libs
- $(SECHO)
- $(SECHO) Finally finished compiling ...
- $(SECHO)
-
include/bits/uClibc_config.h: .config
$(RM) -r include/bits
$(INSTALL) -d include/bits
@@ -119,7 +114,7 @@ ifeq ($(UCLIBC_PREGENERATED_LOCALE_DATA),y)
$(MAKE) -C $(top_srcdir)extra/locale pregen
endif
-install: install_runtime install_dev finished2
+install: install_runtime install_dev
RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
@@ -262,11 +257,6 @@ utils:
install_utils: utils
$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils install
-finished2:
- $(SECHO)
- $(SECHO) Finished installing ...
- $(SECHO)
-
else # ifeq ($(HAVE_DOT_CONFIG),y)
all: menuconfig
@@ -363,5 +353,3 @@ dist release:
check:
$(MAKE) -C test
-
-.PHONY: dummy subdirs release dist distclean clean config oldconfig menuconfig utils
diff --git a/Makerules b/Makerules
index 281afe7a3..038222b4c 100644
--- a/Makerules
+++ b/Makerules
@@ -58,7 +58,7 @@ pur_disp_compile.c = echo " "CC $(show_objs)
pur_disp_compile.S = echo " "AS $(show_objs)
pur_disp_compile.m = $(pur_disp_compile.c)
pur_disp_compile-m = echo " "CC-m $(show_objs)
-pur_disp_strip = echo " "STRIP $(STRIP_FLAGS) $@:*
+pur_disp_strip = echo " "STRIP $(STRIP_FLAGS) $@
pur_disp_ar = echo " "AR $(ARFLAGS) $@
pur_disp_ld = echo " "LD $(1)
@@ -141,13 +141,13 @@ endif
$(top_builddir)lib/$(CRT).o: $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/$(CRT).S
$(Q)$(INSTALL) -d $(dir $@)
$(compile.S) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
- @$(disp_strip) $(show_objs)
+ @$(disp_strip)
$(Q)$(STRIPTOOL) -x -R .note -R .comment $@
$(top_builddir)lib/S$(CRT).o: $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/$(CRT).S
$(Q)$(INSTALL) -d $(dir $@)
$(compile.S) $(PIEFLAG) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
- @$(disp_strip) $(show_objs)
+ @$(disp_strip)
$(Q)$(STRIPTOOL) -x -R .note -R .comment $@
CTOR_TARGETS=$(top_builddir)lib/crti.o $(top_builddir)lib/crtn.o
@@ -178,3 +178,8 @@ clean: objclean-y headers_clean-y
objclean-y: $(objclean-y)
headers_clean-y: $(headers_clean-y)
+
+.PHONY: \
+ all check clean distclean test \
+ config dist menuconfig oldconfig release \
+ subdirs utils