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>
This commit is contained in:
Hans-Christian Egtvedt 2008-09-18 08:42:56 +00:00
parent aff967f068
commit e410210c08

View File

@ -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)