ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION)
endif
+RHEL_API_VERSION:=$(shell $(MAKEFILEDIR)/abi-rhel-version.sh $(CURDIR))
+
+ifneq ($(RHEL_API_VERSION), 0)
+ ccflags-y += -DRHEL_API_VERSION=$(RHEL_API_VERSION)
+endif
+
RT_PATCH_VERSION:=$(shell $(MAKEFILEDIR)/rt-patch-version.sh $(KERNELDIR))
ifneq ($(RT_PATCH_VERSION), 0)