diff --git a/config_linux.mk b/config_linux.mk index b8359c2..e3c874f 100644 --- a/config_linux.mk +++ b/config_linux.mk @@ -10,7 +10,6 @@ READELF = $(TOOLCHAIN_PREFIX)readelf$(TOOLCHAIN_SUFFIX) NM = $(TOOLCHAIN_PREFIX)nm$(TOOLCHAIN_SUFFIX) -INSTALL = install #environment variables ARCH_CFLAGS = @@ -26,23 +25,14 @@ define CONFIG_TARGETS -.PHONY: install uninstall config_final_target: $(BINDIR)/$(LINK_TARGET) ifeq ($(RELEASE), yes) $(STRIP) --strip-debug --strip-unneeded $(BINDIR)/$(LINK_TARGET) endif -install: $(BINDIR)/$(LINK_TARGET) - $(SUDO) $(INSTALL) -m 0755 -o root $(BINDIR)/$(LINK_TARGET) /usr/bin/$(LINK_TARGET) - @echo - -uninstall: - -$(SUDO) $(RM) -f /usr/bin/$(LINK_TARGET) -endef +config_clean_target: - -define CONFIG_CLEAN_TARGET endef diff --git a/config_linux_lib.mk b/config_linux_lib.mk index b043787..1210a72 100644 --- a/config_linux_lib.mk +++ b/config_linux_lib.mk @@ -10,11 +10,6 @@ READELF = $(TOOLCHAIN_PREFIX)readelf$(TOOLCHAIN_SUFFIX) NM = $(TOOLCHAIN_PREFIX)nm$(TOOLCHAIN_SUFFIX) -INSTALL = install -SUDO = sudo -RM = rm -MKDIR = mkdir - #environment variables ARCH_CFLAGS = OPT_CFLAGS = @@ -27,8 +22,6 @@ define CONFIG_TARGETS -.PHONY: config_final_target install uninstall - config_final_target: $(BINDIR)/$(TARGET).a ifeq ($(RELEASE), yes) $(STRIP) --strip-debug --strip-unneeded $(BINDIR)/$(TARGET).a @@ -36,12 +29,6 @@ config_clean_target: -install: $(BINDIR)/$(TARGET).a - $(SUDO) $(INSTALL) -m 0755 -o root $(BINDIR)/$(TARGET).a /usr/lib/$(TARGET).a - @echo - -uninstall: - -$(SUDO) $(RM) -f /usr/bin/$(TARGET).a endef diff --git a/config_linux_solib.mk b/config_linux_solib.mk index 30cdbda..516ead2 100644 --- a/config_linux_solib.mk +++ b/config_linux_solib.mk @@ -10,11 +10,6 @@ READELF = $(TOOLCHAIN_PREFIX)readelf$(TOOLCHAIN_SUFFIX) NM = $(TOOLCHAIN_PREFIX)nm$(TOOLCHAIN_SUFFIX) -INSTALL = install -SUDO = sudo -RM = rm -MKDIR = mkdir - #environment variables ARCH_CFLAGS = OPT_CFLAGS = @@ -30,8 +25,6 @@ define CONFIG_TARGETS -.PHONY: config_final_target install uninstall - config_final_target: $(BINDIR)/$(LINK_TARGET) ifeq ($(RELEASE), yes) $(STRIP) --strip-debug --strip-unneeded $(BINDIR)/$(LINK_TARGET) @@ -39,12 +32,6 @@ config_clean_target: -install: $(BINDIR)/$(LINK_TARGET) - $(SUDO) $(INSTALL) -m 0755 -o root $(BINDIR)/$(LINK_TARGET) /usr/lib/$(LINK_TARGET) - @echo - -uninstall: - -$(SUDO) $(RM) -f /usr/bin/$(LINK_TARGET) endef