summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/curses/Makefile.inc1
-rw-r--r--payloads/libpayload/drivers/Makefile.inc2
-rw-r--r--payloads/libpayload/drivers/speaker.c (renamed from payloads/libpayload/curses/speaker.c)2
3 files changed, 3 insertions, 2 deletions
diff --git a/payloads/libpayload/curses/Makefile.inc b/payloads/libpayload/curses/Makefile.inc
index 745e38362b..7d5597ceeb 100644
--- a/payloads/libpayload/curses/Makefile.inc
+++ b/payloads/libpayload/curses/Makefile.inc
@@ -29,5 +29,4 @@
TARGETS-$(CONFIG_TINYCURSES) += curses/keyboard.o
TARGETS-$(CONFIG_TINYCURSES) += curses/tinycurses.o
-TARGETS-$(CONFIG_TINYCURSES) += curses/speaker.o
TARGETS-$(CONFIG_TINYCURSES) += curses/colors.o
diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc
index ad6966c9dd..2b4fe0b67f 100644
--- a/payloads/libpayload/drivers/Makefile.inc
+++ b/payloads/libpayload/drivers/Makefile.inc
@@ -27,7 +27,9 @@
## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
+
TARGETS-y += drivers/pci.o
+TARGETS-y += drivers/speaker.o
TARGETS-$(CONFIG_SERIAL_CONSOLE) += drivers/serial.o
TARGETS-$(CONFIG_PC_KEYBOARD) += drivers/keyboard.o
diff --git a/payloads/libpayload/curses/speaker.c b/payloads/libpayload/drivers/speaker.c
index 53cfd586d1..3b3a750318 100644
--- a/payloads/libpayload/curses/speaker.c
+++ b/payloads/libpayload/drivers/speaker.c
@@ -34,7 +34,7 @@
* - Order number: 231244-006
*/
-#include "local.h"
+#include <libpayload.h>
#define I82C54_CONTROL_WORD_REGISTER 0x43 /* Write-only. */