mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-04 04:54:18 +00:00
don't compile libipkg in busybox if ipkg is disabled
SVN-Revision: 3901
This commit is contained in:
parent
3f3deee507
commit
33a39bc348
@ -203,16 +203,16 @@ diff -ruN busybox-1.1.2-orig/archival/libipkg/Makefile.in busybox-1.1.2+ipkg-0.9
|
|||||||
+ str_util.c \
|
+ str_util.c \
|
||||||
+ xsystem.c \
|
+ xsystem.c \
|
||||||
+
|
+
|
||||||
+LIBIPKG-y += $(LIBIPKG_CORE_SOURCES)
|
+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_CORE_SOURCES)
|
||||||
+LIBIPKG-y += $(LIBIPKG_CMD_SOURCES)
|
+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_CMD_SOURCES)
|
||||||
+LIBIPKG-y += $(LIBIPKG_DB_SOURCES)
|
+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_DB_SOURCES)
|
||||||
+LIBIPKG-y += $(LIBIPKG_LIST_SOURCES)
|
+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_LIST_SOURCES)
|
||||||
+LIBIPKG-y += $(LIBIPKG_UTIL_SOURCES)
|
+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_UTIL_SOURCES)
|
||||||
+LIBIPKG_OBJS=$(patsubst %.c,$(LIBIPKG_DIR)%.o, $(LIBIPKG-y))
|
+LIBIPKG_OBJS=$(patsubst %.c,$(LIBIPKG_DIR)%.o, $(LIBIPKG-y))
|
||||||
+
|
+
|
||||||
+CFLAGS += -DIPKG_LIB -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(TARGET_ARCH)\""
|
+CFLAGS += -DIPKG_LIB -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(TARGET_ARCH)\""
|
||||||
+
|
+
|
||||||
+libraries-y += $(LIBIPKG_DIR)$(LIBIPKG_AR)
|
+libraries-$(CONFIG_IPKG) += $(LIBIPKG_DIR)$(LIBIPKG_AR)
|
||||||
+
|
+
|
||||||
+$(LIBIPKG_DIR)$(LIBIPKG_AR): $(LIBIPKG_OBJS)
|
+$(LIBIPKG_DIR)$(LIBIPKG_AR): $(LIBIPKG_OBJS)
|
||||||
+ $(do_ar)
|
+ $(do_ar)
|
||||||
|
Loading…
Reference in New Issue
Block a user