blob: da2b7ad34dd79344ee08c9483653a221f0f63ef9 [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0
hostprogs-y := genheaders
HOST_EXTRACFLAGS += \
-I$(srctree)/include/uapi -I$(srctree)/include \
-I$(srctree)/security/selinux/include
ifneq ($(shell grep CONFIG_AMLOGIC_ANDROIDP= $(srctree)/.config), )
HOST_EXTRACFLAGS += -DCONFIG_AMLOGIC_ANDROIDP=1
else
ifneq ($(shell grep CONFIG_AMLOGIC_ANDROIDP= $(objtree)/.config), )
HOST_EXTRACFLAGS += -DCONFIG_AMLOGIC_ANDROIDP=1
endif
endif
always := $(hostprogs-y)