瀏覽代碼

aumix: fix install rule to target to support multiple projects

This patch will let aumix depend on an installed file on the target root file
system instead of touched file.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt 17 年之前
父節點
當前提交
e410210c08
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      package/audio/aumix/aumix.mk

+ 2 - 3
package/audio/aumix/aumix.mk

@@ -41,11 +41,10 @@ $(AUMIX_DIR)/.configured: $(AUMIX_DIR)/.unpacked
 $(AUMIX_DIR)/src/aumix: $(AUMIX_DIR)/.configured
 	$(MAKE) CC=$(TARGET_CC) -C $(AUMIX_DIR)
 
-$(AUMIX_DIR)/.installed: $(AUMIX_DIR)/src/aumix
+$(TARGET_DIR)/usr/bin/aumix: $(AUMIX_DIR)/src/aumix
 	$(MAKE) -C $(AUMIX_DIR) DESTDIR=$(TARGET_DIR) install
-	touch $@
 
-aumix: uclibc ncurses $(AUMIX_DIR)/.installed
+aumix: uclibc ncurses $(TARGET_DIR)/usr/bin/aumix
 
 aumix-source: $(DL_DIR)/$(AUMIX_SOURCE)