cleanup; replace .PHONY with FORCE; disable gdb by default
[openwrt.git] / toolchain / gdb / Makefile
index aa7f126..f122881 100644 (file)
@@ -48,12 +48,12 @@ $(GDB_CLIENT_DIR)/gdb/gdb: $(GDB_CLIENT_DIR)/.configured
 
 $(TARGET_CROSS)gdb: $(GDB_CLIENT_DIR)/gdb/gdb
        install -c $(GDB_CLIENT_DIR)/gdb/gdb $(TARGET_CROSS)gdb
-       ln -fs ../../bin/$(REAL_GNU_TARGET_NAME)-gdb \
-               $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/gdb
+       cd $(STAGING_DIR)/bin && \
+       ln -fs $(TARGET_CROSS)gdb $(GNU_TARGET_NAME)-gdb
 
 source: $(DL_DIR)/$(GDB_SOURCE)
 prepare: $(GDB_DIR)/.patched
 compile: 
 install: $(TARGET_CROSS)gdb
-clean:
-       rm -rf $(GDB_CLIENT_DIR)
+clean: FORCE
+       rm -rf $(GDB_CLIENT_DIR) $(GDB_DIR)
This page took 0.02128 seconds and 4 git commands to generate.