diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2015-06-26 12:03:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-28 15:14:56 +0200 |
commit | 03d5e04dde97ed54893cbb93670cbfdfad6d39c7 (patch) | |
tree | 55d0552512efce8098e92c3b5b5add851f01d41d /package/base-files/Makefile | |
parent | 3962e752d82e9b6e7e41e5ed3a777566212ad02e (diff) |
enable using udev for automatic module loading
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index f25565aa9..84f9a2db1 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -23,6 +23,11 @@ INSTALL_STYLE:= manual do-install: $(CP) ./src/* $(IDIR_BASE_FILES) +ifeq ($(ADK_RUNTIME_DEV_MDEV),y) + $(CP) ./files/rcdev.mdev $(IDIR_BASE_FILES)/etc/init.d/rcdev +else ifeq ($(ADK_RUNTIME_DEV_UDEV),y) + $(CP) ./files/rcdev.udev $(IDIR_BASE_FILES)/etc/init.d/rcdev +endif ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y) @echo "#" > $(IDIR_BASE_FILES)/etc/network/interfaces endif @@ -73,6 +78,7 @@ endif ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab rm -rf $(IDIR_BASE_FILES)/var ln -sf tmp $(IDIR_BASE_FILES)/var + ln -sf var/run $(IDIR_BASE_FILES)/run test -z $(ADK_RUNTIME_SHELL) || \ cat ./files/inittab.shell >> $(IDIR_BASE_FILES)/etc/inittab ifeq ($(ADK_TARGET_WITH_VGA),y) |