浏览代码

Add 60-kromek-radangel.rules

tags/v0.0.32
Peter Vivell 6 年前
父节点
当前提交
b7e63e134e
共有 2 个文件被更改,包括 3 次插入7 次删除
  1. 2
    7
      Makefile
  2. 1
    0
      config/60-kromek-radangel.rules

+ 2
- 7
Makefile 查看文件

1
 TARGETS := all
1
 TARGETS := all
2
-
3
 #SUBDIRS := $(wildcard */.)
2
 #SUBDIRS := $(wildcard */.)
4
 SUBDIRS = src src/contrib
3
 SUBDIRS = src src/contrib
5
-
6
 SUBDIRGOALS := all
4
 SUBDIRGOALS := all
7
-
8
 SUBDIRSCLEAN=$(addsuffix -clean,$(SUBDIRS))
5
 SUBDIRSCLEAN=$(addsuffix -clean,$(SUBDIRS))
9
 
6
 
10
-
11
-
12
 all: $(SUBDIRS) dist
7
 all: $(SUBDIRS) dist
13
 
8
 
14
 $(TARGETS): $(SUBDIRS)
9
 $(TARGETS): $(SUBDIRS)
32
 	cp -rp html/. dist/var/www/html/gamma/
27
 	cp -rp html/. dist/var/www/html/gamma/
33
 	mkdir -p dist/etc/nginx/sites-available
28
 	mkdir -p dist/etc/nginx/sites-available
34
 	cp -p config/nginx*.conf dist/etc/nginx/sites-available/
29
 	cp -p config/nginx*.conf dist/etc/nginx/sites-available/
30
+	mkdir -p dist/etc/udev/rules.d
31
+        cp -p config/*.rules dist/etc/udev/rules.d/
35
 
32
 
36
 dist-clean:
33
 dist-clean:
37
 	rm -rf dist
34
 	rm -rf dist
39
 clean: $(SUBDIRSCLEAN) dist-clean
36
 clean: $(SUBDIRSCLEAN) dist-clean
40
 
37
 
41
 .PHONY: $(TARGETS) $(SUBDIRS)
38
 .PHONY: $(TARGETS) $(SUBDIRS)
42
-
43
-

+ 1
- 0
config/60-kromek-radangel.rules 查看文件

1
+SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="0100", MODE="0666"

正在加载...
取消
保存