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 fd908de..3728392 100644 (file)
@@ -20,6 +20,11 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 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
 define Package/firmwarehotplug
   SECTION:=utils
   CATEGORY:=Utilities