init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[packages.git] / net / netperf / Makefile
index 2f623f1..add3136 100644 (file)
@@ -33,7 +33,7 @@ endef
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
            TARGET_NETPERF_HOME="/etc/netperf.conf" \
-           TARGET_CC=$(TARGET_CROSS)gcc \
+           TARGET_CC="$(TARGET_CROSS)gcc" \
            TARGET_CFLAGS="$(TARGET_CFLAGS)" \
                TARGET_LIBS="" \
                all
@@ -41,7 +41,7 @@ endef
 
 define Package/netperf/install 
        install -d -m0755 $(1)/etc/init.d
-       install -m0755 ./files/netserver.init $(1)/etc/init.d/S51netserver
+       install -m0755 ./files/netserver.init $(1)/etc/init.d/netserver
        install -d -m0755 $(1)/usr/bin
        install -m0755 $(PKG_BUILD_DIR)/netperf $(1)/usr/bin/
        install -m0755 $(PKG_BUILD_DIR)/netserver $(1)/usr/bin/