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:
@@ -41,11 +41,10 @@ $(AUMIX_DIR)/.configured: $(AUMIX_DIR)/.unpacked
|
|||||||
$(AUMIX_DIR)/src/aumix: $(AUMIX_DIR)/.configured
|
$(AUMIX_DIR)/src/aumix: $(AUMIX_DIR)/.configured
|
||||||
$(MAKE) CC=$(TARGET_CC) -C $(AUMIX_DIR)
|
$(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
|
$(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)
|
aumix-source: $(DL_DIR)/$(AUMIX_SOURCE)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user