diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-21 16:29:56 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-21 16:29:56 +0000 |
commit | ce5155afa7c466564937ee0e6bde4cbc07e68072 (patch) | |
tree | f37dc52f39bd30c69e99956c3022581bfa760a57 /make/gcc_target.mk | |
parent | aa7f4e37ceac581f6c85893ecfa6463b9aaeb895 (diff) | |
download | buildroot-novena-ce5155afa7c466564937ee0e6bde4cbc07e68072.tar.gz buildroot-novena-ce5155afa7c466564937ee0e6bde4cbc07e68072.zip |
This should work
Diffstat (limited to 'make/gcc_target.mk')
-rw-r--r-- | make/gcc_target.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk index 86a12aaef..dd2e6d7c0 100644 --- a/make/gcc_target.mk +++ b/make/gcc_target.mk @@ -259,7 +259,7 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled gxx_include_dir=$(TARGET_DIR)/usr/include/c++ \ tooldir=$(TARGET_DIR)/usr/$(GNU_TARGET_NAME) \ build_tooldir=$(TARGET_DIR)/usr/$(GNU_TARGET_NAME) \ - -C $(GCC_BUILD_DIR3) install; + -C $(GCC_BUILD_DIR3) install-gcc; (cd $(TARGET_DIR)/usr/bin; ln -fs gcc cc) rm -rf $(TARGET_DIR)/usr/$(GNU_TARGET_NAME)/include rm -rf $(TARGET_DIR)/usr/$(GNU_TARGET_NAME)/sys-include @@ -268,6 +268,9 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled -mv $(TARGET_DIR)/usr/bin/$(GNU_TARGET_NAME)-c++ $(TARGET_DIR)/usr/bin/c++ -mv $(TARGET_DIR)/usr/bin/$(GNU_TARGET_NAME)-g++ $(TARGET_DIR)/usr/bin/g++ -mv $(TARGET_DIR)/usr/bin/$(GNU_TARGET_NAME)-c++filt $(TARGET_DIR)/usr/bin/c++filt + -cp -dpf $(STAGING_DIR)/lib/libgcc* $(TARGET_DIR)/lib/ + cp -a $(STAGING_DIR)/lib/*++* $(TARGET_DIR)/lib/ + cp -a $(STAGING_DIR)/include/c++ $(TARGET_DIR)/include/ -$(STRIP) $(TARGET_DIR)/bin/* -$(STRIP) $(TARGET_DIR)/usr/bin/* rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ |