Changeset 77399 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile
- Timestamp:
- Feb 20, 2019 6:23:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile
r77398 r77399 32 32 include $(obj)/Makefile-header.gmk 33 33 34 MOD_NAME = vboxguest 35 36 MOD_OBJS = \ 34 VBOXMOD_NAME = vboxguest 35 VBOXMOD_OBJS = \ 37 36 VBoxGuest-linux.o \ 38 37 VBoxGuest.o \ … … 118 117 VBox/logbackdoor.o 119 118 ifeq ($(BUILD_TARGET_ARCH),x86) 120 MOD_OBJS += \119 VBOXMOD_OBJS += \ 121 120 common/math/gcc/divdi3.o \ 122 121 common/math/gcc/moddi3.o \ … … 127 126 endif 128 127 ifeq ($(BUILD_TARGET_ARCH),amd64) 129 MOD_OBJS += common/alloc/heapsimple.o128 VBOXMOD_OBJS += common/alloc/heapsimple.o 130 129 endif 131 130 132 MOD_DEFS = \131 VBOXMOD_DEFS = \ 133 132 VBOX \ 134 133 RT_OS_LINUX \ … … 142 141 VBOX_WITH_HGCM 143 142 ifeq ($(BUILD_TARGET_ARCH),amd64) 144 MOD_DEFS += VBOX_WITH_64_BITS_GUESTS143 VBOXMOD_DEFS += VBOX_WITH_64_BITS_GUESTS 145 144 endif 146 145 ifeq ($(KERN_VERSION),24) 147 MOD_DEFS += EXPORT_SYMTAB146 VBOXMOD_DEFS += EXPORT_SYMTAB 148 147 endif 149 148 150 MOD_INCL = -I$(VBOXGUEST_DIR) -I$(VBOXGUEST_DIR)include -I$(VBOXGUEST_DIR)r0drv/linux149 VBOXMOD_INCL = -I$(VBOXGUEST_DIR) -I$(VBOXGUEST_DIR)include -I$(VBOXGUEST_DIR)r0drv/linux 151 150 152 151 ifeq ($(KERN_VERSION),24) 153 MOD_CFLAGS =152 VBOXMOD_CFLAGS = 154 153 else 155 MOD_CFLAGS = -Wno-declaration-after-statement -include $(VBOXGUEST_DIR)include/VBox/VBoxGuestMangling.h -fno-pie154 VBOXMOD_CFLAGS = -Wno-declaration-after-statement -include $(VBOXGUEST_DIR)include/VBox/VBoxGuestMangling.h -fno-pie 156 155 endif 157 156 158 MOD_CLEAN = . linux r0drv generic r0drv/linux r0drv/generic VBox \ 159 common/alloc common/err common/log common/math/gcc common/misc \ 160 common/string common/table common/time 157 VBOXMOD_CLEAN = \ 158 . \ 159 linux \ 160 r0drv \ 161 generic \ 162 r0drv/linux \ 163 r0drv/generic \ 164 VBox \ 165 common/alloc \ 166 common/err \ 167 common/log \ 168 common/math/gcc \ 169 common/misc \ 170 common/string \ 171 common/table \ 172 common/time 161 173 162 174 include $(obj)/Makefile-footer.gmk 163 175 164 check: $( MOD_NAME)176 check: $(VBOXMOD_NAME) 165 177 @if ! readelf -p __ksymtab_strings vboxguest.ko | grep -E "\[.*\] *(RT|g_..*RT.*)"; then \ 166 178 echo "All exported IPRT symbols are properly renamed!"; \
Note:
See TracChangeset
for help on using the changeset viewer.