diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2010-10-25 12:57:14 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2010-10-25 12:57:14 +0400 |
commit | f2a757b4e08fef2859dd7fc7bb4798d933e56783 (patch) | |
tree | ac3247e5fe095784f6a600485a9b001c276c2944 /driver | |
parent | 8c0d2ca4709fdbf429b8fd59fcec30f0d266dcde (diff) | |
download | accel-ppp-xebd-f2a757b4e08fef2859dd7fc7bb4798d933e56783.tar.gz accel-ppp-xebd-f2a757b4e08fef2859dd7fc7bb4798d933e56783.zip |
pppd_compat: fixed incorrect array size for environment variables
Diffstat (limited to 'driver')
-rw-r--r-- | driver/CMakeLists.txt | 13 | ||||
-rw-r--r-- | driver/Makefile | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/driver/CMakeLists.txt b/driver/CMakeLists.txt index 1daeb08..844cb5a 100644 --- a/driver/CMakeLists.txt +++ b/driver/CMakeLists.txt @@ -14,5 +14,18 @@ ADD_CUSTOM_TARGET(pptp_drv ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/driver/pptp.ko ) +ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/driver/isg.ko + COMMAND rm -rf ${CMAKE_CURRENT_BINARY_DIR}/driver + COMMAND mkdir ${CMAKE_CURRENT_BINARY_DIR}/driver + COMMAND ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/* ${CMAKE_CURRENT_BINARY_DIR}/driver + COMMAND make -C ${KDIR} M=${CMAKE_CURRENT_BINARY_DIR}/driver modules + DEPENDS isg.c +) + +ADD_CUSTOM_TARGET(isg_drv ALL + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/driver/isg.ko +) + + INSTALL(CODE "EXECUTE_PROCESS(COMMAND make -C ${KDIR} M=${CMAKE_CURRENT_BINARY_DIR}/driver modules_install)") diff --git a/driver/Makefile b/driver/Makefile index 8ccbbed..fafc843 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -1,4 +1,5 @@ obj-m += pptp.o +obj-m += isg.o default: make -C $(KDIR) M=$(PWD) modules |