perl: Don't build InstallDev under ARC
authorRosen Penev <rosenp@gmail.com>
Sat, 4 Jan 2020 04:06:40 +0000 (20:06 -0800)
committerRosen Penev <rosenp@gmail.com>
Sat, 4 Jan 2020 04:06:40 +0000 (20:06 -0800)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
lang/perl/Makefile

index 465d5768c46efafc05c7c40dec2f99d2cb56d5c9..d0606a962f9d3b948e2a4ffb7950a16f27fa8da8 100644 (file)
@@ -122,10 +122,12 @@ define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
 endef
 
+ifeq ($(CONFIG_arc),)
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/lib/perl5/$(PERL_VERSION)
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/perl5/$(PERL_VERSION) $(1)/usr/lib/perl5/
 endef
+endif
 
 define Package/perl/install
        $(INSTALL_DIR) $(1)/usr/bin