svn commit: trunk/buildroot/package
Author: ninevoltz
Date: 2008-03-07 08:54:45 -0800 (Fri, 07 Mar 2008) New Revision: 21275
Log:
remove .a files from lib directories after install
Modified:
trunk/buildroot/package/Makefile.autotools.in
Changeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================
buildroot/package/Makefile.autotools.in +3 -0
@@ -231,6 +231,9 @@ rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ done) find $(TARGET_DIR) -name '*.la' -delete + find $(TARGET_DIR)/lib -name '*.a' -delete + find $(TARGET_DIR)/usr/lib -name '*.a' -delete + touch $@ $(BUILD_DIR)/%/.stamp_cleaned:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"ninevoltz" == ninevoltz <[email protected]> writes:
Hi,
ninevoltz> find $(TARGET_DIR) -name '*.la' -delete
ninevoltz> + find $(TARGET_DIR)/lib -name '*.a' -delete
ninevoltz> + find $(TARGET_DIR)/usr/lib -name '*.a' -delete
Uhh, what about the _HEADERS targets for development files (.h + .a in TARGET_DIR)?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 17 lines · ninevoltz at uclibc.org
Author: ninevoltz
Date: 2008-03-07 08:54:45 -0800 (Fri, 07 Mar 2008) New Revision: 21275Log:
remove .a files from lib directories after installModified:
trunk/buildroot/package/Makefile.autotools.inChangeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================
buildroot/package/Makefile.autotools.in line 237
Quoted 7 lines
buildroot/package/Makefile.autotools.in +3
-0@@ -231,6 +231,9 @@ rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ done) find $(TARGET_DIR) -name '*.la' -delete + find $(TARGET_DIR)/lib -name '*.a' -delete + find $(TARGET_DIR)/usr/lib -name '*.a' -delete + touch $@
Whoa, I wouldn't assume that all static libraries are unwanted. Individual packages should be adjusted not to install them instead.
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
Quoted 29 lines · Hamish Moffatt
Quoted 17 lines · ninevoltz at uclibc.org
Author: ninevoltz
Date: 2008-03-07 08:54:45 -0800 (Fri, 07 Mar 2008) New Revision: 21275Log:
remove .a files from lib directories after installModified:
trunk/buildroot/package/Makefile.autotools.inChangeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================buildroot/package/Makefile.autotools.in line 237
Quoted 7 lines
buildroot/package/Makefile.autotools.in +3
-0@@ -231,6 +231,9 @@ rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ done) find $(TARGET_DIR) -name '*.la' -delete + find $(TARGET_DIR)/lib -name '*.a' -delete + find $(TARGET_DIR)/usr/lib -name '*.a' -delete + touch $@Whoa, I wouldn't assume that all static libraries are unwanted. Individual packages should be adjusted not to install them instead.
Quoted 1 line
Hamish
More over there is an Nios2 arch in buildroot where only static linking exists AFAIK.
BR,
Ivan
Quoted 30 lines · Ivan Kuten
Quoted 29 lines · Hamish Moffatt
Quoted 17 lines · ninevoltz at uclibc.org
Author: ninevoltz
Date: 2008-03-07 08:54:45 -0800 (Fri, 07 Mar 2008) New Revision: 21275Log:
remove .a files from lib directories after installModified:
trunk/buildroot/package/Makefile.autotools.inChangeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================buildroot/package/Makefile.autotools.in line 237
Quoted 7 lines
buildroot/package/Makefile.autotools.in +3
-0@@ -231,6 +231,9 @@ rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ done) find $(TARGET_DIR) -name '*.la' -delete + find $(TARGET_DIR)/lib -name '*.a' -delete + find $(TARGET_DIR)/usr/lib -name '*.a' -delete + touch $@Whoa, I wouldn't assume that all static libraries are unwanted. Individual packages should be adjusted not to install them instead.
Quoted 3 lines
Quoted 1 line
Hamish
More over there is an Nios2 arch in buildroot where only static linking exists AFAIK.
Although you don't need .a files in $(TARGET_DIR) for that - you only need them for development on the target.
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>