summaryrefslogtreecommitdiff
path: root/mk/rootfs.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-10-04 21:36:34 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-10-04 21:36:34 +0200
commitc244e79c9db5c3a87feb645cf64ec974bf4c63ce (patch)
tree60671debebd42d7b90d1ed41222c2ac0819bfebc /mk/rootfs.mk
parent02bd09eea9470d4817d5e13b6d73d3d34c2c7647 (diff)
downloadembtoolkit-c244e79c9db5c3a87feb645cf64ec974bf4c63ce.tar.gz
embtoolkit-c244e79c9db5c3a87feb645cf64ec974bf4c63ce.tar.bz2
embtoolkit-c244e79c9db5c3a87feb645cf64ec974bf4c63ce.tar.xz
Build system: replace SYSROOT -> embtk_sysroot
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/rootfs.mk')
-rw-r--r--mk/rootfs.mk20
1 files changed, 10 insertions, 10 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index 1676dea..3adeddf 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -119,17 +119,17 @@ define __embtk_rootfs_fill
$(if $(CONFIG_EMBTK_64BITS_FS_COMPAT32),
cd $(ROOTFS); ln -s lib lib64
cd $(ROOTFS)/usr; ln -s lib lib64)
- -cp -d $(SYSROOT)/lib/*.so* $(ROOTFS)/lib/
- -cp -d $(SYSROOT)/usr/lib/*.so* $(ROOTFS)/usr/lib/
+ -cp -d $(embtk_sysroot)/lib/*.so* $(ROOTFS)/lib/
+ -cp -d $(embtk_sysroot)/usr/lib/*.so* $(ROOTFS)/usr/lib/
$(if $(CONFIG_EMBTK_64BITS_FS_COMPAT32),
- -cp -d $(SYSROOT)/lib32/*.so* $(ROOTFS)/lib32/
- -cp -d $(SYSROOT)/usr/lib32/*.so* $(ROOTFS)/usr/lib32/)
- -cp -R $(SYSROOT)/bin/* $(ROOTFS)/bin/ >/dev/null 2>/dev/null
- -cp -R $(SYSROOT)/usr/bin/* $(ROOTFS)/usr/bin/
- -cp -R $(SYSROOT)/sbin/* $(ROOTFS)/sbin/ >/dev/null 2>/dev/null
- -cp -R $(SYSROOT)/usr/sbin/* $(ROOTFS)/usr/sbin/
- -cp -R $(SYSROOT)/etc/* $(ROOTFS)/etc/ >/dev/null 2>/dev/null
- cp -R $(SYSROOT)/root $(ROOTFS)/
+ -cp -d $(embtk_sysroot)/lib32/*.so* $(ROOTFS)/lib32/
+ -cp -d $(embtk_sysroot)/usr/lib32/*.so* $(ROOTFS)/usr/lib32/)
+ -cp -R $(embtk_sysroot)/bin/* $(ROOTFS)/bin/ >/dev/null 2>/dev/null
+ -cp -R $(embtk_sysroot)/usr/bin/* $(ROOTFS)/usr/bin/
+ -cp -R $(embtk_sysroot)/sbin/* $(ROOTFS)/sbin/ >/dev/null 2>/dev/null
+ -cp -R $(embtk_sysroot)/usr/sbin/* $(ROOTFS)/usr/sbin/
+ -cp -R $(embtk_sysroot)/etc/* $(ROOTFS)/etc/ >/dev/null 2>/dev/null
+ cp -R $(embtk_sysroot)/root $(ROOTFS)/
$(if $(CONFIG_EMBTK_TARGET_STRIPPED),
$(call embtk_pinfo,"Stripping binaries as specified...")
$(MAKE) __embtk_rootfs_strip)