X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c30dde79405b135b38cea530745b66516896b0ea..f66ab6474e8ec7ef0b0db8485b9675ee0bccce5b:/package/foxboard-utils/Makefile?ds=sidebyside diff --git a/package/foxboard-utils/Makefile b/package/foxboard-utils/Makefile index c2ff1d113..6cb997de8 100644 --- a/package/foxboard-utils/Makefile +++ b/package/foxboard-utils/Makefile @@ -24,22 +24,25 @@ define Package/foxboard-utils SECTION:=utils CATEGORY:=Base system TITLE:=Foxboard base tools - DESCRIPTION:=\ - This package contains a collection of tools for configuring the foxboard gpio pins/leds URL:=http://www.acmesystems.it - DEPENDS:=@LINUX_2_6_ETRAX + DEPENDS:=@TARGET_etrax +endef + +define Package/foxboard-utils/description + This package contains a collection of tools for configuring the foxboard + gpio pins/leds. endef define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) CFLAGS=$(TARTGET_CFLAGS) CC=$(TARGET_CC) + $(MAKE) -C $(PKG_BUILD_DIR) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" $(MAKE) -C $(PKG_BUILD_DIR) PREFIX="$(PKG_INSTALL_DIR)" install endef define Package/foxboard-utils/install $(INSTALL_DIR) $(1)/ $(CP) $(PKG_INSTALL_DIR)/* $(1) - mkdir $(1)/www/cgi - cd $(1)/www/cgi; ln -s ../../bin/edit.cgi . + mkdir -p $(1)/www/cgi-bin + cd $(1)/www/cgi-bin; ln -s ../../bin/editcgi.cgi . endef $(eval $(call BuildPackage,foxboard-utils))