[PATCH 2/3] defaultenv: move common env to defaultenv/common

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Aug 10 06:47:09 EDT 2011


this will allow later to add custom part depending on option

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 common/Makefile                          |    2 +-
 defaultenv/{ => common}/bin/_update      |    0
 defaultenv/{ => common}/bin/_update_help |    0
 defaultenv/{ => common}/bin/boot         |    0
 defaultenv/{ => common}/bin/hush_hack    |    0
 defaultenv/{ => common}/bin/init         |    0
 defaultenv/{ => common}/bin/update       |    0
 7 files changed, 1 insertions(+), 1 deletions(-)
 rename defaultenv/{ => common}/bin/_update (100%)
 rename defaultenv/{ => common}/bin/_update_help (100%)
 rename defaultenv/{ => common}/bin/boot (100%)
 rename defaultenv/{ => common}/bin/hush_hack (100%)
 rename defaultenv/{ => common}/bin/init (100%)
 rename defaultenv/{ => common}/bin/update (100%)

diff --git a/common/Makefile b/common/Makefile
index 9fed2ae..531000a 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -32,7 +32,7 @@ $(obj)/startup.o: include/generated/barebox_default_env.h
 $(obj)/env.o: include/generated/barebox_default_env.h
 
 ifeq ($(CONFIG_DEFAULT_ENVIRONMENT_GENERIC),y)
-DEFAULT_ENVIRONMENT_PATH = "defaultenv"
+DEFAULT_ENVIRONMENT_PATH = "defaultenv/common"
 endif
 
 ifneq ($(CONFIG_DEFAULT_ENVIRONMENT_PATH),"")
diff --git a/defaultenv/bin/_update b/defaultenv/common/bin/_update
similarity index 100%
rename from defaultenv/bin/_update
rename to defaultenv/common/bin/_update
diff --git a/defaultenv/bin/_update_help b/defaultenv/common/bin/_update_help
similarity index 100%
rename from defaultenv/bin/_update_help
rename to defaultenv/common/bin/_update_help
diff --git a/defaultenv/bin/boot b/defaultenv/common/bin/boot
similarity index 100%
rename from defaultenv/bin/boot
rename to defaultenv/common/bin/boot
diff --git a/defaultenv/bin/hush_hack b/defaultenv/common/bin/hush_hack
similarity index 100%
rename from defaultenv/bin/hush_hack
rename to defaultenv/common/bin/hush_hack
diff --git a/defaultenv/bin/init b/defaultenv/common/bin/init
similarity index 100%
rename from defaultenv/bin/init
rename to defaultenv/common/bin/init
diff --git a/defaultenv/bin/update b/defaultenv/common/bin/update
similarity index 100%
rename from defaultenv/bin/update
rename to defaultenv/common/bin/update
-- 
1.7.5.4




More information about the barebox mailing list