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))