Commit e410210c authored by Hans-Christian Egtvedt's avatar Hans-Christian Egtvedt
Browse files

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: default avatarHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
parent aff967f0
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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)