Skip to content
Snippets Groups Projects
Commit d309c4fa authored by Felix Fietkau's avatar Felix Fietkau
Browse files

make hotplug2 use the build system cflags

SVN-Revision: 7720
parent d4f72b61
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ define Package/hotplug2/description ...@@ -29,6 +29,7 @@ define Package/hotplug2/description
Hotplug2 is a trivial replacement of some of the UDev functionality Hotplug2 is a trivial replacement of some of the UDev functionality
in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD. in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD.
endef endef
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
define Package/hotplug2/install define Package/hotplug2/install
$(INSTALL_DIR) $(1)/etc $(INSTALL_DIR) $(1)/etc
......
Index: hotplug2-0.9/common.mak
===================================================================
--- hotplug2-0.9.orig/common.mak 2007-06-25 08:08:59.320226312 +0200
+++ hotplug2-0.9/common.mak 2007-06-25 08:09:03.541584568 +0200
@@ -10,7 +10,7 @@
.PHONY: all clean dep install install-recursive clean-recursive \
dep-recursive all-recursive
-MAKEDEP=-gcc $(CFLAGS) -MM $(wildcard *.c *.cc) > .depend
+MAKEDEP=-$(CC) $(CFLAGS) -MM $(wildcard *.c *.cc) > .depend
dep: dep-recursive
$(MAKEDEP)
.depend:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment