Revision: 5387
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5387&view=rev
Author:   owes
Date:     2011-01-29 09:24:50 +0000 (Sat, 29 Jan 2011)

Log Message:
-----------
non hardened vmlinuz only needed when building floppy images

Modified Paths:
--------------
    ipcop/trunk/lfs/linux

Modified: ipcop/trunk/lfs/linux
===================================================================
--- ipcop/trunk/lfs/linux       2011-01-28 22:00:51 UTC (rev 5386)
+++ ipcop/trunk/lfs/linux       2011-01-29 09:24:50 UTC (rev 5387)
@@ -128,6 +128,7 @@
        cd $(DIR_APP) && make clean
 
 ifeq "$(MACHINE)" "i486"
+ifneq "${SKIP_FLOPPY_IMAGES}" "yes"
        # compile a non hardened vmlinuz for floppy as size is smaller 
unhardened
        # CFLAGS_KERNEL is defined empty on Makefile, LDFLAGS value is not 
defined, only used
        cd $(DIR_APP) && sed -i -e 's/^CFLAGS_KERNEL.*/CFLAGS_KERNEL = -fno-PIE 
-fno-PIC -fno-stack-protector -U_FORTIFY_SOURCE -nopie -norelro -nonow 
-nocombreloc/' Makefile
@@ -136,6 +137,7 @@
        cd $(DIR_APP) && make clean
        # and remove our special hack for normal compilation
        cd $(DIR_APP) && sed -i 's/^CFLAGS_KERNEL.*/CFLAGS_KERNEL       =/' 
Makefile
+endif # neq skip floppy
 
        cd $(DIR_APP) && make -j $(PARALLELISM) all
        cd $(DIR_APP) && cp -f arch/x86/boot/bzImage /boot/vmlinuz-$(KVER)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to