scripts/package wizard: clarify the steps after the wizard
authorMarkus Heidelberg <markus.heidelberg@web.de>
Sun, 3 May 2009 11:41:58 +0000 (13:41 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 3 May 2009 20:24:36 +0000 (22:24 +0200)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
scripts/add_new_package.wizard

index 902718da8407c145caed809759a132287a6e3600..4ee02dfb2a18b32245dae56a39be1dd1d8ac4aeb 100755 (executable)
@@ -92,17 +92,29 @@ config BR2_PACKAGE_${NAME_UPPER}
          ${URL}
 EOF
 
-echo "Just add: source \"${CATEGORY_DIR}/${PACKAGE_NAME}/Config.in\""
-echo "to the file ${CATEGORY_DIR}/Config.in in an appropriate"
-echo "location."
+echo
+echo "**** Manual steps to integrate your new package ****"
+echo
+
+echo "Add the following line to ${CATEGORY_DIR}/Config.in"
+echo "in an appropriate location:"
+echo "source \"${CATEGORY_DIR}/${PACKAGE_NAME}/Config.in\""
 
 if [ -n "$SUB_DIR" ]; then
-       echo "Additionally add: source \"${CATEGORY_DIR}/Config.in\""
-       echo "to the file package/Config.in in an appropriate"
-       echo "location."
+       echo
+       echo "Additionally add the following line to package/Config.in"
+       echo "in an appropriate location:"
+       echo "source \"${CATEGORY_DIR}/Config.in\""
+fi
+
+if [ -n "$EXTRA_DEPS" ]; then
+       echo
+       echo "You need to add \"depends on\" and/or \"select\" lines"
+       echo "to ${CATEGORY_DIR}/${PACKAGE_NAME}/Config.in"
+       echo "corresponding to the \"${NAME_UPPER}_DEPENDENCIES\" line"
+       echo "in ${CATEGORY_DIR}/${PACKAGE_NAME}/${PACKAGE_NAME}.mk"
 fi
 
 echo
-echo "You are now ready to build ${PACKAGE_NAME}"
-echo "Just run make menuconfig and select your new"
-echo "package, then run make."
+echo "After that run \"make menuconfig\", select your new package"
+echo "and run \"make\" to build \"${PACKAGE_NAME}\"."