[Buildroot] iproute: fix makefile

Peter Korsgaard jacmet at uclibc.org
Wed Mar 4 20:17:35 UTC 2009


>>>>> "Olaf" == Olaf Rempel <razzor at kopf-tisch.de> writes:

 Olaf> - bump version to 2.6.28
 Olaf> - fix download
 Olaf> - change compile ordering (build tc after ip)
 Olaf> - remove both binaries from target when cleaning up

Thanks, committed as r25529 except for:

 Olaf>  $(TARGET_DIR)/$(IPROUTE2_TARGET_BINARY): $(IPROUTE2_DIR)/$(IPROUTE2_BINARY)
 Olaf> -	install -Dc $(IPROUTE2_DIR)/ip/ip $(TARGET_DIR)/sbin/ip
 Olaf> -	install -Dc $(IPROUTE2_DIR)/$(IPROUTE2_BINARY) $(TARGET_DIR)/$(IPROUTE2_TARGET_BINARY)
 Olaf> +	$(INSTALL) -m 0755 -s $(IPROUTE2_DIR)/ip/ip $(TARGET_DIR)/sbin/ip
 Olaf> +	$(INSTALL) -m 0755 -s $(IPROUTE2_DIR)/$(IPROUTE2_BINARY) $(TARGET_DIR)/$(IPROUTE2_TARGET_BINARY)

install -s doesn't work when cross compiling. Fixed to use a seperate
$(STRIPCMD) invocation.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list