diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2012-09-13 09:01:52 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2012-09-13 09:01:52 +0000 |
commit | 7851c3eee3b7c84f0ba5c121bc956f025ff2d5c8 (patch) | |
tree | 28e0656064d301972c0eb0c04f64dd2330d2b850 /sys/conf | |
parent | 5b5d76847dada364b873ea35ba002d344628ac70 (diff) | |
download | src-7851c3eee3b7c84f0ba5c121bc956f025ff2d5c8.tar.gz src-7851c3eee3b7c84f0ba5c121bc956f025ff2d5c8.zip |
Allow cxgbe to be built into a kernel with "device cxgbe."
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=240451
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 34 | ||||
-rw-r--r-- | sys/conf/kern.pre.mk | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index adbc79074d3e..569849be4108 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1090,6 +1090,40 @@ dev/cxgbe/t4_l2t.c optional cxgbe pci \ compile-with "${NORMAL_C} -I$S/dev/cxgbe" dev/cxgbe/common/t4_hw.c optional cxgbe pci \ compile-with "${NORMAL_C} -I$S/dev/cxgbe" +t4fw_cfg.c optional cxgbe \ + compile-with "${AWK} -f $S/tools/fw_stub.awk t4fw_cfg.fw:t4fw_cfg t4fw_cfg_uwire.fw:t4fw_cfg_uwire t4fw.fw:t4fw -mt4fw_cfg -c${.TARGET}" \ + no-implicit-rule before-depend local \ + clean "t4fw_cfg.c" +t4fw_cfg.fwo optional cxgbe \ + dependency "t4fw_cfg.fw" \ + compile-with "${NORMAL_FWO}" \ + no-implicit-rule \ + clean "t4fw_cfg.fwo" +t4fw_cfg.fw optional cxgbe \ + dependency "$S/dev/cxgbe/firmware/t4fw_cfg.txt" \ + compile-with "${CP} ${.ALLSRC} ${.TARGET}" \ + no-obj no-implicit-rule \ + clean "t4fw_cfg.fw" +t4fw_cfg_uwire.fwo optional cxgbe \ + dependency "t4fw_cfg_uwire.fw" \ + compile-with "${NORMAL_FWO}" \ + no-implicit-rule \ + clean "t4fw_cfg_uwire.fwo" +t4fw_cfg_uwire.fw optional cxgbe \ + dependency "$S/dev/cxgbe/firmware/t4fw_cfg_uwire.txt" \ + compile-with "${CP} ${.ALLSRC} ${.TARGET}" \ + no-obj no-implicit-rule \ + clean "t4fw_cfg_uwire.fw" +t4fw.fwo optional cxgbe \ + dependency "t4fw.fw" \ + compile-with "${NORMAL_FWO}" \ + no-implicit-rule \ + clean "t4fw.fwo" +t4fw.fw optional cxgbe \ + dependency "$S/dev/cxgbe/firmware/t4fw-1.6.2.0.bin.uu" \ + compile-with "${NORMAL_FW}" \ + no-obj no-implicit-rule \ + clean "t4fw.fw" dev/cy/cy.c optional cy dev/cy/cy_isa.c optional cy isa dev/cy/cy_pci.c optional cy pci diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index 23cb9755394a..b491c7525b0d 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -18,6 +18,7 @@ LDSCRIPT?= $S/conf/${LDSCRIPT_NAME} M= ${MACHINE_CPUARCH} AWK?= awk +CP?= cp LINT?= lint NM?= nm OBJCOPY?= objcopy |