add a workaround for fedora sdcc naming changes
authorFelix Fietkau <nbd@openwrt.org>
Thu, 31 Jul 2008 01:54:26 +0000 (01:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 31 Jul 2008 01:54:26 +0000 (01:54 +0000)
SVN-Revision: 12031

utils/firmwarehotplug/Makefile

index fd908ded6d8bfa8f1c15f0ea82d77f3a5f9de7b1..372839206d8ae38935cfd6a1a2e717a82a6dbb41 100644 (file)
@@ -20,6 +20,11 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
+# workaround for fedora sdcc naming changes
+ifneq ($(wildcard /usr/libexec/sdcc),)
+  export PATH:=$(PATH):/usr/libexec
+endif
+
 define Package/firmwarehotplug
   SECTION:=utils
   CATEGORY:=Utilities