diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index e67584764ac9461c9b372e9658d919c7611c2c51..d72cc0ce41fdea5a5fa44a230961c5cbab603ca1 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -5,6 +5,7 @@
 # See /LICENSE for more information.
 
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=opkg
 PKG_REV:=215