File: conf.mk

package info (click to toggle)
linux 3.16.56-1+deb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 739,780 kB
  • sloc: ansic: 12,238,760; asm: 277,795; perl: 53,071; xml: 47,771; makefile: 30,548; sh: 7,977; python: 6,699; cpp: 5,132; yacc: 4,254; lex: 2,215; awk: 741; pascal: 231; lisp: 218; sed: 30
file content (37 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

AuConfStr = CONFIG_AUFS_FS=${CONFIG_AUFS_FS}

define AuConf
ifdef ${1}
AuConfStr += ${1}=${${1}}
endif
endef

AuConfAll = BRANCH_MAX_127 BRANCH_MAX_511 BRANCH_MAX_1023 BRANCH_MAX_32767 \
	SBILIST \
	HNOTIFY HFSNOTIFY \
	EXPORT INO_T_64 \
	FHSM \
	RDU \
	SHWH \
	BR_RAMFS \
	BR_FUSE POLL \
	BR_HFSPLUS \
	BDEV_LOOP \
	DEBUG MAGIC_SYSRQ
$(foreach i, ${AuConfAll}, \
	$(eval $(call AuConf,CONFIG_AUFS_${i})))

AuConfName = ${obj}/conf.str
${AuConfName}.tmp: FORCE
	@echo ${AuConfStr} | tr ' ' '\n' | sed -e 's/^/"/' -e 's/$$/\\n"/' > $@
${AuConfName}: ${AuConfName}.tmp
	@diff -q $< $@ > /dev/null 2>&1 || { \
	echo '  GEN    ' $@; \
	cp -p $< $@; \
	}
FORCE:
clean-files += ${AuConfName} ${AuConfName}.tmp
${obj}/sysfs.o: ${AuConfName}

-include ${srctree}/${src}/conf_priv.mk