Author: alexander
Date: 2007-09-22 08:02:12 -0600 (Sat, 22 Sep 2007)
New Revision: 2067
Modified:
trunk/packages/linux/Makefile
trunk/packages/linux/config.x86
trunk/packages/linux/debian-style-headers.sh
trunk/packages/linux64/Makefile
trunk/packages/linux64/config.x86_64
trunk/packages/linux64/debian-style-headers.sh
Log:
Did an obvious simplification of the "cd" commands when installing debian-style
headers.
Enabled the LED subsystem and configured MAC80211 to make use of it.
Modified: trunk/packages/linux/Makefile
===================================================================
--- trunk/packages/linux/Makefile 2007-09-21 05:47:45 UTC (rev 2066)
+++ trunk/packages/linux/Makefile 2007-09-22 14:02:12 UTC (rev 2067)
@@ -109,7 +109,7 @@
cd DESTDIR-modules ; tar zcvf ../../$(DIR8)-kernel-$(VRS).tgz . ;
cd .. ; \
cd DESTDIR-tools ; tar zcvf ../../$(DIR8)-tools.tgz .
rm -rf $(DIR2) $(DIR3) $(DIR4) $(DIR5) $(DIR6) $(DIR7) $(DIR8) $(DIR9)
- cd .. ; ./debian-style-headers.sh $(DIR)
+ ../debian-style-headers.sh
mv *.tgz /drivers
clean:
Modified: trunk/packages/linux/config.x86
===================================================================
--- trunk/packages/linux/config.x86 2007-09-21 05:47:45 UTC (rev 2066)
+++ trunk/packages/linux/config.x86 2007-09-22 14:02:12 UTC (rev 2067)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.22.5
-# Mon Sep 17 18:36:08 2007
+# Sat Sep 22 17:26:17 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
@@ -661,6 +661,7 @@
CONFIG_NL80211=y
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=m
+CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUG is not set
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
@@ -2045,7 +2046,8 @@
#
# LED devices
#
-# CONFIG_NEW_LEDS is not set
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=m
#
# LED drivers
@@ -2054,6 +2056,10 @@
#
# LED Triggers
#
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_TIMER=m
+CONFIG_LEDS_TRIGGER_IDE_DISK=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=m
#
# InfiniBand support
Modified: trunk/packages/linux/debian-style-headers.sh
===================================================================
--- trunk/packages/linux/debian-style-headers.sh 2007-09-21 05:47:45 UTC
(rev 2066)
+++ trunk/packages/linux/debian-style-headers.sh 2007-09-22 14:02:12 UTC
(rev 2067)
@@ -1,7 +1,5 @@
#!/bin/sh
-cd "$1"
-
KVERSION=`grep UTS_RELEASE include/linux/utsrelease.h | cut -d '"' -f 2`
DSTDIR=/usr/src/linux-$KVERSION
Modified: trunk/packages/linux64/Makefile
===================================================================
--- trunk/packages/linux64/Makefile 2007-09-21 05:47:45 UTC (rev 2066)
+++ trunk/packages/linux64/Makefile 2007-09-22 14:02:12 UTC (rev 2067)
@@ -135,7 +135,7 @@
cd DESTDIR-tools ; tar zcvf ../../$(DIR8)-tools.tgz .
cp -v arch/x86_64/boot/bzImage /boot/isolinux/linux
rm -rf $(DIR2) $(DIR3) $(DIR4) $(DIR5) $(DIR6) $(DIR7) $(DIR8) $(DIR9)
- cd .. ; ./debian-style-headers.sh $(DIR)
+ ../debian-style-headers.sh
endif
mv *.tgz /drivers
Modified: trunk/packages/linux64/config.x86_64
===================================================================
--- trunk/packages/linux64/config.x86_64 2007-09-21 05:47:45 UTC (rev
2066)
+++ trunk/packages/linux64/config.x86_64 2007-09-22 14:02:12 UTC (rev
2067)
@@ -601,6 +601,7 @@
CONFIG_NL80211=y
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=m
+CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUG is not set
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
@@ -1851,7 +1852,8 @@
#
# LED devices
#
-# CONFIG_NEW_LEDS is not set
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=m
#
# LED drivers
@@ -1860,6 +1862,10 @@
#
# LED Triggers
#
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_TIMER=m
+CONFIG_LEDS_TRIGGER_IDE_DISK=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=m
#
# InfiniBand support
Modified: trunk/packages/linux64/debian-style-headers.sh
===================================================================
--- trunk/packages/linux64/debian-style-headers.sh 2007-09-21 05:47:45 UTC
(rev 2066)
+++ trunk/packages/linux64/debian-style-headers.sh 2007-09-22 14:02:12 UTC
(rev 2067)
@@ -1,7 +1,5 @@
#!/bin/sh
-cd "$1"
-
KVERSION=`grep UTS_RELEASE include/linux/utsrelease.h | cut -d '"' -f 2`
DSTDIR=/usr/src/linux-$KVERSION
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page