ifeq ($(HAVE_DOT_CONFIG),y)
-all: finished
+all: pregen libs
# In this section, we need .config
-include .config.cmd
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
$(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)
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
check:
$(MAKE) -C test
-
-.PHONY: dummy subdirs release dist distclean clean config oldconfig menuconfig utils
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)
$(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
objclean-y: $(objclean-y)
headers_clean-y: $(headers_clean-y)
+
+.PHONY: \
+ all check clean distclean test \
+ config dist menuconfig oldconfig release \
+ subdirs utils