[x86] add net5501 support
[openwrt.git] / package / opkg / patches / 004-host_cpu.patch
1 --- a/libbb/Makefile.am
2 +++ b/libbb/Makefile.am
3 @@ -1,6 +1,6 @@
4 HOST_CPU=@host_cpu@
5 BUILD_CPU=@build_cpu@
6 -ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@
7 +ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@
8
9 noinst_LTLIBRARIES = libbb.la
10
11 --- a/libopkg/Makefile.am
12 +++ b/libopkg/Makefile.am
13 @@ -1,5 +1,5 @@
14 -
15 -AM_CFLAGS=-Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DOPKGLOCKFILE=\"@opkglockfile@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
16 +HOST_CPU=@host_cpu@
17 +AM_CFLAGS=-Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DOPKGLOCKFILE=\"@opkglockfile@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
18
19 libopkg_includedir=$(includedir)/libopkg
20 libopkg_include_HEADERS= *.h
This page took 0.050308 seconds and 5 git commands to generate.