summaryrefslogtreecommitdiff
path: root/package/targets.mak
diff options
context:
space:
mode:
Diffstat (limited to 'package/targets.mak')
-rw-r--r--package/targets.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/targets.mak b/package/targets.mak
index c076fa3..824fc26 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -49,3 +49,12 @@ withstdinas
LIBEXEC_TARGETS :=
LIB_DEFS := EXECLINE=execline
+
+ifeq ($(PEDANTIC_POSIX),1)
+
+BIN_TARGETS += posix-cd
+
+$(DESTDIR)$(bindir)/cd: $(DESTDIR)$(bindir)/posix-cd
+ exec ./tools/install.sh -l posix-cd $(DESTDIR)$(bindir)/cd
+
+endif