summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-07-23 14:07:45 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-08-02 07:48:14 +0200
commitc899bb3462e60c3956104e5655dbf5a0b27deb7d (patch)
treef10ebff9fa8e595d007a6dcfe707d901df1bb0ba
parent8c712d33dd463e7022659b7c9a084cd8ef34fb27 (diff)
downloadptxdist-c899bb3462e60c3956104e5655dbf5a0b27deb7d.tar.gz
ptxdist-c899bb3462e60c3956104e5655dbf5a0b27deb7d.tar.xz
[ptxd_make_world_extract] get rid of cmd line option -p
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/post/ptxd_make_world_extract.make1
-rw-r--r--scripts/lib/ptxd_make_world_extract.sh6
2 files changed, 1 insertions, 6 deletions
diff --git a/rules/post/ptxd_make_world_extract.make b/rules/post/ptxd_make_world_extract.make
index 025b4fe58..d49e64dcf 100644
--- a/rules/post/ptxd_make_world_extract.make
+++ b/rules/post/ptxd_make_world_extract.make
@@ -21,7 +21,6 @@
extract = \
$(call world/env, $(1)) \
ptxd_make_extract \
- -p "$($(strip $(1))_DIR)" \
-d "$(strip $(2))"
diff --git a/scripts/lib/ptxd_make_world_extract.sh b/scripts/lib/ptxd_make_world_extract.sh
index 97586fc27..2608a4c2a 100644
--- a/scripts/lib/ptxd_make_world_extract.sh
+++ b/scripts/lib/ptxd_make_world_extract.sh
@@ -9,7 +9,6 @@
#
# -d DEST
-# -p PACKET_DIR
#
ptxd_make_extract() {
ptxd_make_world_init || return
@@ -20,9 +19,6 @@ ptxd_make_extract() {
while getopts "s:p:u:d:" opt; do
case "${opt}" in
- p)
- local packet_dir="${OPTARG}"
- ;;
d)
local dest="${OPTARG}"
;;
@@ -42,7 +38,7 @@ ptxd_make_extract() {
fi
if [ -d "${thing}" ]; then
echo "local directory instead of tar file, linking build dir"
- ln -sf "$(ptxd_abspath "${thing}")" "${packet_dir}"
+ ln -sf "$(ptxd_abspath "${thing}")" "${pkg_dir}"
return
elif [ -f "${thing}" ]; then
echo