Revision: 6858
http://ipcop.svn.sourceforge.net/ipcop/?rev=6858&view=rev
Author: gespinasse
Date: 2012-11-23 07:05:44 +0000 (Fri, 23 Nov 2012)
Log Message:
-----------
Remove sed -i -e 's/-O2/-Os/g'
This is useless, CC_OPTIMIZE_FOR_SIZE=y is already there for the code running
on the target.
The few lines that don't use -Os (so -O2) are for code running on the host
during compilation only.
Remove the last line that patch something in atm-headers.patch
This is a very old change (from 2.6.20) and nothing different appear in log
when the patch is removed
Tested on 3.4.19, should be the same on 3.0.x
Modified Paths:
--------------
ipcop/trunk/lfs/linux
ipcop/trunk/lfs/linux-headers
Removed Paths:
-------------
ipcop/trunk/src/patches/linux-3.0_atm-headers.patch
Modified: ipcop/trunk/lfs/linux
===================================================================
--- ipcop/trunk/lfs/linux 2012-11-21 21:55:14 UTC (rev 6857)
+++ ipcop/trunk/lfs/linux 2012-11-23 07:05:44 UTC (rev 6858)
@@ -117,9 +117,6 @@
cd $(DIR_APP) && sed -i -e 's/gettext//' scripts/kconfig/lkc.h
- # ATM Header fix
- cd $(DIR_APP) && patch -Np1 -i
$(DIR_PATCHES)/$(THISAPP)_atm-headers.patch
-
# LED Netdev Trigger
#cd $(DIR_APP) && patch -Np1 -i
$(DIR_PATCHES)/$(THISAPP)_ledtrig-netdev.patch
@@ -133,9 +130,7 @@
# Cleanup kernel source
cd $(DIR_APP) && make mrproper
- cd $(DIR_APP) && sed -i -e 's/-O2/-Os/g' Makefile
-
cp $(DIR_SRC)/config/kernel/kernel.config.$(MACHINE) $(DIR_APP)/.config
cd $(DIR_APP) && make oldconfig
cd $(DIR_APP) && make clean
Modified: ipcop/trunk/lfs/linux-headers
===================================================================
--- ipcop/trunk/lfs/linux-headers 2012-11-21 21:55:14 UTC (rev 6857)
+++ ipcop/trunk/lfs/linux-headers 2012-11-23 07:05:44 UTC (rev 6858)
@@ -112,7 +112,6 @@
endif
ifeq "$(STAGE)" "base"
- cd $(DIR_APP) && patch -p1 -i
$(DIR_PATCHES)/linux-3.0_atm-headers.patch
cd $(DIR_APP) && make mrproper
cd $(DIR_APP) && make headers_check
cd $(DIR_APP) && make INSTALL_HDR_PATH=dest headers_install
Deleted: ipcop/trunk/src/patches/linux-3.0_atm-headers.patch
===================================================================
--- ipcop/trunk/src/patches/linux-3.0_atm-headers.patch 2012-11-21 21:55:14 UTC
(rev 6857)
+++ ipcop/trunk/src/patches/linux-3.0_atm-headers.patch 2012-11-23 07:05:44 UTC
(rev 6858)
@@ -1,11 +0,0 @@
-diff -ruN linux-2.6.20.4.bak/include/linux/if_arp.h
linux-2.6.20.4/include/linux/if_arp.h
---- linux-2.6.20.4.bak/include/linux/if_arp.h 2007-03-23 20:52:51.000000000
+0100
-+++ linux-2.6.20.4/include/linux/if_arp.h 2007-04-08 10:42:44.000000000
+0200
-@@ -24,6 +24,7 @@
- #define _LINUX_IF_ARP_H
-
- #include <linux/netdevice.h>
-+#include <linux/types.h>
-
- /* ARP protocol HARDWARE identifiers. */
- #define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn