mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-21 17:44:04 +08:00
Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies.
This commit is contained in:
@@ -39,15 +39,17 @@ EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
mini.c
|
||||
|
||||
all:
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
modules_install:
|
||||
mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
|
||||
cp $(srcdir)/ec_mini.ko $(DESTDIR)$(LINUX_MOD_PATH)
|
||||
|
||||
clean-local:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
|
||||
|
||||
install-data-local: modules_install
|
||||
|
||||
modules_install:
|
||||
cp $(srcdir)/ec_mini.ko $(DESTDIR)$(LINUX_MOD_PATH)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user