os: name ahci_drv unambigously (ref #2190)

This commit is contained in:
Stefan Kalkowski 2019-05-03 23:35:45 +02:00 committed by Christian Helmuth
parent d18d2d0d9b
commit 2e68fae2ec
11 changed files with 22 additions and 25 deletions

View File

@ -1,6 +0,0 @@
SRC_CC = platform.cc
INC_DIR += $(REP_DIR)/src/drivers/ahci
vpath platform.cc $(REP_DIR)/src/drivers/ahci/spec/exynos5

View File

@ -1,6 +0,0 @@
SRC_CC = platform.cc
INC_DIR += $(REP_DIR)/src/drivers/ahci
vpath platform.cc $(REP_DIR)/src/drivers/ahci/spec/x86

View File

@ -1,11 +1,2 @@
SRC_DIR = src/drivers/ahci SRC_DIR = src/drivers/ahci
include $(GENODE_DIR)/repos/base/recipes/src/content.inc include $(GENODE_DIR)/repos/base/recipes/src/content.inc
MIRROR_FROM_REP_DIR := lib/mk/spec/x86/ahci_platform.mk \
lib/mk/spec/exynos5/ahci_platform.mk
content: $(MIRROR_FROM_REP_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)

View File

@ -1,3 +1,4 @@
assert_spec x86
set mke2fs [installed_command mke2fs] set mke2fs [installed_command mke2fs]
set dd [installed_command dd] set dd [installed_command dd]

View File

@ -1,3 +1,4 @@
assert_spec x86
set mke2fs [installed_command mke2fs] set mke2fs [installed_command mke2fs]
set dd [installed_command dd] set dd [installed_command dd]

View File

@ -1,3 +1,5 @@
assert_spec x86
set use_linux [have_spec linux] set use_linux [have_spec linux]
# #

View File

@ -0,0 +1,5 @@
TARGET = exynos5_ahci_drv
REQUIRES = arm_v7
INC_DIR = $(call select_from_repositories,include/spec/exynos5)
include $(REP_DIR)/src/drivers/ahci/target.inc

View File

@ -0,0 +1,5 @@
TARGET = ahci_drv
REQUIRES = x86
include $(REP_DIR)/src/drivers/ahci/target.inc

View File

@ -0,0 +1,6 @@
SRC_CC += main.cc ahci.cc platform.cc
INC_DIR += $(REP_DIR)/src/drivers/ahci
LIBS += base
vpath platform.cc $(PRG_DIR)
vpath %.cc $(REP_DIR)/src/drivers/ahci

View File

@ -1,4 +0,0 @@
TARGET = ahci_drv
SRC_CC = main.cc ahci.cc
INC_DIR += $(PRG_DIR)
LIBS += base ahci_platform

View File

@ -1,3 +1,5 @@
assert_spec x86
set genext2fs [installed_command genext2fs] set genext2fs [installed_command genext2fs]
set e2fsck [installed_command e2fsck] set e2fsck [installed_command e2fsck]