1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 03:41:06 +03:00

make hotplug2 use the build system cflags

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7720 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-06-25 06:30:36 +00:00
parent d3f44b49b3
commit 1b9d91c491
2 changed files with 14 additions and 0 deletions

View File

@ -29,6 +29,7 @@ define Package/hotplug2/description
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.
endef
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
define Package/hotplug2/install
$(INSTALL_DIR) $(1)/etc

View File

@ -0,0 +1,13 @@
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: