Changeset 11752 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Aug 28, 2008 11:36:46 AM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r11725 r11752 58 58 OTHERS.linux += \ 59 59 $(PATH_BIN)/src/build_in_tmp \ 60 $(PATH_BIN)/src/Makefile \ 60 61 $(if $(VBOX_OSE),,$(PATH_BIN)/src/dkms.conf) 61 62 endif … … 82 83 83 84 # Scripts needed for building the kernel modules 85 ## @todo generate these else where and move them from OTHERS to vboxmod-bin (which btw installs NOBIN files contrary to its name). 84 86 85 87 $(PATH_BIN)/src/build_in_tmp: \ … … 87 89 $(VBOX_VERSION_STAMP) 88 90 $(call MSG_TOOL,Creating,,$@) 89 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" < $< > $@91 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" --output $@ $< 90 92 $(QUIET)chmod 0755 $@ 91 93 … … 94 96 $(VBOX_VERSION_STAMP) 95 97 $(call MSG_TOOL,Creating,,$@) 96 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" < $< > $@ 97 98 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $< 99 100 $(PATH_BIN)/src/Makefile: \ 101 $(PATH_SUB_CURRENT)/linux/Makefile 102 $(call MSG_TOOL,Creating,,$@) 103 ifdef VBOX_WITH_HARDENING 104 $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $< 105 else 106 $(QUIET)$(CP) -f $< $@ 107 endif 98 108 99 109 # -
trunk/src/VBox/HostDrivers/Support/linux/export_modules
r8155 r11752 29 29 30 30 if [ -z "$1" ]; then 31 echo "Usage: $0 <filename.tar.gz> "31 echo "Usage: $0 <filename.tar.gz> [--without-hardening]" 32 32 echo " Export VirtualBox kernel modules to <filename.tar.gz>" 33 33 exit 1 34 fi 35 36 VBOX_WITH_HARDENING=1 37 if [ "$2" = "--without-hardening" ]; then 38 VBOX_WITH_HARDENING= 34 39 fi 35 40 … … 72 77 chmod 0755 $PATH_TMP/vboxdrv/build_in_tmp 73 78 sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXDRV/linux/dkms.conf > $PATH_TMP/vboxdrv/dkms.conf 79 if [ -n "$VBOX_WITH_HARDENING" ]; then 80 cat $PATH_VBOXDRV/linux/Makefile > $PATH_TMP/vboxdrv/Makefile 81 else 82 sed -e "s;-DVBOX_WITH_HARDENING;;g" < $PATH_VBOXDRV/linux/Makefile > $PATH_TMP/vboxdrv/Makefile 83 fi 74 84 75 85 # Only temporary, omit from archive -
trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
r10377 r11752 60 60 ${PATH_ROOT}/include/VBox/sup.h=>include/VBox/sup.h \ 61 61 ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \ 62 ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/Makefile=>Makefile \63 62 ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c=>linux/SUPDrv-linux.c \ 64 63 ${PATH_ROOT}/src/VBox/HostDrivers/Support/SUPDrv.c=>SUPDrv.c \
Note:
See TracChangeset
for help on using the changeset viewer.