- add sequence-point for toplevel parallel builds: uClibc needs an initial gcc
This commit is contained in:
parent
18d979c780
commit
777a28a85d
@ -47,7 +47,7 @@ $(STAGING_DIR)/lib/libfloat.so $(STAGING_DIR)/lib/libfloat.a: $(LIBFLOAT_DIR)/li
|
||||
(cd $(TARGET_DIR)/lib; ln -snf libfloat.so.1 libfloat.so)
|
||||
(cd $(TARGET_DIR)/usr/lib; ln -snf /lib/libfloat.so libfloat.so)
|
||||
|
||||
libfloat: gcc_initial $(STAGING_DIR)/lib/libfloat.so
|
||||
libfloat: $(gcc_initial) $(STAGING_DIR)/lib/libfloat.so
|
||||
|
||||
libfloat-clean:
|
||||
-$(MAKE) -C $(LIBFLOAT_DIR) clean
|
||||
|
@ -206,10 +206,12 @@ $(GCC_BUILD_DIR1)/.compiled: $(GCC_BUILD_DIR1)/.configured
|
||||
PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) all-gcc
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
|
||||
gcc_initial = $(GCC_BUILD_DIR1)/.installed
|
||||
$(gcc_initial) $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
|
||||
PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc
|
||||
#rm -f $(STAGING_DIR)/bin/gccbug $(STAGING_DIR)/bin/gcov
|
||||
#rm -rf $(STAGING_DIR)/info $(STAGING_DIR)/man $(STAGING_DIR)/share/doc $(STAGING_DIR)/share/locale
|
||||
touch $(gcc_initial)
|
||||
|
||||
gcc_initial: uclibc-configured binutils $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
|
||||
|
||||
|
@ -213,10 +213,12 @@ $(GCC_BUILD_DIR1)/.compiled: $(GCC_BUILD_DIR1)/.configured
|
||||
$(MAKE) -C $(GCC_BUILD_DIR1) all-gcc
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
|
||||
gcc_initial = $(GCC_BUILD_DIR1)/.installed
|
||||
$(gcc_initial) $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
|
||||
PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc
|
||||
#rm -f $(STAGING_DIR)/usr/bin/gccbug $(STAGING_DIR)/usr/bin/gcov
|
||||
#rm -rf $(STAGING_DIR)/usr/info $(STAGING_DIR)/usr/man $(STAGING_DIR)/usr/share/doc $(STAGING_DIR)/usr/share/locale
|
||||
touch $(gcc_initial)
|
||||
|
||||
gcc_initial: uclibc-configured binutils $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
|
||||
|
||||
|
@ -341,7 +341,7 @@ else
|
||||
endif
|
||||
touch $@
|
||||
|
||||
$(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)
|
||||
$(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(gcc_initial) $(LIBFLOAT_TARGET)
|
||||
$(MAKE1) -C $(UCLIBC_DIR) \
|
||||
PREFIX= \
|
||||
DEVEL_PREFIX=/ \
|
||||
@ -382,7 +382,6 @@ ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
|
||||
$(STAGING_DIR)/usr/include/; \
|
||||
fi
|
||||
else
|
||||
|
||||
if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ]; then \
|
||||
cp -pLR $(LINUX_HEADERS_DIR)/include/asm \
|
||||
$(STAGING_DIR)/usr/include/; \
|
||||
|
Loading…
Reference in New Issue
Block a user