diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-01-29 11:55:11 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-01-29 11:55:32 +0100 |
commit | 5aa2e6a5a15333488203ef878f08fe39da8466db (patch) | |
tree | 7c1fe394da0a0a0f9ebe36d52cf2413792f9be3e /mk | |
parent | 093a9a162bda49db238a12e80c170a85089ece35 (diff) | |
download | embtoolkit-5aa2e6a5a15333488203ef878f08fe39da8466db.tar.gz embtoolkit-5aa2e6a5a15333488203ef878f08fe39da8466db.tar.bz2 embtoolkit-5aa2e6a5a15333488203ef878f08fe39da8466db.tar.xz |
Build system: Root FS: really fix strip of binaries
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/rootfs.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk index 9b30cd5..b9d3739 100644 --- a/mk/rootfs.mk +++ b/mk/rootfs.mk @@ -83,6 +83,9 @@ define __embtk_rootfs_stripbins $(call __embtk_rootfs_strip_f,$(bin));)) endef +__embtk_rootfs_strip: + $(__embtk_rootfs_stripbins) + define __embtk_rootfs_mkdevnodes $(call embtk_pinfo,"Populating devices nodes of the rootfs...") $(FAKEROOT_BIN) -s $(FAKEROOT_ENV_FILE) -- $(MAKEDEVS_BIN) \ @@ -128,7 +131,7 @@ define __embtk_rootfs_fill cp -R $(SYSROOT)/root $(ROOTFS)/ $(if $(CONFIG_EMBTK_TARGET_STRIPPED), $(call embtk_pinfo,"Stripping binaries as specified...") - -$(__embtk_rootfs_stripbins)) + $(MAKE) __embtk_rootfs_strip) -$(FAKEROOT_BIN) -i $(FAKEROOT_ENV_FILE) -- \ rm -rf `find $(ROOTFS) -type f -name *.la` endef |