Skip to content

Commit

Permalink
one last time
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric committed Aug 10, 2024
1 parent e1d0a9f commit dda3a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwrt/net/mimic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ define KernelPackage/mimic
endef

mimic_kmod_flags := \
ccflags-y="-D_MIMIC_KMOD -std=gnu99" \
KERNEL_DIR="$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
Expand All @@ -57,7 +58,6 @@ export BPF_CFLAGS := \
-D__MIPS$(if $(CONFIG_BIG_ENDIAN),EB,EL)__

define Build/Compile
echo "ccflags-y += -std=gnu99" >> "$(PKG_BUILD_DIR)/kmod/Makefile"
$(MAKE) -C "$(LINUX_DIR)" $(mimic_kmod_flags) modules
$(call Build/Compile/Default,build-cli $(mimic_cli_flags))
endef
Expand Down

0 comments on commit dda3a08

Please sign in to comment.